Welcome to the Harris Geospatial product documentation center. Here you will find reference guides, help documents, and product libraries.


Harris Geospatial / Docs Center / Libraries / Daithi / DIMENSION

DIMENSION

DIMENSION

Name


DIMENSION

Purpose


This function returns the dimension of an array. It returns 0
if the input variable is scalar.

Category


Array

Calling Sequence


Result = DIMENSION( Inarray )

Inputs


Inarray: A scalar or array of any type.

Outputs


Result: The dimension of Inarray. Returns 0 if scalar.

Procedure


This function runs the IDL function SIZE.

Example


Define a 3*4-element array.
x = findgen(3,4)
Calculate the dimension of x.
result = dimension( x )

Modification History


  Written by: Daithi A. Stone, 2000-07-05.



© 2017 Exelis Visual Information Solutions, Inc. |  Legal
My Account    |    Buy    |    Contact Us