Formula Evaluation
Built-in Operations
- Addition
+, subtraction -
- Multiplication
*, division /
- Power
^
- Brackets
( and ) (may be nested
till the stack smacks you in the face.)
A "modulo" operator is not implemented because it doesnīt make sence
for real numbers.
Built-in Function
The following arithmetic functions are built into the formula
interpreter. They all take exactly one argument. (The argument
may itself be a fully featured expression, containing functions
etc.)
-
cos cosine of the argument.
-
sin sine of the argument.
-
tan tangent of the argument.
-
acos arcus cosine of the argument.
-
asin arcus sine of the argument.
-
atan arcus tangent of the argument.
-
cosh hyperbolic cosine of the argument.
-
sinh hyperbolic sine of the argument.
-
tanh hyperbolic tangent of the argument.
-
acosh area hyperbolic cosine of the argument.
-
asinh area hyperbolic sine of the argument.
-
atanh area hyperbolic tangent of the argument.
-
sqrt square root of the argument.
-
sqr square of the argument.
-
exp e ^ the argument.
-
ln natural logarithm of the argument.
-
log 10-logarithm of the argument.
-
abs absolute value of the argument.
-
ceil smallest integer greater than (or equal to) the
argument.
-
floor largest integer smaller than (or equal to) the
argument.
-
erf error function of the argument.
-
j_n first kind Bessel function of the argument. The
order n is taken from the variable "n_bessel".
-
y_n second kind Bessel function of the argument. The
order n is taken from the variable "n_bessel".
-
delta delta function of the argument.
-
rnd random number between [0,the argument).
The following function is for access to the worksheet:
-
col provides worksheet column access. It takes
one or two arguments: the first argument must be the columnīs
name, e.g. AA. The second argument is optional. It
may be an integer expression denoting the row number to be taken.
If omitted, the row number is the row the formula is currently
evaluated at. (This corresponds to variable i.)
Restrictions
- A maximum of 1024 variables are allowed. However, this is much
more than would fit into a mere input box :-)
- Currently, there are no functions avalable that operate on
entire columns, such as
sum or average.
These functions are planned, however.
Patrick Schemitz
Last modified: Fri Jan 30 11:16:36 MET 1998