Intel® Fortran Compiler Classic and Intel® Fortran Compiler Developer Guide and Reference
A newer version of this document is available. Customers should click here to go to the newest version.
Visible to Intel only — GUID: GUID-2A2A9F9D-B8E2-4E53-956A-56D5C7A6B880
Visible to Intel only — GUID: GUID-2A2A9F9D-B8E2-4E53-956A-56D5C7A6B880
Structure Constructors for Parameterized Derived Types
A type-param-spec-list must be given when constructing a parameterized derived type. See Parameterized TYPE Statements.
The syntax takes the following form:
derived-type-spec ( [ comp-spec-list ] )
- derived-type-spec
-
Is a derived type-spec. See Type Declarations for details on derived type specifications.
- comp-spec-list
-
Is a list of one or more component specifications.
Example
Matrix (kind (0.0),1,3) :: my_matrix my_matrix = matrix (kind (0.0),1,3) ([1.0,2.0,3.0])