*nix Documentation Project
·  Home
 +   man pages
·  Linux HOWTOs
·  FreeBSD Tips
·  *niX Forums

  man pages->IRIX man pages -> f90/ubound (3)              
Title
Content
Arch
Section
 

Contents


UBOUND(3I)					       Last changed: 1-6-98

NAME    [Toc]    [Back]

     UBOUND - Returns all the upper bounds of an array or a specified upper
     bound

SYNOPSIS    [Toc]    [Back]

     UBOUND ([ARRAY=] array [,[DIM=]dim])

IMPLEMENTATION    [Toc]    [Back]

     UNICOS, UNICOS/mk,	and IRIX systems

STANDARDS    [Toc]    [Back]

     Fortran 90

DESCRIPTION    [Toc]    [Back]

     The UBOUND	intrinsic function returns all the upper bounds	of an array
     or	returns	a specified upper bound.  It accepts the following
     arguments:

     array     Can 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.  If array is an assumed-size array, dim
	       must be present with a value less than the rank of array.

     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.

     UBOUND is an inquiry function.  The name of this intrinsic	cannot be
     passed as an argument.

RETURN VALUES    [Toc]    [Back]

     The result	type is	default	integer.  It is	scalar if dim is present;
     otherwise,	the result is an array of rank one 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, UBOUND(array,dim) has a value
     equal to the number of elements in	the given dimension.  It has a
     value equal to the	upper bound for	subscript dim of array if dimension
     dim of array does not have	size zero; it has the value zero if
     dimension dim has size zero.

     UBOUND(array) has a value whose ith component is equal to
     UBOUND(array,i), for i = 1, 2, ..., n, where n is the rank	of array.

EXAMPLES    [Toc]    [Back]

     Assume that A is declared by the statement	REAL A(2:3, 7:10).  In this
     case, the following are true:

     * UBOUND(A) is [3,	10]

     * UBOUND(A, DIM = 2) is 10.

SEE ALSO    [Toc]    [Back]

      
      
     Intrinsic Procedures Reference Manual, publication	SR-2138, for the
     printed version of	this man page.

UBOUND(3I)					       Last changed: 1-6-98

NAME    [Toc]    [Back]

     UBOUND - Returns all the upper bounds of an array or a specified upper
     bound

SYNOPSIS    [Toc]    [Back]

     UBOUND ([ARRAY=] array [,[DIM=]dim])

IMPLEMENTATION    [Toc]    [Back]

     UNICOS, UNICOS/mk,	and IRIX systems

STANDARDS    [Toc]    [Back]

     Fortran 90

DESCRIPTION    [Toc]    [Back]

     The UBOUND	intrinsic function returns all the upper bounds	of an array
     or	returns	a specified upper bound.  It accepts the following
     arguments:

     array     Can 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.  If array is an assumed-size array, dim
	       must be present with a value less than the rank of array.

     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.

     UBOUND is an inquiry function.  The name of this intrinsic	cannot be
     passed as an argument.

RETURN VALUES    [Toc]    [Back]

     The result	type is	default	integer.  It is	scalar if dim is present;
     otherwise,	the result is an array of rank one 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, UBOUND(array,dim) has a value
     equal to the number of elements in	the given dimension.  It has a
     value equal to the	upper bound for	subscript dim of array if dimension
     dim of array does not have	size zero; it has the value zero if
     dimension dim has size zero.

     UBOUND(array) has a value whose ith component is equal to
     UBOUND(array,i), for i = 1, 2, ..., n, where n is the rank	of array.

EXAMPLES    [Toc]    [Back]

     Assume that A is declared by the statement	REAL A(2:3, 7:10).  In this
     case, the following are true:

     * UBOUND(A) is [3,	10]

     * UBOUND(A, DIM = 2) is 10.

SEE ALSO    [Toc]    [Back]

      
      
     Intrinsic Procedures Reference Manual, publication	SR-2138, for the
     printed version of	this man page.

[ Back ]
 Similar pages
Name OS Title
lbound IRIX Returns all the lower bounds or a specified lower bound of an array
ztzrqf IRIX reduce the M-by-N ( M<=N ) complex upper trapezoidal matrix A to upper triangular form by means of unitary tra
dtzrqf IRIX reduce the M-by-N ( M<=N ) real upper trapezoidal matrix A to upper triangular form by means of orthogonal tra
ctzrqf IRIX reduce the M-by-N ( M<=N ) complex upper trapezoidal matrix A to upper triangular form by means of unitary tra
stzrqf IRIX reduce the M-by-N ( M<=N ) real upper trapezoidal matrix A to upper triangular form by means of orthogonal tra
isupper FreeBSD upper-case character test
isupper OpenBSD upper-case character test
slags2 IRIX compute 2-by-2 orthogonal matrices U, V and Q, such that if ( UPPER ) then U'*A*Q = U'*( A1 A2 )*Q = ( x 0 ) (
clags2 IRIX compute 2-by-2 unitary matrices U, V and Q, such that if ( UPPER ) then U'*A*Q = U'*( A1 A2 )*Q = ( x 0 ) ( 0
dlags2 IRIX compute 2-by-2 orthogonal matrices U, V and Q, such that if ( UPPER ) then U'*A*Q = U'*( A1 A2 )*Q = ( x 0 ) (
Copyright © 2004-2005 DeniX Solutions SRL
newsletter delivery service