Class SpecialValue
java.lang.Object
org.mariuszgromada.math.mxparser.mathcollection.SpecialValue
SpecialValue - generic class for storing special values of various functions (e.g.: inverse trigonometric).
- Version:
- 4.3.4
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final double
Epsilon is used to compare the x value with regards to some given small intervaldouble
The function value in main unitdouble
The function value in degrees for inverse trigonometric functionsdouble
The x value from f(x)double
The start of the interval where the function value is considered to be by fv and fvdegdouble
The end of the interval where the function value is considered to be by fv and fvdeg -
Constructor Summary
ConstructorsConstructorDescriptionSpecialValue
(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 -
Method Summary
-
Field Details
-
EPSILON
public static final double EPSILONEpsilon is used to compare the x value with regards to some given small interval- See Also:
-
x
public double xThe x value from f(x) -
xFrom
public double xFromThe start of the interval where the function value is considered to be by fv and fvdeg -
xTo
public double xToThe end of the interval where the function value is considered to be by fv and fvdeg -
fv
public double fvThe function value in main unit -
fvdeg
public double fvdegThe function value in degrees for inverse trigonometric functions
-
-
Constructor Details
-
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
-