MathFunctionFreeform class
Freeform function
Allows to define a custom function
Despite being a function, does not extend MathFunction
- Inheritance
-
- Object
- MathExpression
- MathNode
- MathFunctionFreeform
- Available Extensions
Constructors
-
MathFunctionFreeform(MathDefinitionFunctionFreeform definition, List<
MathNode> arguments) -
Creates a new function definition
const
Properties
-
arguments
→ List<
MathNode> -
Arguments list
final
- definition → MathDefinitionFunctionFreeform
-
Function definition
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
calc(
MathVariableValues values, {MathCustomFunctionsImplemented customFunctions = const MathCustomFunctionsImplemented({})}) → num -
Evaluate the expression
override
-
getUsedFreeformFunctions(
) → Set< MathDefinitionFunctionFreeform> -
Get mentioned custom defined functions that are required to evaluate the expression
override
-
getUsedVariables(
) → Set< String> -
Get mentioned variables that are required to evaluate the expression
override
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited