Uses of Class
org.mariuszgromada.math.mxparser.PrimitiveElement
Packages that use PrimitiveElement
-
Uses of PrimitiveElement in org.mariuszgromada.math.mxparser
Subclasses of PrimitiveElement in org.mariuszgromada.math.mxparserModifier and TypeClassDescriptionclass
Argument class enables to declare the argument (variable) which can be used in further processing (in expressions, functions and dependent / recursive arguments).class
Constant class provides ability to declare constants.class
Expression - base class for real expressions definition.class
Function class provides possibility to define user functions.class
RecursiveArgument class enables to declare the argument (variable) which is defined in a recursive way.Methods in org.mariuszgromada.math.mxparser with parameters of type PrimitiveElementModifier and TypeMethodDescriptionvoid
Argument.addDefinitions
(PrimitiveElement... elements) Adds user defined elements (such as: Arguments, Constants, Functions) to the argument expressions.void
Expression.addDefinitions
(PrimitiveElement... elements) Adds user defined elements (such as: Arguments, Constants, Functions) to the expressions.void
Function.addDefinitions
(PrimitiveElement... elements) Adds user defined elements (such as: Arguments, Constants, Functions) to the function expressions.void
Argument.removeDefinitions
(PrimitiveElement... elements) Removes user defined elements (such as: Arguments, Constants, Functions) from the argument expressions.void
Expression.removeDefinitions
(PrimitiveElement... elements) Removes user defined elements (such as: Arguments, Constants, Functions) to the expressions.void
Function.removeDefinitions
(PrimitiveElement... elements) Removes user defined elements (such as: Arguments, Constants, Functions) from the function expressions.void
Function.setFunction
(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)".Constructors in org.mariuszgromada.math.mxparser with parameters of type PrimitiveElementModifierConstructorDescriptionArgument
(String argumentDefinitionString, boolean forceDependent, PrimitiveElement... elements) Default constructor - creates argument based on the argument definition string.Argument
(String argumentName, String argumentExpressionString, PrimitiveElement... elements) Constructor - creates dependent argument(with hidden argument expression).Argument
(String argumentDefinitionString, PrimitiveElement... elements) Default constructor - creates argument based on the argument definition string.Constant
(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
(String expressionString, PrimitiveElement... elements) Constructor - creates new expression from expression string.Expression
(PrimitiveElement... elements) Default constructor - empty expressionFunction
(String functionName, String functionExpressionString, PrimitiveElement... elements) Constructor - creates function from function name and function expression string.Function
(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)".RecursiveArgument
(String argumentName, String recursiveExpressionString, Argument n, PrimitiveElement... elements) Constructor - creates recursive argument.RecursiveArgument
(String argumentDefinitionString, PrimitiveElement... elements) Constructor - creates argument based on the argument definition string.