DIMENSION: Define a numerical array
⇒Help
⇒Contents
⇒Programming
DIMENSION vector(elements), matrix(rows, columns)
specifies 1-dimensional vectors and 2-dimensional matrices
elements, rows and columns must be known at compile time, like:
integer
constants
, like
DIMENSION v1(100), v2(20), m1(20,100), v3(33)
predefined at compile time
, like
REAL, PARAMETER :: elements=100 ! defines the
symbolic constant
elements
REAL :: rows=20 ! predefines the scalar
variable
rows
DATA columns/50/ ! predefines the scalar
variable
columns
⇒ Define symbolic names to be of real data type
©2000-2008 Georg Petrich, HicEst Instant Prototype Computing. All rights reserved.
Impressum