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