|
Parallel Colt 0.7.2 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcern.jet.math.tint.IntPlusMultFirst
public final class IntPlusMultFirst
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 IntPlusMultFirst |
minusMult(int constant)
a - b*constant. |
static IntPlusMultFirst |
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 IntIntFunctiona - the first argument passed to the function.b - the second argument passed to the function.
public static IntPlusMultFirst minusMult(int constant)
public static IntPlusMultFirst plusMult(int constant)
|
Parallel Colt 0.7.2 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||