/TABLE/0
Block Format Keyword Defines a table with up to four dimensions using data points.
Format
(1) | (2) | (3) | (4) | (5) | (6) | (7) | (8) | (9) | (10) |
---|---|---|---|---|---|---|---|---|---|
/TABLE/0/table_ID | |||||||||
table_title | |||||||||
dimension | n1 | n2 | n3 | n4 |
(1) | (2) | (3) | (4) | (5) | (6) | (7) | (8) | (9) | (10) |
---|---|---|---|---|---|---|---|---|---|
X1 | X2 | etc | |||||||
etc | |||||||||
etc | Xn1 |
(1) | (2) | (3) | (4) | (5) | (6) | (7) | (8) | (9) | (10) |
---|---|---|---|---|---|---|---|---|---|
Y1 | Y2 | etc | |||||||
etc | |||||||||
etc | Yn2 |
(1) | (2) | (3) | (4) | (5) | (6) | (7) | (8) | (9) | (10) |
---|---|---|---|---|---|---|---|---|---|
Z1 | Z2 | etc | |||||||
etc | |||||||||
etc | Zn3 |
(1) | (2) | (3) | (4) | (5) | (6) | (7) | (8) | (9) | (10) |
---|---|---|---|---|---|---|---|---|---|
W1 | W2 | etc | |||||||
etc | |||||||||
etc | Wn4 |
(1) | (2) | (3) | (4) | (5) | (6) | (7) | (8) | (9) | (10) |
---|---|---|---|---|---|---|---|---|---|
T1 | T2 | etc | |||||||
etc | |||||||||
etc | |||||||||
Tk |
Definitions
Field | Contents | SI Unit Example |
---|---|---|
table_ID | Table
identifier. (Integer, maximum 10 digits) |
|
table_title | Table
title. (Character, maximum 100 characters) |
|
dimension | Total number of
entries. (Integer ≤ 4) |
|
n1, ..., ndimension | Number of values for
entry n1, ...,
ndimension. (Integer) |
|
Xi | ith value
of first entry (1 ≤ i ≤ n1). (Real) |
|
Yj | ith value
of second entry (1 ≤ i ≤ n2). (Real) |
|
Zk | ith value
of third entry (1 ≤ i ≤ n3). (Real) |
|
Wl | ith value
of fourth entry (1 ≤ i ≤ n4). (Real) |
|
Tk | kth value
of the table (
1≤k≤n1⋅n1⋅⋅⋅ndimension
). (Real) |
Example
- T(X=1.1)=4
- T(X=1.2)=5
- T(X=1.3)=6
- T(X=1.4)=7
T(X=1.1,Y=2.1)=9 | T(X=1.1,Y=2.2)=13 |
T(X=1.2,Y=2.1)=10 | T(X=1.2,Y=2.2)=14 |
T(X=1.3,Y=2.1)=11 | T(X=1.3,Y=2.2)=15 |
T(X=1.4,Y=2.1)=12 | T(X=1.4,Y=2.2)=16 |
#---1----|----2----|----3----|----4----|----5----|----6----|----7----|----8----|----9----|---10----|
/TABLE/0/1003
table type 0 with dimension 1
#dimension n1 n2 n3 n4
1 4 0 0 0
# X
1.1 1.2 1.3 1.4
# T
4 5 6 7
#---1----|----2----|----3----|----4----|----5----|----6----|----7----|----8----|----9----|---10----|
/TABLE/0/1004
table type 0 with dimension 2
#dimension n1 n2 n3 n4
2 4 4 0 0
# X
1.1 1.2 1.3 1.4
# Y
2.1 2.2 2.3 2.4
# T
9 10 11 12 13
14 15 16 17 18
19 20 21 22 23
24
#---1----|----2----|----3----|----4----|----5----|----6----|----7----|----8----|----9----|---10----|
#enddata
Comments
- A function and a table cannot share the same identifier.
- The full grid is input. N1, ... Ndimension is mandatory. If the dimension =1, N1, is mandatory; if the dimension=2, N1 and N2 are mandatory, etc.
- The dimension of a table is the same as the number of input entries.
- The input values of the entry must
be strictly increasing,
let
X1<X2<⋅⋅⋅<Xn
Y1<Y2<⋅⋅⋅<Yn
Z1<Z2<⋅⋅⋅<Zn
W1<W2<⋅⋅⋅<Wn
- The values of the table must be
given in the following order:
- first entry varies first
- second entry varies as the second one
- dimension entry varies as the last one
As an example, let a 3-dimension table and let the four entries be denoted X, Y, and Z: the values of the table must be given in the following order:
T(X1,Y1,Z1) , T(X2,Y1,Z1) , …, T(Xn1,Y1,Z1)
T(X1,Y2,Z1) , T(X2,Y2,Z1) , …, T(Xn1,Yn2,Z1)
T(X1,Y1,Z2) , T(X2,Y1,Z2) , …, T(Xn1,Y1,Z2)
T(X1,Y2,Z2) , …, T(Xn1,Y2,Z2) , …, T(Xn1,Yn2,Z2) , …., T(Xn1,Yn2,Zn3)