public final class DoublePlusMultSecond extends Object implements DoubleDoubleFunction
Modifier and Type | Field and Description |
---|---|
double |
multiplicator
Public read/write access to avoid frequent object construction.
|
Modifier and Type | Method and Description |
---|---|
double |
apply(double a,
double b)
Returns the result of the function evaluation.
|
static DoublePlusMultSecond |
minusDiv(double constant)
a - b/constant.
|
static DoublePlusMultSecond |
minusMult(double constant)
a - b*constant.
|
static DoublePlusMultSecond |
plusDiv(double constant)
a + b/constant.
|
static DoublePlusMultSecond |
plusMult(double constant)
a + b*constant.
|
public double multiplicator
public final double apply(double a, double b)
apply
in interface DoubleDoubleFunction
a
- the first argument passed to the function.b
- the second argument passed to the function.public static DoublePlusMultSecond minusDiv(double constant)
public static DoublePlusMultSecond minusMult(double constant)
public static DoublePlusMultSecond plusDiv(double constant)
public static DoublePlusMultSecond plusMult(double constant)
Jump to the Parallel Colt Homepage