![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() |
Description | Codes |
---|---|
R(j) -> Arg(k) | i 8 j k |
The first code (i) can have the values 0 and 1, 1 requests the originating register not to be changed on return from the call.
Numerical binary arithmetic:
Description | Codes |
---|---|
R(i) + R(j) -> R(k) | i 1 j k |
R(i) - R(j) -> R(k) | i 2 j k |
R(i) * R(j) -> R(k) | i 3 j k |
R(i) / R(j) -> R(k) | i 4 j k |
R(i) ** R(j) -> R(k) | i 5 j k |
Comparison of numbers resulting in a logical:
Description | Codes |
---|---|
R(i) equal to R(j) -> R(k) | i 10 j k |
R(i) not equal to R(j) -> R(k) | i 11 j k |
R(i) less R(j) -> R(k) | i 12 j k |
R(i) less or equal R(j) -> R(k) | i 13 j k |
R(i) greater R(j) -> R(k) | i 14 j k |
R(i) gr. or equal R(j) -> R(k) | i 15 j k |
Logical binary arithmetic:
Description | Codes |
---|---|
R(i) and R(j) -> R(k) | i 16 j k |
R(i) or R(j) -> R(k) | i 17 j k |
Description | Codes |
---|---|
Call procedure m with n args | m 9 n 0 |
The procedures are listed separately, see Call.
Numerical functions:
Description | Codes | Name |
---|---|---|
trailing R(i) -> R(j) | -11 6 i j |
TRAILING |
arctanh R(i) -> R(j) | -9 6 i j |
ARCTANH |
arccosh R(i) -> R(j) | -8 6 i j |
ARCCOSH |
arcsinh R(i) -> R(j) | -7 6 i j |
ARCSINH |
- R(i) -> R(j) | -6 6 i j |
- |
square root R(i) -> R(j) | -5 6 i j |
SQRT |
arctan R(i) -> R(j) | -4 6 i j |
ARCTAN |
arccos R(i) -> R(j) | -3 6 i j |
ARCCOS |
arcsin R(i) -> R(j) | -2 6 i j |
ARCSIN |
log R(i) -> R(j) | -1 6 i j |
LOG |
exp R(i) -> R(j) | 1 6 i j |
EXP |
sin R(i) -> R(j) | 2 6 i j |
SIN |
cos R(i) -> R(j) | 3 6 i j |
COS |
tan R(i) -> R(j) | 4 6 i j |
TAN |
| R(i) | -> R(j) | 5 6 i j |
ABS |
+ R(i) -> R(j) | 6 6 i j |
- |
sinh R(i) -> R(j) | 7 6 i j |
SINH |
cosh R(i) -> R(j) | 8 6 i j |
COSH |
tanh R(i) -> R(j) | 9 6 i j |
TANH |
entier R(i) -> R(j) | 11 6 i j |
ENTIER |
Sum R(i) -> R(j) | 13 6 i j |
SUM |
Product H_R(i) -> R(j) | 14 6 i j |
PRODUCT |
Landau R(i) -> R(j) | 18 6 i j |
LANDAU |
Minimum of R(i) -> R(j) | 19 6 i j |
MINIMUM |
Maximum of R(i) -> R(j) | 20 6 i j |
MAXIMUM |
Row of 1 to R(i) -> R(j) | 40 6 i j |
ROW |
Mean of R(i) -> R(j) | 41 6 i j |
MEAN |
RMS of R(i) -> R(j) | 42 6 i j |
RMS |
Size of R(i) -> R(j) | 43 6 i j |
SIZE |
Row of R(i) zeroes -> R(j) | 44 6 i j |
ZEROES |
Row of R(i) ones -> R(j) | 45 6 i j |
ONES |
Existence of file R(i) -> R(j) | 46 6 i j |
EXIST |
gamma R(i) -> R(j) | 47 6 i j |
GAMMA |
Logical functions:
Description | Codes | Name |
---|---|---|
not R(i) -> R(j) | 10 6 i j |
NOT |
Type conversions:
Description | Codes | Name |
---|---|---|
string R(i) -> number R(j) | -12 6 i j |
NUMBER |
formatted R(i) -> R(j) | 12 6 i j |
STRING |
number R(i) -> string R(j) | 51 6 i j |
REF_STRING |
number R(i) -> histogram R(j) | 54 6 i j |
REF_HISTOGRAM |
number R(i) -> matrix R(j) | 55 6 i j |
REF_MATRIX |
name global R(i) -> string R(j) | 16 6 i j |
GLOBAL |
type of R(i) -> string R(j) | 17 6 i j |
TYPE |
Random numbers:
Description | Codes | Name |
---|---|---|
Uniform random number -> R(j) | 21 6 - j |
RND_UNIFORM |
Gaussian random number -> R(j) | 22 6 - j |
RND_GAUSS, RND_NORMAL |
Exp. random number -> R(j) | 23 6 i j |
RND_EXPONENTIAL, RND_EXP |
Poisson random number -> R(j) | 24 6 i j |
RND_POISSON |
Landau random number -> R(j) | 25 6 i j |
RND_LANDAU |
Polya, theta R(i) -> R(j) | 26 6 i j |
RND_POLYA |
Function random number -> R(j) | 27 6 i j |
RND_FUNCTION |
Histogram random R(i) -> R(j) | 28 6 i j |
RND_HISTOGRAM |
The random number generators RND_EXPONENTIAL and RND_POISSON have the mean of the distribution as argument. The argument of RND_POLYA is the "theta" parameter. These arguments are optional, they default to 1. They can generate random number sequences of different data types.
RND_HISTOGRAM takes an Histogram as argument and always returns a single random number.
Description | Codes |
---|---|
If R(i) Goto Ins(R(j)) | i 7 j 0 |
A direct jumps are obtained by setting R(i) to 1 (i.e. i=-1). Setting R(i) to 0 (i.e. i=0) is a no-operation code because the jump would never occur.
A value out of range for R(j) (typically 0) is a alternative for return. You are allowed to modify the value of R(j) during execution.
Description | Codes |
---|---|
R(i) -> output variable (j) | 0 0 i j |
Description | Codes |
---|---|
Return to calling procedure | i -9 0 0 |
Stop procedure execution | i -9 1 0 |
Stop program execution | i -9 2 0 |
These instructions are referred to as Return, Exit and Quit. The statement is executed if R(i) has the value 1, if R(i) is 0, the statement is skipped, otherwise an error condition is raised.
Formatted on 0108-07- at 10:32.