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