12.07.2015 Views

PGI Fortran - Servidor WWW del Cluster Ladon-Hidra

PGI Fortran - Servidor WWW del Cluster Ladon-Hidra

PGI Fortran - Servidor WWW del Cluster Ladon-Hidra

SHOW MORE
SHOW LESS
  • No tags were found...

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Return ValueThe shifted array with the same size and shape as the argument ARRAY.EOSHIFT §Perform an end-off shift on the specified array.SynopsisCSHIFT(ARRAY, DIM, SHIFT, BOUNDARY)ArgumentsThe argument ARRAY is the array to shift. It may be an array of any type. The argument DIM is aninteger representing the dimension to shift. The argument SHIFT is an integer or an array ofintegers with rank n-1 where n is the rank of ARRAY. The optional argument BOUNDARY is of thesame type as the array, it may be scalar or of rank n-1 where n is the rank of ARRAY. BOUNDARYis the value to fill in the shifted out positions. By default it has the following values for integer, 0,for real, 0.0, for complex, (0.0,0.0), for logical false, for character the default is blank characters.Return ValueThe shifted array with the same size and shape as the argument ARRAY.RESHAPE §Reconstructs an array with the specified shape using the elements of the source array.SynopsisRESHAPE(SHAPE, SOURCE [,PAD] [,ORDER])ArgumentsThe argument SHAPE is of type integer, rank one. It must not have more than 7 elements and novalues can be negative. The argument SOURCE is an array of any type. The optional argumentPAD must be the same size and type as SOURCE. The optional argument ORDER must be of typeinteger and must have the same shape as SHAPE.Return ValueThe return value is an array of shape SHAPE, with the same type as SOURCE. Array elements arefilled into the new array in array element order.252 Chapter 6

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!