Interface FunctionExtension

Buy me a cup of coffee via donation

Did you find the software useful? Please consider donation

or support me purchasing the license via ORDER Page , or INFIMA online store


INFIMA online store
All Superinterfaces:
Serializable

public interface FunctionExtension extends Serializable
FunctionExtension provides interface for function algorithm definition. In this case algorithm definition is based on source code using JAVA (for JAVA / Android) or .NET. If implemented Function Extension object can be further used while Function object construction, which means it can extend mXparser math collection. mXparser extension with your own implementation can be achieved by implementing FunctionExtension interface, creating an FunctionExtension object, creating Function object based on FunctionExtension, adding Function object to Expression / mXparser definition.
Version:
5.2.0
Author:
Mariusz Gromada
MathParser.org - mXparser project page
mXparser on GitHub
INFIMA place to purchase a commercial MathParser.org-mXparser software license
info@mathparser.org
ScalarMath.org - a powerful math engine and math scripting language
Scalar Lite
Scalar Pro
MathSpace.pl

Buy me a cup of coffee via donation

Did you find the software useful? Please consider donation

or support me purchasing the license via ORDER Page , or INFIMA online store


INFIMA online store
See Also:
  • Method Summary

    Modifier and Type
    Method
    Description
    double
    Actual algorithm implementation.
    Cloning in case of usage in Expression with recursive statements.
    getParameterName(int parameterIndex)
    Gets parameter name
    int
    Gets parameters number.
    void
    setParameterValue(int parameterIndex, double parameterValue)
    Sets value of function parameter
  • Method Details

    • getParametersNumber

      int getParametersNumber()
      Gets parameters number.
      Returns:
      Returns parameters number.
    • setParameterValue

      void setParameterValue(int parameterIndex, double parameterValue)
      Sets value of function parameter
      Parameters:
      parameterIndex - - parameter index (from 0 to n-1)
      parameterValue - - parameter value
    • getParameterName

      String getParameterName(int parameterIndex)
      Gets parameter name
      Parameters:
      parameterIndex - - parameter index (from 0 to n-1)
      Returns:
      Returns parameter name
    • calculate

      double calculate()
      Actual algorithm implementation.
      Returns:
      Function Extension value.
    • clone

      Cloning in case of usage in Expression with recursive statements.
      Returns:
      Returns FunctionExtension object that was cloned.
      See Also: