- As variable names we provide: x or sometimes
t , with multiple variables x(j), j=1,...,n,
where n is the dimension.
- function names are f(1),...,f(n) for vector functions, and
f, fx, gxi, hxi, .. for scalar ones.
- Sometimes you can use predefined local variables
x1h,....,x9h (not necessarily meant to be equal to x(1) etc) or others,
this is mentioned explicitly where applicable.
- In many cases you can use the variable pi (really 4*tan-1(1)),
sqrt2(=1.414...) and e=exp(1). This is explictly stated from case to case.
- It is impossible to define variables yourself or to make use of f77's ''implicitly defined''
variables. Unadvertently you will get an error message in doing so.
|
- How to format your input is described above. Here follow some more
tips.
- Most of the applications allow you to specify an
identifying text for your run, since you may want to ''cut and paste''
the output to your local window. Having multiple runs in one session may
make it hard to identify the results otherwise. In this text no blank
and no comma must be inserted, use underscore instead, but you may leave this blank.
- In writing code for functions, you may want to use loops and
if constructs. you must restrict yourself to the standard form
|
do label counting_variable=first value,last value, step
sequence of instructions
labelcontinue
|
with ''label'' a numeric label as described above and
|
if ( logical expression ) goto label
|
|