public final class Mult extends Object implements DoubleFunction
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)
Returns the result of the function evaluation.
|
static Mult |
div(double constant)
a / constant.
|
static Mult |
mult(double constant)
a * constant.
|
public double multiplicator
public final double apply(double a)
apply
in interface DoubleFunction
a
- argument passed to the function.public static Mult div(double constant)
public static Mult mult(double constant)
Jas4pp 1.5 © Java Analysis Studio for Particle Physics