Class Evaluate
- java.lang.Object
-
- org.mariuszgromada.math.mxparser.mathcollection.Evaluate
-
public final class Evaluate extends Object
Evaluate - currently only polynomial evaluation based on provided coefficients.- Version:
- 5.0.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
or support me purchasing the license via ORDER Page , or INFIMA online store
-
-
Constructor Summary
Constructors Constructor Description Evaluate()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static double
p1evl(double x, double[] coef, int n)
Polynomial evaluation for theSpecialFunctions.logGamma(double)
static double
polevl(double x, double[] coef, int n)
Polynomial evaluation for theSpecialFunctions.logGamma(double)
static double
polynomial(double x, double[] coefficients)
Polynomial evaluation based on provided coefficients.
-
-
-
Method Detail
-
polynomial
public static double polynomial(double x, double[] coefficients)
Polynomial evaluation based on provided coefficients.- Parameters:
x
- Point at which polynomial will be evaluatedcoefficients
- Polynomial coefficients- Returns:
- Polynomial value
-
p1evl
public static double p1evl(double x, double[] coef, int n)
Polynomial evaluation for theSpecialFunctions.logGamma(double)
- Parameters:
x
- Argument valuecoef
- List of polynomial coefficientsn
- Polynomial degree- Returns:
- Polynomial value
-
polevl
public static double polevl(double x, double[] coef, int n)
Polynomial evaluation for theSpecialFunctions.logGamma(double)
- Parameters:
x
- Argument valuecoef
- List of polynomial coefficientsn
- Polynomial degree- Returns:
- Polynomial value
-
-