1. Mathematical Expressions
Following tables present tools to declare and manipulate expressions.
Feel++ Keyword |
Description |
|
Variable xx |
|
Variable yy |
|
Variable zz |
|
Constant function equal to cc |
You can of course use all current operators ( + - / * ) and the usual following functions:
Feel++ Keyword |
Math Object |
Description |
|
|f(→x)||f(→x)| |
element wise absolute value of ff |
|
cos(f(→x))cos(f(→x)) |
element wise cos value of ff |
|
sin(f(→x))sin(f(→x)) |
element wise sin value of ff |
|
tan(f(→x))tan(f(→x)) |
element wise tan value of ff |
|
acos(f(→x))acos(f(→x)) |
element wise acos value of ff |
|
asin(f(→x))asin(f(→x)) |
element wise asin value of ff |
|
atan(f(→x))atan(f(→x)) |
element wise atan value of ff |
|
cosh(f(→x))cosh(f(→x)) |
element wise cosh value of ff |
|
sinh(f(→x))sinh(f(→x)) |
element wise sinh value of ff |
|
tanh(f(→x))tanh(f(→x)) |
element wise tanh value of ff |
|
exp(f(→x))exp(f(→x)) |
element wise exp value of ff |
|
log(f(→x))log(f(→x)) |
element wise log value of ff |
|
√f(→x)√f(→x) |
element wise sqrt value of ff |
|
⌈f(→x)⌉⌈f(→x)⌉ |
element wise ceil of ff |
|
⌊f(→x)⌋⌊f(→x)⌋ |
element wise floor of ff |
|
{1if f(→x)≥0−1if f(→x)<0 |
element wise sign value of f |
|
χ(f(→x))={0if f(→x)=01if f(→x)≠0 |
element wise boolean test of f |
|
random number in [0,1] regenerated at each call |
|
|
random number in [lo,hi] regenerated at each call |