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.- Version:
- 5.2.0
- Author:
- Mariusz Gromada
MathParser.org - mXparser project page
mXparser on GitHub
INFIMA place to purchase a commercial MathParser.org-mXparser software license
info@mathparser.org
ScalarMath.org - a powerful math engine and math scripting language
Scalar Lite
Scalar Pro
MathSpace.pl
Buy me a cup of coffee via donation
or support me purchasing the license via ORDER Page , or INFIMA online store
-
-
Field Summary
Fields Modifier and Type Field Description double
cos
The cosine function valuestatic double
COS_0
static double
COS_120
static double
COS_135
static double
COS_150
static double
COS_180
static double
COS_210
static double
COS_225
static double
COS_240
static double
COS_270
static double
COS_30
static double
COS_300
static double
COS_315
static double
COS_330
static double
COS_360
static double
COS_45
static double
COS_60
static double
COS_90
double
csc
The cosecant function valuestatic double
CSC_0
static double
CSC_120
static double
CSC_135
static double
CSC_150
static double
CSC_180
static double
CSC_210
static double
CSC_225
static double
CSC_240
static double
CSC_270
static double
CSC_30
static double
CSC_300
static double
CSC_315
static double
CSC_330
static double
CSC_360
static double
CSC_45
static double
CSC_60
static double
CSC_90
double
ctan
The cotangent function valuestatic double
CTAN_0
static double
CTAN_120
static double
CTAN_135
static double
CTAN_150
static double
CTAN_180
static double
CTAN_210
static double
CTAN_225
static double
CTAN_240
static double
CTAN_270
static double
CTAN_30
static double
CTAN_300
static double
CTAN_315
static double
CTAN_330
static double
CTAN_360
static double
CTAN_45
static double
CTAN_60
static double
CTAN_90
static double
EPSILON
Epsilon is used to compare the x value with regards to some given small intervaldouble
factor
Angle factor in Pi radiansdouble
sec
The secant function valuestatic double
SEC_0
static double
SEC_120
static double
SEC_135
static double
SEC_150
static double
SEC_180
static double
SEC_210
static double
SEC_225
static double
SEC_240
static double
SEC_270
static double
SEC_30
static double
SEC_300
static double
SEC_315
static double
SEC_330
static double
SEC_360
static double
SEC_45
static double
SEC_60
static double
SEC_90
double
sin
The sine function valuestatic double
SIN_0
static double
SIN_120
static double
SIN_135
static double
SIN_150
static double
SIN_180
static double
SIN_210
static double
SIN_225
static double
SIN_240
static double
SIN_270
static double
SIN_30
static double
SIN_300
static double
SIN_315
static double
SIN_330
static double
SIN_360
static double
SIN_45
static double
SIN_60
static double
SIN_90
double
tan
The tangent function valuestatic double
TAN_0
static double
TAN_120
static double
TAN_135
static double
TAN_150
static double
TAN_180
static double
TAN_210
static double
TAN_225
static double
TAN_240
static double
TAN_270
static double
TAN_30
static double
TAN_300
static double
TAN_315
static double
TAN_330
static double
TAN_360
static double
TAN_45
static double
TAN_60
static double
TAN_90
static List<SpecialValue>
valuesListAcos
List of special values of inverse cosine functionstatic List<SpecialValue>
valuesListAcsc
List of special values of inverse cosecant functionstatic List<SpecialValue>
valuesListActan
List of special values of inverse cotangent functionstatic List<SpecialValue>
valuesListAsec
List of special values of inverse secant functionstatic List<SpecialValue>
valuesListAsin
List of special values of inverse sine functionstatic List<SpecialValue>
valuesListAtan
List of special values of inverse tangent functionstatic SpecialValueTrigonometric[]
valuesListTrig
List of special values for all main trigonometric functionsdouble
xdeg
Angle in degreesdouble
xrad
Angle in radiansdouble
xradFrom
Angle in radians - the start of the interval where the function value is givendouble
xradTo
Angle 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 SpecialValue
getSpecialValueAcos(double x)
Returns special value of inverse trigonometric cosine functionstatic SpecialValue
getSpecialValueAcsc(double x)
Returns special value of inverse trigonometric cosecant functionstatic SpecialValue
getSpecialValueActan(double x)
Returns special value of inverse trigonometric cotangent functionstatic SpecialValue
getSpecialValueAsec(double x)
Returns special value of inverse trigonometric secant functionstatic SpecialValue
getSpecialValueAsin(double x)
Returns special value of inverse trigonometric sine functionstatic SpecialValue
getSpecialValueAtan(double x)
Returns special value of inverse trigonometric tangent functionstatic SpecialValueTrigonometric
getSpecialValueTrigonometric(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 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 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, otherwise returns null.
-
getSpecialValueAcos
public static 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, otherwise returns null.
-
getSpecialValueAtan
public static 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, otherwise returns null.
-
getSpecialValueActan
public static 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, otherwise returns null.
-
getSpecialValueAsec
public static 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, otherwise returns null.
-
getSpecialValueAcsc
public static 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, otherwise returns null.
-
-