March 2003
Intermediate to advanced
656 pages
39h 30m
English
where
where(condition,x,y)
Returns an array w with the same shape as
condition. Where an element of
condition is true, the corresponding
element of w is the corresponding element
of x; otherwise it is the corresponding
element of y. For example,
clip(
a,min,max
)
is the same as
where(greater(
a,max
),max
,where(greater(
a,min
),a,min
)).