COMPUTE LOCATION
Keywords: sic

Next: COMPUTE RANKORDER Up: COMPUTE Previous: COMPUTE LINES Contents Index

###
COMPUTE LOCATION

            [SIC\]COMPUTE OutVar LOCATION InVar Value

        Search for Value in the array InVar, and puts in OutVar  the  2  nearest
        indices  of  InVar for which its values surrounds Value. These variables
        have some requirements:
          - InVar  must be a 1D-array of REAL or DOUBLE values,
          - Value  must be scalar numeric,
          - OutVar must be a 1D-array of 2 INTEGER values.
        InVar is also intended to be ordered (ascending or descending), or  else
        the result is unpredictable. Use SIC\SORT to sort arrays.