02.07.2013 Views

HP Fortran Programmer's Reference

HP Fortran Programmer's Reference

HP Fortran Programmer's Reference

SHOW MORE
SHOW LESS

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

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

Intrinsic procedures<br />

Intrinsic procedure specifications<br />

Case 2 If MOLD is array valued and SIZE is absent, the result is array valued and of<br />

rankone.Itssizeisassmallaspossiblesuchthatitsphysical<br />

representation is not shorter than that of SOURCE.<br />

Case 3 If SIZE is present, the result is array valued of rank one and size SIZE.<br />

Result value<br />

If the physical representation of the result has the same length as that of SOURCE, thephysical<br />

representation of the result is that of SOURCE.<br />

If the physical representation of the result is longer than that of SOURCE, thephysical<br />

representation of the leading part is that of SOURCE and the remainder is undefined.<br />

If the physical representation of the result is shorter than that of SOURCE, thephysical<br />

representation of the result is the leading part of SOURCE. IfD and E are scalar variables<br />

such that the physical representation of D is as long as or longer than that of E, thevalue<br />

of TRANSFER(TRANSFER(E, D), E) must be the value of E.<br />

IfD is an array and E is an array of rank one, the value of TRANSFER(TRANSFER(E, D), E,<br />

SIZE(E)) must be the value of E.<br />

TRANSPOSE(MATRIX)<br />

Description<br />

Transpose an array of rank two.<br />

Class<br />

Transformational function.<br />

Result type,<br />

type parameters,<br />

and shape<br />

MATRIX may be of any type and must have rank two.<br />

TheresultisanarrayofthesametypeandtypeparametersasMATRIX and with rank two and<br />

shape (n, m) where (m, n) is the shape of MATRIX.<br />

Result value<br />

Element (i, j) of the result has the value MATRIX(j, i), i= 1,2,...,n; j= 1,2,...,m.<br />

Chapter 11 599

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

Saved successfully!

Ooh no, something went wrong!