Class SpecialValue
- java.lang.Object
-
- org.mariuszgromada.math.mxparser.mathcollection.SpecialValue
-
public class SpecialValue extends Object
SpecialValue - generic class for storing special values of various functions (e.g.: inverse trigonometric).
-
-
Field Summary
Fields Modifier and Type Field Description static doubleEPSILONEpsilon is used to compare the x value with regards to some given small intervaldoublefvThe function value in main unitdoublefvdegThe function value in degrees for inverse trigonometric functionsdoublexThe x value from f(x)doublexFromThe start of the interval where the function value is considered to be by fv and fvdegdoublexToThe end of the interval where the function value is considered to be by fv and fvdeg
-
Constructor Summary
Constructors Constructor Description SpecialValue(double x, double fv)Main constructor - functions only with main unitSpecialValue(double x, double fv, double fvdeg)Constructor - functions only with values in radians and degrees
-
-
-
Field Detail
-
EPSILON
public static final double EPSILON
Epsilon is used to compare the x value with regards to some given small interval- See Also:
- Constant Field Values
-
x
public double x
The x value from f(x)
-
xFrom
public double xFrom
The start of the interval where the function value is considered to be by fv and fvdeg
-
xTo
public double xTo
The end of the interval where the function value is considered to be by fv and fvdeg
-
fv
public double fv
The function value in main unit
-
fvdeg
public double fvdeg
The function value in degrees for inverse trigonometric functions
-
-
Constructor Detail
-
SpecialValue
public SpecialValue(double x, double fv)Main constructor - functions only with main unit- Parameters:
x- The value of x from f(x)fv- The value of f(x) for a given x
-
SpecialValue
public SpecialValue(double x, double fv, double fvdeg)Constructor - functions only with values in radians and degrees- Parameters:
x- The value of x from f(x)fv- The value of f(x) in radians for a given xfvdeg- The value of f(x) in degrees for a given x
-
-