Functions

Functions in Numpress Explore

Function management is very simple. Function is just named mathematical expression containing defined variables. Function may be pure analytical. This type function contains in it's expression input variable only. If a function contains external variables is implicit. To compute value of the funcion call of external program is necessary. Function table is presented below. An user can add, edit or delete selected functions.

"Random variables table"

Function definition/editing dialog

To define function unique name have to be typed. To define random variables user have to do as follows:

  • type unique function name
  • enter fuction expression
  • create identifier assignment
"Random variables table"

Expression may contain any defined variables or other identifiers but finally any unknown identifier must be assigned to defined variables. Expression may also use mathematical functions enumerated below:

name description syntax
absAbsolute valueabs(x)
acos Inverse cosine (in radians) acos(x)
acoshInverse hyperbolic cosine acosh(x)
asinInverse sine (in radians) asin(x)
asinhInverse hyperbolic sineasinh(x)
atanInverse tangent (in radians) atan(x)
atanhInverse hyperbolic tangent atanh(x)
cosCosine cos(x)
coshHyperbolic cosine cosh(x)
expExponential function exp(x)
logLogarithm Base e (natural logarithm) log(x)
maxMaximum of two arguments max(a,b)
minMinimum of two arguments min(a,b)
sinSine sin(x)
sinhHyperbolic sine sinh(x)
sqrtSquare root sqrt(x)
tanTangent tan(x)
tanhHyperbolic tangent tanh(x)

Functions are also represented by items in main tree to open design variables list user can click on "Functions" item in the tree (in the picture below). Other way to open tis list is to click icon "Design variables icon" in the toolbar or in main menu Manage/Design variables.

"Random variables table"