Java Code Examples for org.apache.commons.math.util.FastMath#expm1()

The following examples show how to use org.apache.commons.math.util.FastMath#expm1() . You can vote up the ones you like or vote down the ones you don't like, and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example 1
Source File: ArrayRealVector.java    From astor with GNU General Public License v2.0 5 votes vote down vote up
/** {@inheritDoc} */
@Override
public RealVector mapExpm1ToSelf() {
    for (int i = 0; i < data.length; i++) {
        data[i] = FastMath.expm1(data[i]);
    }
    return this;
}
 
Example 2
Source File: Expm1.java    From astor with GNU General Public License v2.0 4 votes vote down vote up
/** {@inheritDoc} */
public double value(double x) {
    return FastMath.expm1(x);
}
 
Example 3
Source File: Expm1Function.java    From astor with GNU General Public License v2.0 4 votes vote down vote up
public double value(double x) {
    return FastMath.expm1(x);
}
 
Example 4
Source File: ComposableFunction.java    From astor with GNU General Public License v2.0 4 votes vote down vote up
/** {@inheritDoc} */
@Override
public double value(double d) {
    return FastMath.expm1(d);
}
 
Example 5
Source File: Expm1.java    From astor with GNU General Public License v2.0 4 votes vote down vote up
/** {@inheritDoc} */
public double value(double x) {
    return FastMath.expm1(x);
}
 
Example 6
Source File: Expm1Function.java    From astor with GNU General Public License v2.0 4 votes vote down vote up
public double value(double x) {
    return FastMath.expm1(x);
}
 
Example 7
Source File: Expm1.java    From astor with GNU General Public License v2.0 4 votes vote down vote up
/** {@inheritDoc} */
public double value(double x) {
    return FastMath.expm1(x);
}
 
Example 8
Source File: Expm1Function.java    From astor with GNU General Public License v2.0 4 votes vote down vote up
public double value(double x) {
    return FastMath.expm1(x);
}