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

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

Contents


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

NAME    [Toc]    [Back]

     SHAPE - Returns the shape of an array or a	scalar

SYNOPSIS    [Toc]    [Back]

     SHAPE ([SOURCE=]source)

IMPLEMENTATION    [Toc]    [Back]

     UNICOS, UNICOS/mk,	and IRIX systems

STANDARDS    [Toc]    [Back]

     Fortran 90

DESCRIPTION    [Toc]    [Back]

     The SHAPE intrinsic function returns the shape of an array	or a
     scalar.  It accepts the following argument:

     source    May be of any type.  It can be array valued or scalar.  It
	       must not	be a pointer that is disassociated or an
	       allocatable array that is not allocated.	 It must not be	an
	       assumed-size array.

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

RETURN VALUES    [Toc]    [Back]

     The result	is a default integer array of rank 1 whose size	is equal to
     the rank of source.  The value of the result is the shape of source.

EXAMPLES    [Toc]    [Back]

     The value of SHAPE(A(2:5, -1:1)) is [4, 3].  The value of SHAPE(3)	is
     the rank -1 array of size 0.

SEE ALSO    [Toc]    [Back]

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

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

NAME    [Toc]    [Back]

     SHAPE - Returns the shape of an array or a	scalar

SYNOPSIS    [Toc]    [Back]

     SHAPE ([SOURCE=]source)

IMPLEMENTATION    [Toc]    [Back]

     UNICOS, UNICOS/mk,	and IRIX systems

STANDARDS    [Toc]    [Back]

     Fortran 90

DESCRIPTION    [Toc]    [Back]

     The SHAPE intrinsic function returns the shape of an array	or a
     scalar.  It accepts the following argument:

     source    May be of any type.  It can be array valued or scalar.  It
	       must not	be a pointer that is disassociated or an
	       allocatable array that is not allocated.	 It must not be	an
	       assumed-size array.

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

RETURN VALUES    [Toc]    [Back]

     The result	is a default integer array of rank 1 whose size	is equal to
     the rank of source.  The value of the result is the shape of source.

EXAMPLES    [Toc]    [Back]

     The value of SHAPE(A(2:5, -1:1)) is [4, 3].  The value of SHAPE(3)	is
     the rank -1 array of size 0.

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
reshape IRIX Constructs an array of a specified shape
minval IRIX Returns the minimum value in an array
maxval IRIX Returns the maximum value in an array
minloc IRIX Returns the location of a minimum value in an array
allocated IRIX Returns the array allocation status
maxloc IRIX Returns the location of a maximum value in an array
size IRIX Returns the total number of elements in an array
ubound IRIX Returns all the upper bounds of an array or a specified upper bound
lbound IRIX Returns all the lower bounds or a specified lower bound of an array
gluNurbsCurve Tru64 define the shape of a NURBS curve
Copyright © 2004-2005 DeniX Solutions SRL
newsletter delivery service