Example usage for Java org.apache.mahout.math.function Functions fields, constructors, methods, implement or subclass
The text is from its open source code.
DoubleFunction | ABS Function that returns Math.abs(a). |
DoubleFunction | EXP Function that returns Math.exp(a). |
DoubleFunction | IDENTITY Function that returns its argument. |
DoubleFunction | INV Function that returns 1.0 / a. |
DoubleFunction | SQRT Function that returns Math.sqrt(a). |
DoubleFunction | SQUARE Function that returns a * a. |
DoubleDoubleFunction | MAX Function that returns Math.max(a,b). |
DoubleDoubleFunction | PLUS Function that returns a + b. |
DoubleDoubleFunction | PLUS_ABS Function that returns Math.abs(a) + Math.abs(b). |
DoubleDoubleFunction | chain(final DoubleFunction g, final DoubleDoubleFunction h) Constructs the function g( h(a,b) ). |
DoubleFunction | chain(final DoubleFunction g, final DoubleFunction h) Constructs the function g( h(a) ). |
IntIntFunction | chain(final DoubleFunction g, final IntIntFunction h) Constructs the function g( h(a) ). |
DoubleDoubleFunction | plusMult(double constant) Constructs a function that returns a + b*constant. |
DoubleFunction | random() Constructs a function that returns a new uniform random number in the open unit interval (0.0,1.0) (excluding 0.0 and 1.0). |
DoubleDoubleFunction | swapArgs(final DoubleDoubleFunction function) Constructs a function that returns function.apply(b,a), i.e. |