Expression
Definition of a function given by an algebraic expression.
Fields
-
arguments: Vector of String, default =[]A vector of strings with the names of the variables acting as arguments.
For example a function $f(p,q) = p + \sqrt{1-q^2}$ would need
["p","q"]to be able tolink the actual arguments when the function is evaluated to the algebraic expression.
The invocation does not need to use
pandqnecessarily, it can be called asf(x,t)from a boundary condition of type
ExpressionValues(or even(1+f(x/2,t^2))^(2/3)).In that case,
pwould be the half of the $x$ coordinate andqthe time squared in $f(p,q)$. -
expression: String, default =""A string with an expression involving the arguments and eventually other variables
(which would be kept as constants with the values they have at the moment of the evaluation
of the function) and other functions. For example, the function above would need
a + sqrt(1-b^2).
See also FunctionType, Interpolation.