02.07.2013 Views

HP Fortran Programmer's Reference

HP Fortran Programmer's Reference

HP Fortran Programmer's Reference

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Intrinsic procedures<br />

Intrinsic procedure specifications<br />

Argument<br />

A must be of type integer, real, or complex.<br />

Result<br />

Double precision.<br />

EOSHIFT(ARRAY, SHIFT, BOUNDARY, DIM)<br />

Optional arguments<br />

BOUNDARY, DIM<br />

Description<br />

Perform an end-off shift on an array expression of rank one or perform end-off shifts on all the<br />

complete rank-one sections along a given dimension of an array expression of rank two or<br />

greater.<br />

Elements are shifted off at one end of a section and copies of a boundary value are shifted in<br />

at the other end.<br />

Different sections may have different boundary values and may be shifted by different<br />

amounts and in different directions (positive for left shifts, negative for right shifts).<br />

Class<br />

Transformational function.<br />

Arguments<br />

ARRAY<br />

SHIFT<br />

BOUNDARY (optional)<br />

512<br />

may be of any type. It must not be scalar.<br />

must be of type integer and must be scalar if ARRAY has rank one; otherwise,<br />

it must be scalar or of rank n-1 and of shape (d 1 , d 2 ,...,d DIM-1 , d DIM+1 ,...,d n )<br />

where (d 1, d 2,...,d n)istheshapeofARRAY.<br />

Chapter 11

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

Saved successfully!

Ooh no, something went wrong!