Example usage for Java org.apache.commons.math.util FastMath fields, constructors, methods, implement or subclass
The text is from its open source code.
double | PI Archimede's constant PI, ratio of circle circumference to diameter. |
int | abs(final int x) Absolute value. |
long | abs(final long x) Absolute value. |
float | abs(final float x) Absolute value. |
double | abs(double x) Absolute value. |
double | acos(double x) Compute the arc cosine of a number. |
double | asin(double x) Compute the arc sine of a number. |
double | atan(double x) Arctangent function |
double | atan2(double y, double x) Two arguments arctangent function |
double | ceil(double x) Get the smallest whole number larger than x. |
double | cos(double x) Cosine function |
double | exp(double x) Exponential function. |
double | floor(double x) Get the largest whole number smaller than x. |
double | log(final double x) Natural logarithm. |
double | log10(final double x) Compute the base 10 logarithm. |
double | log1p(final double x) Compute log(1 + x). |
int | max(final int a, final int b) Compute the maximum of two values |
long | max(final long a, final long b) Compute the maximum of two values |
float | max(final float a, final float b) Compute the maximum of two values |
double | max(final double a, final double b) Compute the maximum of two values |
int | min(final int a, final int b) Compute the minimum of two values |
long | min(final long a, final long b) Compute the minimum of two values |
float | min(final float a, final float b) Compute the minimum of two values |
double | min(final double a, final double b) Compute the minimum of two values |
double | pow(double x, double y) Power function. |
long | round(double x) Get the closest long to x. |
int | round(final float x) Get the closest int to x. |
double | sin(double x) Sine function. |
double | sqrt(final double a) Compute the square root of a number. |
double | tan(double x) Tangent function |