Package cern.jet.math
Class Mult
java.lang.Object
cern.jet.math.Mult
- All Implemented Interfaces:
DoubleFunction
Only for performance tuning of compute intensive linear algebraic
computations. Constructs functions that return one of
a * constanta / constant
a is variable, constant is fixed, but for performance
reasons publicly accessible. Intended to be passed to
matrix.assign(function) methods.-
Field Summary
FieldsModifier and TypeFieldDescriptiondoublePublic read/write access to avoid frequent object construction. -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedMult(double multiplicator) Insert the method's description here. -
Method Summary
-
Field Details
-
multiplicator
public double multiplicatorPublic read/write access to avoid frequent object construction.
-
-
Constructor Details
-
Mult
protected Mult(double multiplicator) Insert the method's description here. Creation date: (8/10/99 19:12:09)
-
-
Method Details
-
apply
public final double apply(double a) Returns the result of the function evaluation.- Specified by:
applyin interfaceDoubleFunction- Parameters:
a- argument passed to the function.- Returns:
- the result of the function.
-
div
a / constant. -
mult
a * constant.
-