> interesting language with which to approach some kinds of tasks.
>
> I've found that there's a natural to way to do things like clipping
> values of a list using the <:= style operators.
>
> For example, you can set all the negative elements of a list to 0:
>
> every !list <:= 0

is there way to do a Fortran 90 thing like:

WHERE (array /=0.0)
  array=1.0/array
ELSEWHERE
  array=1.0
END WHERE

this is called masked array assignment.





Federico Balbi
Division of Computer Science
University of Texas at San Antonio
6900 N. Loop 1604 West
San Antonio, TX 78249-0667

[EMAIL PROTECTED]
http://www.cs.utsa.edu/~fbalbi



-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
Unicon-group mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/unicon-group

Reply via email to