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).
Version:
4.3.4
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final double
    Epsilon is used to compare the x value with regards to some given small interval
    double
    The function value in main unit
    double
    The function value in degrees for inverse trigonometric functions
    double
    The x value from f(x)
    double
    The start of the interval where the function value is considered to be by fv and fvdeg
    double
    The 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 unit
    SpecialValue(double x, double fv, double fvdeg)
    Constructor - functions only with values in radians and degrees
  • Method Summary

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • EPSILON

      public static final double EPSILON
      Epsilon is used to compare the x value with regards to some given small interval
      See Also:
    • 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 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 x
      fvdeg - The value of f(x) in degrees for a given x