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.

Result value<br />

Intrinsic procedures<br />

Intrinsic procedure specifications<br />

The result has the value INT((p-1) * LOG10(b))+k. Thevaluesofb and p are as defined in<br />

“The Real Number System Model” on page 475 for the model representing real numbers with<br />

the same kind type parameter as X. Thevalueofk is 1 if b is an integral power of 10 and 0<br />

otherwise.<br />

PRESENT(A)<br />

Description<br />

Determine whether an optional argument is present.<br />

Class<br />

Inquiry function.<br />

Argument<br />

A must be the name of an optional dummy argument that is accessible in the procedure in<br />

which the PRESENT function reference appears.<br />

Result type/<br />

type parameters<br />

Default logical scalar.<br />

Result value<br />

The result has the value .TRUE. if A is present and otherwise has the value .FALSE.<br />

PRODUCT(ARRAY,DIM,MASK)<br />

Optional arguments<br />

DIM, MASK<br />

Description<br />

Product of all the elements of ARRAY along dimension DIM corresponding to the .TRUE.<br />

elements of MASK.<br />

Chapter 11 569

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

Saved successfully!

Ooh no, something went wrong!