Structures and Derived Types
Autor: | Walter S. Brainerd |
---|---|
Rok vydání: | 2015 |
Předmět: | |
Zdroj: | Guide to Fortran 2008 Programming ISBN: 9781447167587 Guide to Fortran 2003 Programming ISBN: 9781848825420 |
Popis: | Fortran arrays allow data to be grouped, but only if all items have the same data type. It is often useful to use a structure, which is a compound object consisting of values that may be of different data types. Derived types are used to define the form of structures. It is possible to define new operations and functions on defined types, creating abstract data types. Derived types and their operations are defined in a module, making them globally available to many programs. |
Databáze: | OpenAIRE |
Externí odkaz: |