|
Colt 1.2.0 | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object cern.jet.math.PlusMult
Only for performance tuning of compute intensive linear algebraic computations. Constructs functions that return one of
Field Summary | |
double |
multiplicator
Public read/write access to avoid frequent object construction. |
Method Summary | |
double |
apply(double a,
double b)
Returns the result of the function evaluation. |
static PlusMult |
minusDiv(double constant)
a - b/constant. |
static PlusMult |
minusMult(double constant)
a - b*constant. |
static PlusMult |
plusDiv(double constant)
a + b/constant. |
static PlusMult |
plusMult(double constant)
a + b*constant. |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public double multiplicator
Method Detail |
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 PlusMult minusDiv(double constant)
public static PlusMult minusMult(double constant)
public static PlusMult plusDiv(double constant)
public static PlusMult plusMult(double constant)
|
Colt 1.2.0 | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |