Package org.mariuszgromada.math.mxparser
Interface ArgumentExtension
public interface ArgumentExtension
ArgumentExtension provides interface for argument algorithm definition.
Argument can be interpreted as function with no (zero) parameters.
In this case algorithm definition is based on source code using
JAVA (for JAVA / Android) or .NET. If implemented Argument Extension
object can be further used while Argument object
construction, which means it can extend mXparser math collection.
mXparser extension with your own implementation can be achieved
by implementing ArgumentExtension interface, creating an ArgumentExtension
object, creating Argument object based on ArgumentExtension, adding Argument
object to Expression / mXparser definition.
- Version:
- 4.4.0
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionclone()
Cloning in case of usage in Expression with recursive statements.double
Actual algorithm implementation.
-
Method Details
-
getArgumentValue
double getArgumentValue()Actual algorithm implementation.- Returns:
- Argument Extension value.
-
clone
ArgumentExtension clone()Cloning in case of usage in Expression with recursive statements.- Returns:
- Returns ArgumentExtension object that was cloned.
- See Also:
-