Package | Description |
---|---|
org.mariuszgromada.math.mxparser |
Modifier and Type | Class and Description |
---|---|
class |
Argument
Argument class enables to declare the argument
(variable) which can be used in further processing
(in expressions, functions and dependent / recursive arguments).
|
class |
Constant
Constant class provides ability to declare constants.
|
class |
Function
Function class provides possibility to define user functions.
|
class |
RecursiveArgument
RecursiveArgument class enables to declare the argument
(variable) which is defined in a recursive way.
|
Modifier and Type | Method and Description |
---|---|
void |
Function.addDefinitions(PrimitiveElement... elements)
Adds user defined elements (such as: Arguments, Constants, Functions)
to the function expressions.
|
void |
Expression.addDefinitions(PrimitiveElement... elements)
Adds user defined elements (such as: Arguments, Constants, Functions)
to the expressions.
|
void |
Argument.addDefinitions(PrimitiveElement... elements)
Adds user defined elements (such as: Arguments, Constants, Functions)
to the argument expressions.
|
void |
Function.removeDefinitions(PrimitiveElement... elements)
Removes user defined elements (such as: Arguments, Constants, Functions)
from the function expressions.
|
void |
Expression.removeDefinitions(PrimitiveElement... elements)
Removes user defined elements (such as: Arguments, Constants, Functions)
to the expressions.
|
void |
Argument.removeDefinitions(PrimitiveElement... elements)
Removes user defined elements (such as: Arguments, Constants, Functions)
from the argument expressions.
|
Constructor and Description |
---|
Argument(java.lang.String argumentDefinitionString,
PrimitiveElement... elements)
Default constructor - creates argument based on the argument definition string.
|
Argument(java.lang.String argumentName,
java.lang.String argumentExpressionString,
PrimitiveElement... elements)
Constructor - creates dependent argument(with hidden
argument expression).
|
Constant(java.lang.String constantDefinitionString,
PrimitiveElement... elements)
Constructor for function definition in natural math language,
for instance providing on string "f(x,y) = sin(x) + cos(x)"
is enough to define function "f" with parameters "x and y"
and function body "sin(x) + cos(x)".
|
Expression(PrimitiveElement... elements)
Default constructor - empty expression
|
Expression(java.lang.String expressionString,
PrimitiveElement... elements)
Constructor - creates new expression from expression string.
|
Function(java.lang.String functionDefinitionString,
PrimitiveElement... elements)
Constructor for function definition in natural math language,
for instance providing on string "f(x,y) = sin(x) + cos(x)"
is enough to define function "f" with parameters "x and y"
and function body "sin(x) + cos(x)".
|
Function(java.lang.String functionName,
java.lang.String functionExpressionString,
PrimitiveElement... elements)
Constructor - creates function from function name
and function expression string.
|
RecursiveArgument(java.lang.String argumentDefinitionString,
PrimitiveElement... elements)
Constructor - creates argument based on the argument definition string.
|
RecursiveArgument(java.lang.String argumentName,
java.lang.String recursiveExpressionString,
Argument n,
PrimitiveElement... elements)
Constructor - creates recursive argument.
|