> can someone tell me why the maxloc() function doesn't take logical arrays,
> only real or integer? I've already written my own version (using do loops),
> but am curious why it doesn't already exist seeing it should be easier than
> for real and integer.
If you think .true. > .false., use any(). If you think .false. > .true.,
use all()
--
Van Snyder | What fraction of Americans believe
[log in to unmask] | Wrestling is real and NASA is fake?
Any alleged opinions are my own and have not been approved or disapproved
by JPL, CalTech, NASA, Sean O'Keefe, George Bush, the Pope, or anybody else.
|