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.

<strong>HP</strong> <strong>Fortran</strong> statements<br />

DOUBLE COMPLEX (extension)<br />

DOUBLE COMPLEX (extension)<br />

Declares entities of type double complex.<br />

Syntax<br />

DOUBLE COMPLEX [ [, attrib-list ] ::] entity-list<br />

attrib-list is a list of one or more of the following attributes, separated by commas:<br />

Table 10-8<br />

ALLOCATABLE INTRINSIC PRIVATE<br />

DIMENSION OPTIONAL PUBLIC<br />

EXTERNAL PARAMETER SAVE<br />

INTENT POINTER TARGET<br />

296<br />

If attrib-list is present, it must be followed by the double colon. For<br />

information about individual attributes, see the corresponding statement in<br />

this chapter.<br />

entity-list is a list of entities, separated by commas. Each entity takes the form:<br />

Description<br />

name [( array-spec )] [= initialization-expr]<br />

where:<br />

name<br />

isthenameofavariableorfunction<br />

array-spec<br />

is a comma-separated list of dimension bounds<br />

initialization-expr<br />

is a complex constant expression. If initialization-expr is present,<br />

entity-list must be preceded by the double colon.<br />

The DOUBLE COMPLEX statement is an <strong>HP</strong> <strong>Fortran</strong> extension that declares the properties of<br />

complex data that has greater precision than data of default type complex. The two parts of a<br />

double complex value are each a double precision value.<br />

Chapter 10

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

Saved successfully!

Ooh no, something went wrong!