AlgorithmicFunction class
Properties
-
args
↔ List<Variable>
-
List of arguments of this function. Arguments ust be of type
Variable
.
getter/setter pairinherited
-
domainDimension
→ int
-
The dimension of the domain of definition of this function.
no setterinherited
-
handler
↔ Function
-
getter/setter pair
-
hashCode
→ int
-
The hash code for this object.
no setterinherited
-
name
↔ String
-
Name of this function.
getter/setter pairinherited
-
runtimeType
→ Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
derive(String toVar)
→ Expression
-
Derives this expression with respect to the given variable.
override
-
evaluate(EvaluationType type, ContextModel context)
→ dynamic
-
Evaluates this expression according to given type and context.
override
-
getParam(int i)
→ Variable
-
Returns the i-th parameter of this function (0-based).
inherited
-
getParamByName(String name)
→ Variable
-
Returns the parameter with the given name.
inherited
-
noSuchMethod(Invocation invocation)
→ dynamic
-
Invoked when a nonexistent method or property is accessed.
inherited
-
simplify()
→ Expression
-
Returns a simplified version of this expression.
Subclasses should overwrite this method, if applicable.
inherited
-
toFullString()
→ String
-
Returns the full string representation of this function.
This could include the name, variables and expression.
inherited
-
toString()
→ String
-
Returns a string version of this expression.
Subclasses should override this method. The output should be kept
compatible with the Parser.
inherited