MathDefinitionFunctionFreeformImplemented class abstract
Create a new freeform function with implementation
This class in intended to be extended when developer declares a usable custom function in MathNodeExpression.toString or MathExpression.calc methods
- Inheritance
-
- Object
- MathDefinitionFunctionFreeform
- MathDefinitionFunctionFreeformImplemented
Constructors
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- maxArgumentsCount → int
-
Maximum arguments count
no setterinherited
- minArgumentsCount → int
-
Minimum arguments count
no setterinherited
- name → String
-
Function name used by parser
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
calc(
List< MathNode> args, MathVariableValues values, {required MathCustomFunctionsImplemented customFunctions}) → num - Defined implementation
-
hasSameName(
String other) → bool -
Checks if the function has the name name
inherited
-
isCompatible(
MathDefinitionFunctionFreeform other) → bool -
Checks function compatibility
inherited
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited