Java org.apache.commons.math.util FastMath fields, constructors, methods, implement or subclass

Example usage for Java org.apache.commons.math.util FastMath fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for org.apache.commons.math.util FastMath.

The text is from its open source code.

Field

doublePI
Archimede's constant PI, ratio of circle circumference to diameter.

Method

intabs(final int x)
Absolute value.
longabs(final long x)
Absolute value.
floatabs(final float x)
Absolute value.
doubleabs(double x)
Absolute value.
doubleacos(double x)
Compute the arc cosine of a number.
doubleasin(double x)
Compute the arc sine of a number.
doubleatan(double x)
Arctangent function
doubleatan2(double y, double x)
Two arguments arctangent function
doubleceil(double x)
Get the smallest whole number larger than x.
doublecos(double x)
Cosine function
doubleexp(double x)
Exponential function.
doublefloor(double x)
Get the largest whole number smaller than x.
doublelog(final double x)
Natural logarithm.
doublelog10(final double x)
Compute the base 10 logarithm.
doublelog1p(final double x)
Compute log(1 + x).
intmax(final int a, final int b)
Compute the maximum of two values
longmax(final long a, final long b)
Compute the maximum of two values
floatmax(final float a, final float b)
Compute the maximum of two values
doublemax(final double a, final double b)
Compute the maximum of two values
intmin(final int a, final int b)
Compute the minimum of two values
longmin(final long a, final long b)
Compute the minimum of two values
floatmin(final float a, final float b)
Compute the minimum of two values
doublemin(final double a, final double b)
Compute the minimum of two values
doublepow(double x, double y)
Power function.
longround(double x)
Get the closest long to x.
intround(final float x)
Get the closest int to x.
doublesin(double x)
Sine function.
doublesqrt(final double a)
Compute the square root of a number.
doubletan(double x)
Tangent function