next up previous contents index
Next: Interface sign Up: Module linearalgebra_module Previous: Interface Matrix_Solve   Contents   Index

Interface find


\begin{boxedminipage}{\textwidth}
\begin{verbatim}f1 = find(mask)\end{verbatim}
\end{boxedminipage}

Collect the indices corresponding to .true. elements of a mask can be used to index other arrays, e.g. array(find(mask))

mask -- logical, dimension(:)

Return value -- integer, dimension(count(mask))
sign interface

gabor 2009-06-30