Uses of Class
org.mariuszgromada.math.mxparser.PrimitiveElement
-
Packages that use PrimitiveElement Package Description org.mariuszgromada.math.mxparser -
-
Uses of PrimitiveElement in org.mariuszgromada.math.mxparser
Subclasses of PrimitiveElement in org.mariuszgromada.math.mxparser Modifier and Type Class Description classArgumentArgument class enables to declare the argument (variable) which can be used in further processing (in expressions, functions and dependent / recursive arguments).classConstantConstant class provides ability to declare constants.classExpressionExpression - base class for real expressions definition.classFunctionFunction class provides possibility to define user functions.classRecursiveArgumentRecursiveArgument class enables to declare the argument (variable) which is defined in a recursive way.Methods in org.mariuszgromada.math.mxparser with parameters of type PrimitiveElement Modifier and Type Method Description voidArgument. addDefinitions(PrimitiveElement... elements)Adds user defined elements (such as: Arguments, Constants, Functions) to the argument expressions.voidExpression. addDefinitions(PrimitiveElement... elements)Adds user defined elements (such as: Arguments, Constants, Functions) to the expressions.voidFunction. addDefinitions(PrimitiveElement... elements)Adds user defined elements (such as: Arguments, Constants, Functions) to the function expressions.voidArgument. removeDefinitions(PrimitiveElement... elements)Removes user defined elements (such as: Arguments, Constants, Functions) from the argument expressions.voidExpression. removeDefinitions(PrimitiveElement... elements)Removes user defined elements (such as: Arguments, Constants, Functions) to the expressions.voidFunction. removeDefinitions(PrimitiveElement... elements)Removes user defined elements (such as: Arguments, Constants, Functions) from the function expressions.voidFunction. 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 PrimitiveElement Constructor Description Argument(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.
-