|
Parallel Colt 0.9.4 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcern.jet.math.tint.IntPlusMultSecond
public final class IntPlusMultSecond
Only for performance tuning of compute intensive linear algebraic computations. Constructs functions that return one of
Field Summary | |
---|---|
int |
multiplicator
Public read/write access to avoid frequent object construction. |
Method Summary | |
---|---|
int |
apply(int a,
int b)
Returns the result of the function evaluation. |
static IntPlusMultSecond |
minusMult(int constant)
a - b*constant. |
static IntPlusMultSecond |
plusMult(int constant)
a + b*constant. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public int multiplicator
Method Detail |
---|
public final int apply(int a, int b)
apply
in interface IntIntFunction
a
- the first argument passed to the function.b
- the second argument passed to the function.
public static IntPlusMultSecond minusMult(int constant)
public static IntPlusMultSecond plusMult(int constant)
|
Parallel Colt 0.9.4 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |