[Numpy-discussion] simple question

Mathew Yeates myeates at jpl.nasa.gov
Wed Jul 5 19:37:32 CDT 2006


What is the typical way of doing the following
starting with a 0 matrix, set all values to 1 when a certain condition 
is met, set to -1 when another condition is met, left alone if neither 
condition is met.

Mathew





More information about the Numpy-discussion mailing list