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).
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final doubleEpsilon is used to compare the x value in regard to some given small intervaldoubleThe function value in main unitdoubleThe function value in degrees for inverse trigonometric functionsstatic booleanIf true, special value / special case will not be recognizeddoubleThe x value from f(x)doubleThe start of the interval where the function value is considered to be by fv and fvdegdoubleThe 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
-
specialCasesDisabled
public static boolean specialCasesDisabledIf true, special value / special case will not be recognized -
EPSILON
public static final double EPSILONEpsilon is used to compare the x value in regard 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
-