Class SpecialValueTrigonometric
- java.lang.Object
-
- org.mariuszgromada.math.mxparser.mathcollection.SpecialValueTrigonometric
-
public class SpecialValueTrigonometric extends Object
SpecialValueTrigonometric - stores special values for trigonometric and inverse trigonometric functions.
-
-
Field Summary
Fields Modifier and Type Field Description doublecosThe cosine function valuestatic doubleCOS_0static doubleCOS_120static doubleCOS_135static doubleCOS_150static doubleCOS_180static doubleCOS_210static doubleCOS_225static doubleCOS_240static doubleCOS_270static doubleCOS_30static doubleCOS_300static doubleCOS_315static doubleCOS_330static doubleCOS_360static doubleCOS_45static doubleCOS_60static doubleCOS_90doublecscThe cosecant function valuestatic doubleCSC_0static doubleCSC_120static doubleCSC_135static doubleCSC_150static doubleCSC_180static doubleCSC_210static doubleCSC_225static doubleCSC_240static doubleCSC_270static doubleCSC_30static doubleCSC_300static doubleCSC_315static doubleCSC_330static doubleCSC_360static doubleCSC_45static doubleCSC_60static doubleCSC_90doublectanThe cotangent function valuestatic doubleCTAN_0static doubleCTAN_120static doubleCTAN_135static doubleCTAN_150static doubleCTAN_180static doubleCTAN_210static doubleCTAN_225static doubleCTAN_240static doubleCTAN_270static doubleCTAN_30static doubleCTAN_300static doubleCTAN_315static doubleCTAN_330static doubleCTAN_360static doubleCTAN_45static doubleCTAN_60static doubleCTAN_90static doubleEPSILONEpsilon is used to compare the x value with regards to some given small intervaldoublefactorAngle factor in Pi radiansdoublesecThe secant function valuestatic doubleSEC_0static doubleSEC_120static doubleSEC_135static doubleSEC_150static doubleSEC_180static doubleSEC_210static doubleSEC_225static doubleSEC_240static doubleSEC_270static doubleSEC_30static doubleSEC_300static doubleSEC_315static doubleSEC_330static doubleSEC_360static doubleSEC_45static doubleSEC_60static doubleSEC_90doublesinThe sine function valuestatic doubleSIN_0static doubleSIN_120static doubleSIN_135static doubleSIN_150static doubleSIN_180static doubleSIN_210static doubleSIN_225static doubleSIN_240static doubleSIN_270static doubleSIN_30static doubleSIN_300static doubleSIN_315static doubleSIN_330static doubleSIN_360static doubleSIN_45static doubleSIN_60static doubleSIN_90doubletanThe tangent function valuestatic doubleTAN_0static doubleTAN_120static doubleTAN_135static doubleTAN_150static doubleTAN_180static doubleTAN_210static doubleTAN_225static doubleTAN_240static doubleTAN_270static doubleTAN_30static doubleTAN_300static doubleTAN_315static doubleTAN_330static doubleTAN_360static doubleTAN_45static doubleTAN_60static doubleTAN_90static List<SpecialValue>valuesListAcosList of special values of inverse cosine functionstatic List<SpecialValue>valuesListAcscList of special values of inverse cosecant functionstatic List<SpecialValue>valuesListActanList of special values of inverse cotangent functionstatic List<SpecialValue>valuesListAsecList of special values of inverse secant functionstatic List<SpecialValue>valuesListAsinList of special values of inverse sine functionstatic List<SpecialValue>valuesListAtanList of special values of inverse tangent functionstatic SpecialValueTrigonometric[]valuesListTrigList of special values for all main trigonometric functionsdoublexdegAngle in degreesdoublexradAngle in radiansdoublexradFromAngle in radians - the start of the interval where the function value is givendoublexradToAngle in radians - the end of the interval where the function value is given
-
Constructor Summary
Constructors Constructor Description SpecialValueTrigonometric(double factor, double sin, double cos, double tan, double ctan, double sec, double csc)Main constructor
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static SpecialValuegetSpecialValueAcos(double x)Returns special value of inverse trigonometric cosine functionstatic SpecialValuegetSpecialValueAcsc(double x)Returns special value of inverse trigonometric cosecant functionstatic SpecialValuegetSpecialValueActan(double x)Returns special value of inverse trigonometric cotangent functionstatic SpecialValuegetSpecialValueAsec(double x)Returns special value of inverse trigonometric secant functionstatic SpecialValuegetSpecialValueAsin(double x)Returns special value of inverse trigonometric sine functionstatic SpecialValuegetSpecialValueAtan(double x)Returns special value of inverse trigonometric tangent functionstatic SpecialValueTrigonometricgetSpecialValueTrigonometric(double xrad)Returns special values of trigonometric functions
-
-
-
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
-
SIN_0
public static final double SIN_0
- See Also:
- Constant Field Values
-
COS_0
public static final double COS_0
- See Also:
- Constant Field Values
-
TAN_0
public static final double TAN_0
- See Also:
- Constant Field Values
-
CTAN_0
public static final double CTAN_0
- See Also:
- Constant Field Values
-
SEC_0
public static final double SEC_0
- See Also:
- Constant Field Values
-
CSC_0
public static final double CSC_0
- See Also:
- Constant Field Values
-
SIN_30
public static final double SIN_30
- See Also:
- Constant Field Values
-
COS_30
public static final double COS_30
-
TAN_30
public static final double TAN_30
-
CTAN_30
public static final double CTAN_30
-
SEC_30
public static final double SEC_30
-
CSC_30
public static final double CSC_30
- See Also:
- Constant Field Values
-
SIN_45
public static final double SIN_45
-
COS_45
public static final double COS_45
-
TAN_45
public static final double TAN_45
- See Also:
- Constant Field Values
-
CTAN_45
public static final double CTAN_45
- See Also:
- Constant Field Values
-
SEC_45
public static final double SEC_45
-
CSC_45
public static final double CSC_45
-
SIN_60
public static final double SIN_60
-
COS_60
public static final double COS_60
- See Also:
- Constant Field Values
-
TAN_60
public static final double TAN_60
-
CTAN_60
public static final double CTAN_60
-
SEC_60
public static final double SEC_60
- See Also:
- Constant Field Values
-
CSC_60
public static final double CSC_60
-
SIN_90
public static final double SIN_90
- See Also:
- Constant Field Values
-
COS_90
public static final double COS_90
- See Also:
- Constant Field Values
-
TAN_90
public static final double TAN_90
- See Also:
- Constant Field Values
-
CTAN_90
public static final double CTAN_90
- See Also:
- Constant Field Values
-
SEC_90
public static final double SEC_90
- See Also:
- Constant Field Values
-
CSC_90
public static final double CSC_90
- See Also:
- Constant Field Values
-
SIN_120
public static final double SIN_120
-
COS_120
public static final double COS_120
- See Also:
- Constant Field Values
-
TAN_120
public static final double TAN_120
-
CTAN_120
public static final double CTAN_120
-
SEC_120
public static final double SEC_120
- See Also:
- Constant Field Values
-
CSC_120
public static final double CSC_120
-
SIN_135
public static final double SIN_135
-
COS_135
public static final double COS_135
-
TAN_135
public static final double TAN_135
- See Also:
- Constant Field Values
-
CTAN_135
public static final double CTAN_135
- See Also:
- Constant Field Values
-
SEC_135
public static final double SEC_135
-
CSC_135
public static final double CSC_135
-
SIN_150
public static final double SIN_150
- See Also:
- Constant Field Values
-
COS_150
public static final double COS_150
-
TAN_150
public static final double TAN_150
-
CTAN_150
public static final double CTAN_150
-
SEC_150
public static final double SEC_150
-
CSC_150
public static final double CSC_150
- See Also:
- Constant Field Values
-
SIN_180
public static final double SIN_180
- See Also:
- Constant Field Values
-
COS_180
public static final double COS_180
- See Also:
- Constant Field Values
-
TAN_180
public static final double TAN_180
- See Also:
- Constant Field Values
-
CTAN_180
public static final double CTAN_180
- See Also:
- Constant Field Values
-
SEC_180
public static final double SEC_180
- See Also:
- Constant Field Values
-
CSC_180
public static final double CSC_180
- See Also:
- Constant Field Values
-
SIN_210
public static final double SIN_210
- See Also:
- Constant Field Values
-
COS_210
public static final double COS_210
-
TAN_210
public static final double TAN_210
-
CTAN_210
public static final double CTAN_210
-
SEC_210
public static final double SEC_210
-
CSC_210
public static final double CSC_210
- See Also:
- Constant Field Values
-
SIN_225
public static final double SIN_225
-
COS_225
public static final double COS_225
-
TAN_225
public static final double TAN_225
- See Also:
- Constant Field Values
-
CTAN_225
public static final double CTAN_225
- See Also:
- Constant Field Values
-
SEC_225
public static final double SEC_225
-
CSC_225
public static final double CSC_225
-
SIN_240
public static final double SIN_240
-
COS_240
public static final double COS_240
- See Also:
- Constant Field Values
-
TAN_240
public static final double TAN_240
-
CTAN_240
public static final double CTAN_240
-
SEC_240
public static final double SEC_240
- See Also:
- Constant Field Values
-
CSC_240
public static final double CSC_240
-
SIN_270
public static final double SIN_270
- See Also:
- Constant Field Values
-
COS_270
public static final double COS_270
- See Also:
- Constant Field Values
-
TAN_270
public static final double TAN_270
- See Also:
- Constant Field Values
-
CTAN_270
public static final double CTAN_270
- See Also:
- Constant Field Values
-
SEC_270
public static final double SEC_270
- See Also:
- Constant Field Values
-
CSC_270
public static final double CSC_270
- See Also:
- Constant Field Values
-
SIN_300
public static final double SIN_300
-
COS_300
public static final double COS_300
- See Also:
- Constant Field Values
-
TAN_300
public static final double TAN_300
-
CTAN_300
public static final double CTAN_300
-
SEC_300
public static final double SEC_300
- See Also:
- Constant Field Values
-
CSC_300
public static final double CSC_300
-
SIN_315
public static final double SIN_315
-
COS_315
public static final double COS_315
-
TAN_315
public static final double TAN_315
- See Also:
- Constant Field Values
-
CTAN_315
public static final double CTAN_315
- See Also:
- Constant Field Values
-
SEC_315
public static final double SEC_315
-
CSC_315
public static final double CSC_315
-
SIN_330
public static final double SIN_330
- See Also:
- Constant Field Values
-
COS_330
public static final double COS_330
-
TAN_330
public static final double TAN_330
-
CTAN_330
public static final double CTAN_330
-
SEC_330
public static final double SEC_330
-
CSC_330
public static final double CSC_330
- See Also:
- Constant Field Values
-
SIN_360
public static final double SIN_360
- See Also:
- Constant Field Values
-
COS_360
public static final double COS_360
- See Also:
- Constant Field Values
-
TAN_360
public static final double TAN_360
- See Also:
- Constant Field Values
-
CTAN_360
public static final double CTAN_360
- See Also:
- Constant Field Values
-
SEC_360
public static final double SEC_360
- See Also:
- Constant Field Values
-
CSC_360
public static final double CSC_360
- See Also:
- Constant Field Values
-
valuesListTrig
public static SpecialValueTrigonometric[] valuesListTrig
List of special values for all main trigonometric functions
-
valuesListAsin
public static List<SpecialValue> valuesListAsin
List of special values of inverse sine function
-
valuesListAcos
public static List<SpecialValue> valuesListAcos
List of special values of inverse cosine function
-
valuesListAtan
public static List<SpecialValue> valuesListAtan
List of special values of inverse tangent function
-
valuesListActan
public static List<SpecialValue> valuesListActan
List of special values of inverse cotangent function
-
valuesListAsec
public static List<SpecialValue> valuesListAsec
List of special values of inverse secant function
-
valuesListAcsc
public static List<SpecialValue> valuesListAcsc
List of special values of inverse cosecant function
-
factor
public double factor
Angle factor in Pi radians
-
xrad
public double xrad
Angle in radians
-
xdeg
public double xdeg
Angle in degrees
-
xradFrom
public double xradFrom
Angle in radians - the start of the interval where the function value is given
-
xradTo
public double xradTo
Angle in radians - the end of the interval where the function value is given
-
sin
public double sin
The sine function value
-
cos
public double cos
The cosine function value
-
tan
public double tan
The tangent function value
-
ctan
public double ctan
The cotangent function value
-
sec
public double sec
The secant function value
-
csc
public double csc
The cosecant function value
-
-
Constructor Detail
-
SpecialValueTrigonometric
public SpecialValueTrigonometric(double factor, double sin, double cos, double tan, double ctan, double sec, double csc)Main constructor- Parameters:
factor- The angle provided as a factor of PIsin- The sine function valuecos- The cosine function valuetan- The tangent function valuectan- The cotangent function valuesec- The secant function valuecsc- The cosecant function value
-
-
Method Detail
-
getSpecialValueTrigonometric
public static final SpecialValueTrigonometric getSpecialValueTrigonometric(double xrad)
Returns special values of trigonometric functions- Parameters:
xrad- The angle provided in radians- Returns:
- Returns special values of trigonometric functions object if the special value was found for a given x otherwise returns null
-
getSpecialValueAsin
public static final SpecialValue getSpecialValueAsin(double x)
Returns special value of inverse trigonometric sine function- Parameters:
x- The sine value- Returns:
- Returns special value object if special value was found, other wise returns null.
-
getSpecialValueAcos
public static final SpecialValue getSpecialValueAcos(double x)
Returns special value of inverse trigonometric cosine function- Parameters:
x- The cosine value- Returns:
- Returns special value object if special value was found, other wise returns null.
-
getSpecialValueAtan
public static final SpecialValue getSpecialValueAtan(double x)
Returns special value of inverse trigonometric tangent function- Parameters:
x- The tangent value- Returns:
- Returns special value object if special value was found, other wise returns null.
-
getSpecialValueActan
public static final SpecialValue getSpecialValueActan(double x)
Returns special value of inverse trigonometric cotangent function- Parameters:
x- The cotangent value- Returns:
- Returns special value object if special value was found, other wise returns null.
-
getSpecialValueAsec
public static final SpecialValue getSpecialValueAsec(double x)
Returns special value of inverse trigonometric secant function- Parameters:
x- The secant value- Returns:
- Returns special value object if special value was found, other wise returns null.
-
getSpecialValueAcsc
public static final SpecialValue getSpecialValueAcsc(double x)
Returns special value of inverse trigonometric cosecant function- Parameters:
x- The cosecant value- Returns:
- Returns special value object if special value was found, other wise returns null.
-
-