org.sbml.jsbml.util
public class Maths extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static double |
AVOGADRO_L3V1
Avogadro's constant of 6.02214179 ⋅ 1023
mol-1.
|
static double |
R
Universal gas constant of 8.314472 J ⋅ mol-1 ⋅
K-1 according to D.
|
Modifier | Constructor and Description |
---|---|
private |
Maths()
Constructor that should not be used; this class provides static methods
only.
|
Modifier and Type | Method and Description |
---|---|
static double |
arccosh(double n)
This method computes the arccosh of n
|
static double |
arccot(double x)
This method computes the arcus-cotangens of a double value.
|
static double |
arccoth(double n)
This method computes the arccoth of n
|
static double |
arccsc(double x)
This method computes the arccosecant of a double value
|
static double |
arccsch(double n)
This method computes the arccsch of n
|
static double |
arcsec(double x)
This method computes the arcsecant of a double value
|
static double |
arcsech(double n)
This method computes the arcsech of n
|
static double |
arcsinh(double n)
This method computes the arcsinh of n
|
static double |
arctanh(double n)
This method computes the arctanh of n
|
static double |
cot(double n)
This method computes the cot of n
|
static double |
coth(double n)
This method computes the coth of n
|
static double |
csc(double n)
This method computes the csc of n
|
static double |
csch(double n)
This method computes the csch of n
|
static long |
factorial(int n)
This method computes the factorial! function.
|
static boolean |
isInt(double x)
Checks if the given argument represents an integer number, i.e., if it can
be casted to int without loosing information.
|
static double |
ln(double n)
This method computes the ln of n
|
static double |
log(double n)
This method computes the log of n to the base 10
|
static double |
log(double number,
double base)
This method computes the logarithm of a number x to a giving base b.
|
static double |
root(double radiant,
double rootExponent)
This method computes the rootExponent-th root of the radiant
|
static double |
sec(double x)
This method computes the secant of a double value.
|
static double |
sech(double n)
This method computes the sech of n
|
public static final double AVOGADRO_L3V1
public static final double R
private Maths()
public static final double arccosh(double n)
n
- public static final double arccot(double x)
x
- public static final double arccoth(double n)
n
- public static final double arccsc(double x)
x
- public static final double arccsch(double n)
n
- public static final double arcsec(double x)
x
- public static final double arcsech(double n)
n
- public static final double arcsinh(double n)
n
- public static final double arctanh(double n)
n
- public static final double cot(double n)
n
- public static final double coth(double n)
n
- public static final double csc(double n)
n
- public static final double csch(double n)
n
- public static final long factorial(int n)
n
- public static final boolean isInt(double x)
x
- public static final double ln(double n)
n
- public static final double log(double n)
n
- public static final double log(double number, double base)
number
- base
- public static final double root(double radiant, double rootExponent)
radiant
- rootExponent
- public static final double sec(double x)
x
- public static final double sech(double n)
n
-