public final class FloatPlusMultFirst 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 FloatPlusMultFirst |
minusDiv(float constant)
a/constant - b.
|
static FloatPlusMultFirst |
minusMult(float constant)
a*constant - b.
|
static FloatPlusMultFirst |
plusDiv(float constant)
a/constant + b.
|
static FloatPlusMultFirst |
plusMult(float constant)
a*constant + b.
|
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 FloatPlusMultFirst minusDiv(float constant)
public static FloatPlusMultFirst minusMult(float constant)
public static FloatPlusMultFirst plusDiv(float constant)
public static FloatPlusMultFirst plusMult(float constant)
Jump to the Parallel Colt Homepage