next up previous contents index
Next: Function binary_search Up: Module linearalgebra_module Previous: Function cubic_interpolate   Contents   Index

Function is_in_array


\begin{boxedminipage}{\textwidth}
\begin{verbatim}i = is_in_array(this,val)\end{verbatim}
\end{boxedminipage}

Test if a given integer val is in an integer array array.

this -- integer, intent(in), dimension(:)

val -- integer, intent(in)

Return value -- logical

binary_search function

gabor 2009-06-30