SHAPE man page on IRIX

Man page or keyword search:  
man Server   31559 pages
apropos Keyword Search (all sections)
Output format
IRIX logo
[printable version]

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

NAME
     SHAPE - Returns the shape of an array or a scalar

SYNOPSIS
     SHAPE ([SOURCE=]source)

IMPLEMENTATION
     UNICOS, UNICOS/mk, and IRIX systems

STANDARDS
     Fortran 90

DESCRIPTION
     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
     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
     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
     Intrinsic Procedures Reference Manual, publication SR-2138, for the
     printed version of this man page.

[top]

List of man pages available for IRIX

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
Vote for polarhome
Free Shell Accounts :: the biggest list on the net