Uses of Class
org.mariuszgromada.math.mxparser.Argument
-
Packages that use Argument Package Description org.mariuszgromada.math.mxparser org.mariuszgromada.math.mxparser.mathcollection -
-
Uses of Argument in org.mariuszgromada.math.mxparser
Subclasses of Argument in org.mariuszgromada.math.mxparser Modifier and Type Class Description classRecursiveArgumentRecursiveArgument class enables to declare the argument (variable) which is defined in a recursive way.Fields in org.mariuszgromada.math.mxparser declared as Argument Modifier and Type Field Description (package private) ArgumentArgumentParameter. argumentprotected ArgumentArgument. nIndex argument.Fields in org.mariuszgromada.math.mxparser with type parameters of type Argument Modifier and Type Field Description private java.util.HashMap<Argument,Argument>CloneCache. argumentClonesprivate java.util.HashMap<Argument,Argument>CloneCache. argumentClones(package private) java.util.List<Argument>Expression. argumentsListList of argumentsprivate java.util.List<ElementAtTheEnd<Argument>>CloneCache. argumentsToAddCloneAtTheEndMethods in org.mariuszgromada.math.mxparser that return Argument Modifier and Type Method Description ArgumentArgument. clone()Creates cloned object of this argument.ArgumentArgument. cloneForThreadSafe()Creates a completely independent 1-1 clone that can be safely used by a separate thread.(package private) ArgumentArgument. cloneForThreadSafeInternal(CloneCache cloneCache)(package private) ArgumentArgument. cloneForThreadSafeInternal(Expression relatedExpressionThatInitiatedClone, CloneCache cloneCache)ArgumentArgument. getArgument(int argumentIndex)Gets argument from the argument expression.ArgumentArgument. getArgument(java.lang.String argumentName)Gets argument from the argument expression.ArgumentExpression. getArgument(int argumentIndex)Gets argument from the expression.ArgumentExpression. getArgument(java.lang.String argumentName)Gets argument from the expression.ArgumentFunction. getArgument(int argumentIndex)Gets argument from the function expression.ArgumentFunction. getArgument(java.lang.String argumentName)Gets argument from the function expression.(package private) ArgumentCloneCache. getArgumentClone(Argument arg)Methods in org.mariuszgromada.math.mxparser that return types with arguments of type Argument Modifier and Type Method Description (package private) static java.util.List<Argument>ExpressionUtils. cloneForThreadSafeArgumenstList(Expression relatedExpressionThatInitiatedClone, java.util.List<Argument> argumentsListToClone, CloneCache cloneCache)Methods in org.mariuszgromada.math.mxparser with parameters of type Argument Modifier and Type Method Description voidArgument. addArguments(Argument... arguments)Adds arguments (variadic) to the argument expression definition.voidExpression. addArguments(Argument... arguments)Adds arguments (variadic) to the expression definition.voidFunction. addArguments(Argument... arguments)Adds arguments (variadic) to the function expression definition.(package private) voidCloneCache. cacheArgumentClone(Argument arg, Argument argClone)(package private) voidCloneCache. cacheArgumentToAddCloneAtTheEnd(java.util.List<Argument> argumentsList, Argument argumentBeingCloned, int addAtIndex)doubleFunction. calculate(Argument... arguments)Calculates function value(package private) ArgumentCloneCache. getArgumentClone(Argument arg)static doublemXparser. getFunctionValue(Expression f, Argument x, double x0)Deprecated.Planned to be removed, useMathFunctions.getFunctionValue(Expression, Argument, double)insteadstatic double[]mXparser. getFunctionValues(Expression f, Argument index, double from, double to, double delta)Deprecated.Planned to be removed, useMathFunctions.getFunctionValues(Expression, Argument, double, double, double)insteadvoidArgument. removeArguments(Argument... arguments)Removes first occurrences of the arguments associated with the argument expression.voidExpression. removeArguments(Argument... arguments)Removes first occurrences of the arguments associated with the expression.voidFunction. removeArguments(Argument... arguments)Removes first occurrences of the arguments associated with the function expression.(package private) static voidCalcStepsRegister. setUserArgument(CalcStepsRegister calcStepsRegister, Argument argument)Method parameters in org.mariuszgromada.math.mxparser with type arguments of type Argument Modifier and Type Method Description (package private) static voidExpressionUtils. addArgumentsKeyWords(java.util.List<Argument> argumentsList, java.util.List<KeyWord> keyWordsList)(package private) voidCloneCache. cacheArgumentToAddCloneAtTheEnd(java.util.List<Argument> argumentsList, Argument argumentBeingCloned, int addAtIndex)(package private) static java.util.List<Argument>ExpressionUtils. cloneForThreadSafeArgumenstList(Expression relatedExpressionThatInitiatedClone, java.util.List<Argument> argumentsListToClone, CloneCache cloneCache)Constructors in org.mariuszgromada.math.mxparser with parameters of type Argument Constructor Description Argument(Argument argumentToClone, boolean isThreadSafeClone, CloneCache cloneCache)RecursiveArgument(java.lang.String argumentName, java.lang.String recursiveExpressionString, Argument n, PrimitiveElement... elements)Constructor - creates recursive argument.Constructor parameters in org.mariuszgromada.math.mxparser with type arguments of type Argument Constructor Description Expression(java.lang.String expressionString, java.util.List<Argument> argumentsList, java.util.List<Function> functionsList, java.util.List<Constant> constantsList, boolean internal, boolean UDFExpression, java.util.List<java.lang.Double> UDFVariadicParamsAtRunTime)Package level constructor - creates new expression from expression string, arguments list, functions list and constants list (used by the RecursiveArgument class). -
Uses of Argument in org.mariuszgromada.math.mxparser.mathcollection
Methods in org.mariuszgromada.math.mxparser.mathcollection with parameters of type Argument Modifier and Type Method Description static doubleStatistics. avg(Expression f, Argument index, double from, double to, double delta)Average from sample function values - iterative operator.static doubleCalculus. backwardDifference(Expression f, double h, Argument x)Backward difference(h) operator (at the current value of the argument x)static doubleCalculus. backwardDifference(Expression f, double h, Argument x, double x0)Backward difference(h) operator (at x = x0)static doubleCalculus. backwardDifference(Expression f, Argument x)Backward difference(1) operator (at current value of argument x)static doubleCalculus. backwardDifference(Expression f, Argument x, double x0)Backward difference(1) operator (at x = x0).static doubleCalculus. derivative(Expression f, Argument x, double x0, int derType, double eps, int maxSteps)Numerical derivative at x = x0static doubleCalculus. derivativeNth(Expression f, double n, Argument x, double x0, int derType, double eps, int maxSteps)Numerical n-th derivative at x = x0 (you should avoid calculation of derivatives with order higher than 2).static doubleCalculus. forwardDifference(Expression f, double h, Argument x)Forward difference(h) operator (at the current value of the argument x)static doubleCalculus. forwardDifference(Expression f, double h, Argument x, double x0)Forward difference(h) operator (at x = x0)static doubleCalculus. forwardDifference(Expression f, Argument x)Forward difference(1) operator (at current value of argument x)static doubleCalculus. forwardDifference(Expression f, Argument x, double x0)Forward difference(1) operator (at x = x0)static doubleMathFunctions. getFunctionValue(Expression f, Argument x, double x0)Calculates function f(x0) (given as expression) assigning Argument x = x0;static double[]MathFunctions. getFunctionValues(Expression f, Argument index, double from, double to, double delta)Returns array of double values of the function f(i) calculated on the range: i = from to i = to by step = deltastatic doubleCalculus. integralTrapezoid(Expression f, Argument x, double a, double b, double eps, int maxSteps)Trapezoid numerical integrationstatic doubleNumberTheory. max(Expression f, Argument index, double from, double to, double delta)Maximum value - iterative operator.static doubleNumberTheory. min(Expression f, Argument index, double from, double to, double delta)Minimum value - iterative operator.static doubleNumberTheory. piProduct(Expression f, Argument index, double from, double to, double delta)Product operatorstatic doubleNumberTheory. sigmaSummation(Expression f, Argument index, double from, double to, double delta)Summation operator (SIGMA FROM i = a, to b, f(i) by deltastatic doubleCalculus. solveBrent(Expression f, Argument x, double a, double b, double eps, double maxSteps)Brent solver (Brent root finder)static doubleStatistics. std(Expression f, Argument index, double from, double to, double delta)Bias-corrected standard deviation from sample function values - iterative operator.static doubleStatistics. var(Expression f, Argument index, double from, double to, double delta)Bias-corrected variance from sample function values - iterative operator.
-