[Numpy-discussion] simple question

Mathew Yeates myeates at jpl.nasa.gov
Wed Jul 5 20:37:32 EDT 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