2.7. Using mathematical expressions¶
Mathematical expressions can be used in your input file. It is Fortran style. Available functions are shown in Table 2.6.
Intrinsic |
Function |
||||||
|---|---|---|---|---|---|---|---|
FLOAT |
INT |
ABS |
EXP |
LOG |
LOG10 |
MAX |
MIN |
MOD |
NINT |
SIGN |
SQRT |
ACOS |
ASIN |
ATAN |
ATAN2 |
COS |
COSH |
SIN |
SINH |
TAN |
TANH |
For example,
S[ c1 * 3.5 * sin( 55 * pi / 180 ) ]
In this example, you can use the mathematical expression for one numeric data \(s\) like S( \(s\) ). In this case, you should use square bracket [ ] instead of ( ).