1. Mathematical Expressions

Following tables present tools to declare and manipulate expressions.

Feel++ Keyword

Description

Px()

Variable xx

Py()

Variable yy

Pz()

Variable zz

cst( c )

Constant function equal to cc

You can of course use all current operators ( + - / * ) and the usual following functions:

Feel++ Keyword

Math Object

Description

abs(expr)

|f(x)||f(x)|

element wise absolute value of ff

cos(expr)

cos(f(x))cos(f(x))

element wise cos value of ff

sin(expr)

sin(f(x))sin(f(x))

element wise sin value of ff

tan(expr)

tan(f(x))tan(f(x))

element wise tan value of ff

acos(expr)

acos(f(x))acos(f(x))

element wise acos value of ff

asin(expr)

asin(f(x))asin(f(x))

element wise asin value of ff

atan(expr)

atan(f(x))atan(f(x))

element wise atan value of ff

cosh(expr)

cosh(f(x))cosh(f(x))

element wise cosh value of ff

sinh(expr)

sinh(f(x))sinh(f(x))

element wise sinh value of ff

tanh(expr)

tanh(f(x))tanh(f(x))

element wise tanh value of ff

exp(expr)

exp(f(x))exp(f(x))

element wise exp value of ff

log(expr)

log(f(x))log(f(x))

element wise log value of ff

sqrt(expr)

f(x)f(x)

element wise sqrt value of ff

ceil(expr)

f(x)f(x)

element wise ceil of ff

floor(expr)

f(x)f(x)

element wise floor of ff

sign(expr)

{1if f(x)01if f(x)<0

element wise sign value of f

chi(expr)

χ(f(x))={0if f(x)=01if f(x)0

element wise boolean test of f

rand()

random number in [0,1] regenerated at each call

rand(lo,hi)

random number in [lo,hi] regenerated at each call