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

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

Contents


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

NAME    [Toc]    [Back]

     SIZE - Returns the	total number of	elements in an array

SYNOPSIS    [Toc]    [Back]

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

IMPLEMENTATION    [Toc]    [Back]

     UNICOS, UNICOS/mk,	and IRIX systems

STANDARDS    [Toc]    [Back]

     Fortran 90

DESCRIPTION    [Toc]    [Back]

     The SIZE intrinsic	function returns the extent of an array	along a
     specified dimension or the	total number of	elements in the	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.  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.

     SIZE 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 scalar.  The result has a value equal
     to	the extent of dimension	dim of array or, if dim	is absent, the
     total number of elements of array.

EXAMPLES    [Toc]    [Back]

     The value of SIZE(A(2:5, -1:1), DIM=2) is 3.  The value of	SIZE(A(2:5,
     -1:1)) is 12.

SEE ALSO    [Toc]    [Back]

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

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

NAME    [Toc]    [Back]

     SIZE - Returns the	total number of	elements in an array

SYNOPSIS    [Toc]    [Back]

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

IMPLEMENTATION    [Toc]    [Back]

     UNICOS, UNICOS/mk,	and IRIX systems

STANDARDS    [Toc]    [Back]

     Fortran 90

DESCRIPTION    [Toc]    [Back]

     The SIZE intrinsic	function returns the extent of an array	along a
     specified dimension or the	total number of	elements in the	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.  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.

     SIZE 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 scalar.  The result has a value equal
     to	the extent of dimension	dim of array or, if dim	is absent, the
     total number of elements of array.

EXAMPLES    [Toc]    [Back]

     The value of SIZE(A(2:5, -1:1), DIM=2) is 3.  The value of	SIZE(A(2:5,
     -1:1)) is 12.

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
count IRIX Counts the number of true array elements
sum IRIX Sums array elements
count_dev FreeBSD get total number of references to a device
vcount FreeBSD get total number of references to a device
vcount OpenBSD get total number of references to a device
glarrayelementext IRIX specify the array elements used to render a vertex
product IRIX Forms the product of array elements
slaed4 IRIX rank-one modification to a diagonal matrix whose elements are given in the array d, and that D(i) < D(j) for i
dlaed4 IRIX rank-one modification to a diagonal matrix whose elements are given in the array d, and that D(i) < D(j) for i
llength IRIX Count the number of elements in a list
Copyright © 2004-2005 DeniX Solutions SRL
newsletter delivery service