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