LBOUND(3I) Last changed: 1-6-98
LBOUND - Returns all the lower bounds or a specified lower bound of an
array
LBOUND ([ARRAY=]array [,[DIM=]dim])
UNICOS, UNICOS/mk, and IRIX systems
Fortran 90
The LBOUND intrinsic function returns all the lower bounds or a
specified lower bound of an array. It accepts the following
arguments:
array May be of any type. It must not be scalar. It must not be
a pointer that is disassociated or an allocatable array that
is not allocated.
dim Must be scalar and of type integer with a value in the range
1 <= dim <= n, where n is the rank of array. The
corresponding actual argument must not be an optional dummy
argument.
LBOUND is an inquiry function. The name of this intrinsic cannot be
passed as an argument.
The result is of type default integer. It is scalar if dim is
present; otherwise, the result is an array of rank 1 and size n, where
n is the rank of array.
For an array section or for an array expression, other than a whole
array or array structure component, LBOUND (array, dim) has the value
1; otherwise, it has a value equal to the lower bound for subscript
dim of array if dimension dim of array does not have size 0 and has
the value 1 if dimension dim has size 0.
LBOUND (array) has a value whose ith component is equal to LBOUND
(array, i), for i = 1, 2, ..., n, where n is the rank of array.
If A is declared by the statement REAL A(2:3, 7:10), LBOUND(A) is
[2,7] and LBOUND(A,DIM=2) is 7.
Intrinsic Procedures Reference Manual, publication SR-2138, for the
printed version of this man page.
LBOUND(3I) Last changed: 1-6-98
LBOUND - Returns all the lower bounds or a specified lower bound of an
array
LBOUND ([ARRAY=]array [,[DIM=]dim])
UNICOS, UNICOS/mk, and IRIX systems
Fortran 90
The LBOUND intrinsic function returns all the lower bounds or a
specified lower bound of an array. It accepts the following
arguments:
array May be of any type. It must not be scalar. It must not be
a pointer that is disassociated or an allocatable array that
is not allocated.
dim Must be scalar and of type integer with a value in the range
1 <= dim <= n, where n is the rank of array. The
corresponding actual argument must not be an optional dummy
argument.
LBOUND is an inquiry function. The name of this intrinsic cannot be
passed as an argument.
The result is of type default integer. It is scalar if dim is
present; otherwise, the result is an array of rank 1 and size n, where
n is the rank of array.
For an array section or for an array expression, other than a whole
array or array structure component, LBOUND (array, dim) has the value
1; otherwise, it has a value equal to the lower bound for subscript
dim of array if dimension dim of array does not have size 0 and has
the value 1 if dimension dim has size 0.
LBOUND (array) has a value whose ith component is equal to LBOUND
(array, i), for i = 1, 2, ..., n, where n is the rank of array.
If A is declared by the statement REAL A(2:3, 7:10), LBOUND(A) is
[2,7] and LBOUND(A,DIM=2) is 7.
Intrinsic Procedures Reference Manual, publication SR-2138, for the
printed version of this man page.
[ Back ]
|