|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.mahout.math.function.DoubleFunction
org.apache.mahout.math.function.Mult
public final class Mult
Only for performance tuning of compute intensive linear algebraic computations. Constructs functions that return one of
Method Summary | |
---|---|
double |
apply(double a)
Returns the result of the function evaluation. |
static Mult |
div(double constant)
a / constant. |
double |
getMultiplicator()
|
static Mult |
mult(double constant)
a * constant. |
void |
setMultiplicator(double multiplicator)
|
Methods inherited from class org.apache.mahout.math.function.DoubleFunction |
---|
isDensifying |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public double apply(double a)
apply
in class DoubleFunction
a
- double for the argument
public static Mult div(double constant)
public static Mult mult(double constant)
public double getMultiplicator()
public void setMultiplicator(double multiplicator)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |