|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use DoubleFunction | |
---|---|
org.apache.mahout.math | Core base classes; Operations on primitive arrays such as sorting, partitioning and permuting. |
org.apache.mahout.math.function | Core interfaces for functions, comparisons and procedures on objects and primitive data types. |
org.apache.mahout.math.jet.random | |
org.apache.mahout.math.jet.random.engine | Engines generating strong uniformly distributed pseudo-random numbers; Needed by all JET probability distributions since they rely on uniform random numbers to generate random numbers from their own distribution. |
org.apache.mahout.math.map | Automatically growing and shrinking maps holding objects or primitive data types such as int, double, etc. |
org.apache.mahout.math.random |
Uses of DoubleFunction in org.apache.mahout.math |
---|
Methods in org.apache.mahout.math with parameters of type DoubleFunction | |
---|---|
double |
Vector.aggregate(DoubleDoubleFunction aggregator,
DoubleFunction map)
Examples speak louder than words: aggregate(plus, pow(2)) is another way to say getLengthSquared(), aggregate(max, abs) is norm(Double.POSITIVE_INFINITY). |
double |
NamedVector.aggregate(DoubleDoubleFunction aggregator,
DoubleFunction map)
|
double |
Matrix.aggregate(DoubleDoubleFunction combiner,
DoubleFunction mapper)
Collects the results of a function applied to each element of a matrix and then aggregated. |
double |
DelegatingVector.aggregate(DoubleDoubleFunction aggregator,
DoubleFunction map)
|
double |
AbstractVector.aggregate(DoubleDoubleFunction aggregator,
DoubleFunction map)
Aggregates a vector by applying a mapping function fm(x) to every component and aggregating the results with an aggregating function fa(x, y). |
double |
AbstractMatrix.aggregate(DoubleDoubleFunction combiner,
DoubleFunction mapper)
Collects the results of a function applied to each element of a matrix and then aggregated. |
Vector |
Vector.assign(DoubleFunction function)
Apply the function to each element of the receiver |
Vector |
NamedVector.assign(DoubleFunction function)
|
Matrix |
Matrix.assign(DoubleFunction function)
Apply the function to each element of the receiver |
Vector |
DelegatingVector.assign(DoubleFunction function)
|
Vector |
AbstractVector.assign(DoubleFunction f)
|
Matrix |
AbstractMatrix.assign(DoubleFunction function)
|
Uses of DoubleFunction in org.apache.mahout.math.function |
---|
Subclasses of DoubleFunction in org.apache.mahout.math.function | |
---|---|
class |
Mult
Only for performance tuning of compute intensive linear algebraic computations. |
class |
SquareRootFunction
|
Fields in org.apache.mahout.math.function declared as DoubleFunction | |
---|---|
static DoubleFunction |
Functions.ABS
Function that returns Math.abs(a). |
static DoubleFunction |
Functions.ACOS
Function that returns Math.acos(a). |
static DoubleFunction |
Functions.ASIN
Function that returns Math.asin(a). |
static DoubleFunction |
Functions.ATAN
Function that returns Math.atan(a). |
static DoubleFunction |
Functions.CEIL
Function that returns Math.ceil(a). |
static DoubleFunction |
Functions.COS
Function that returns Math.cos(a). |
static DoubleFunction |
Functions.EXP
Function that returns Math.exp(a). |
static DoubleFunction |
Functions.FLOOR
Function that returns Math.floor(a). |
static DoubleFunction |
Functions.IDENTITY
Function that returns its argument. |
static DoubleFunction |
Functions.INV
Function that returns 1.0 / a. |
static DoubleFunction |
Functions.LOG2
Function that returns Math.log(a) / Math.log(2). |
static DoubleFunction |
Functions.LOGARITHM
Function that returns Math.log(a). |
static DoubleFunction |
Functions.NEGATE
Function that returns -a. |
static DoubleFunction |
Functions.RINT
Function that returns Math.rint(a). |
static DoubleFunction |
Functions.SIGMOID
Function that returns 1 / (1 + exp(-a) |
static DoubleFunction |
Functions.SIGMOIDGRADIENT
Function that returns a * (1-a) |
static DoubleFunction |
Functions.SIGN
Function that returns a < 0 ? -1 : a > 0 ? 1 : 0. |
static DoubleFunction |
Functions.SIN
Function that returns Math.sin(a). |
static DoubleFunction |
Functions.SQRT
Function that returns Math.sqrt(a). |
static DoubleFunction |
Functions.SQUARE
Function that returns a * a. |
static DoubleFunction |
Functions.TAN
Function that returns Math.tan(a). |
Methods in org.apache.mahout.math.function that return DoubleFunction | |
---|---|
static DoubleFunction |
Functions.between(double from,
double to)
Constructs a function that returns (from<=a && a<=to) ? 1 : 0. |
static DoubleFunction |
Functions.bindArg1(DoubleDoubleFunction function,
double c)
Constructs a unary function from a binary function with the first operand (argument) fixed to the given constant c. |
static DoubleFunction |
Functions.bindArg2(DoubleDoubleFunction function,
double c)
Constructs a unary function from a binary function with the second operand (argument) fixed to the given constant c. |
static DoubleFunction |
Functions.chain(DoubleFunction g,
DoubleFunction h)
Constructs the function g( h(a) ). |
static DoubleFunction |
Functions.compare(double b)
Constructs a function that returns a < b ? -1 : a > b ? 1 : 0. |
static DoubleFunction |
Functions.constant(double c)
Constructs a function that returns the constant c. |
static DoubleFunction |
Functions.div(double b)
Constructs a function that returns a / b. |
static DoubleFunction |
Functions.equals(double b)
Constructs a function that returns a == b ? 1 : 0. |
static DoubleFunction |
Functions.greater(double b)
Constructs a function that returns a > b ? 1 : 0. |
static DoubleFunction |
Functions.less(double b)
Constructs a function that returns a < b ? 1 : 0. |
static DoubleFunction |
Functions.lg(double b)
Constructs a function that returns Math.log(a) / Math.log(b). |
static DoubleFunction |
Functions.mathIEEEremainder(double b)
Constructs a function that returns Math.IEEEremainder(a,b). |
static DoubleFunction |
Functions.max(double b)
Constructs a function that returns Math.max(a,b). |
static DoubleFunction |
Functions.min(double b)
Constructs a function that returns Math.min(a,b). |
static DoubleFunction |
Functions.minus(double b)
Constructs a function that returns a - b. |
static DoubleFunction |
Functions.mod(double b)
Constructs a function that returns a % b. |
static DoubleFunction |
Functions.mult(double b)
Constructs a function that returns a * b. |
static DoubleFunction |
Functions.plus(double b)
Constructs a function that returns a + b. |
static DoubleFunction |
Functions.pow(double b)
Constructs a function that returns Math.pow(a,b). |
static DoubleFunction |
Functions.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). |
static DoubleFunction |
Functions.round(double precision)
Constructs a function that returns the number rounded to the given precision; Math.rint(a/precision)*precision. |
Methods in org.apache.mahout.math.function with parameters of type DoubleFunction | |
---|---|
static DoubleDoubleFunction |
Functions.chain(DoubleDoubleFunction f,
DoubleFunction g,
DoubleFunction h)
Constructs the function f( g(a), h(b) ). |
static DoubleDoubleFunction |
Functions.chain(DoubleFunction g,
DoubleDoubleFunction h)
Constructs the function g( h(a,b) ). |
static DoubleFunction |
Functions.chain(DoubleFunction g,
DoubleFunction h)
Constructs the function g( h(a) ). |
static IntIntFunction |
Functions.chain(DoubleFunction g,
IntIntFunction h)
Constructs the function g( h(a) ). |
Uses of DoubleFunction in org.apache.mahout.math.jet.random |
---|
Subclasses of DoubleFunction in org.apache.mahout.math.jet.random | |
---|---|
class |
AbstractContinousDistribution
Abstract base class for all continuous distributions. |
class |
AbstractDiscreteDistribution
Abstract base class for all discrete distributions. |
class |
AbstractDistribution
|
class |
Exponential
|
class |
Gamma
|
class |
NegativeBinomial
Mostly deprecated until unit tests are in place. |
class |
Normal
Implements a normal distribution specified mean and standard deviation. |
class |
Poisson
Partially deprecated until unit tests are in place. |
class |
Uniform
|
Uses of DoubleFunction in org.apache.mahout.math.jet.random.engine |
---|
Subclasses of DoubleFunction in org.apache.mahout.math.jet.random.engine | |
---|---|
class |
MersenneTwister
MersenneTwister (MT19937) is one of the strongest uniform pseudo-random number generators known so far; at the same time it is quick. |
class |
RandomEngine
Abstract base class for uniform pseudo-random number generating engines. |
Uses of DoubleFunction in org.apache.mahout.math.map |
---|
Methods in org.apache.mahout.math.map with parameters of type DoubleFunction | |
---|---|
void |
AbstractShortDoubleMap.assign(DoubleFunction function)
Assigns the result of a function to each value; v[i] = function(v[i]). |
void |
AbstractObjectDoubleMap.assign(DoubleFunction function)
Assigns the result of a function to each value; v[i] = function(v[i]). |
void |
AbstractLongDoubleMap.assign(DoubleFunction function)
Assigns the result of a function to each value; v[i] = function(v[i]). |
void |
AbstractIntDoubleMap.assign(DoubleFunction function)
Assigns the result of a function to each value; v[i] = function(v[i]). |
void |
AbstractFloatDoubleMap.assign(DoubleFunction function)
Assigns the result of a function to each value; v[i] = function(v[i]). |
void |
AbstractDoubleDoubleMap.assign(DoubleFunction function)
Assigns the result of a function to each value; v[i] = function(v[i]). |
void |
AbstractCharDoubleMap.assign(DoubleFunction function)
Assigns the result of a function to each value; v[i] = function(v[i]). |
void |
AbstractByteDoubleMap.assign(DoubleFunction function)
Assigns the result of a function to each value; v[i] = function(v[i]). |
Uses of DoubleFunction in org.apache.mahout.math.random |
---|
Subclasses of DoubleFunction in org.apache.mahout.math.random | |
---|---|
class |
AbstractSamplerFunction
This shim allows samplers to be used to initialize vectors. |
class |
Empirical
Samples from an empirical cumulative distribution. |
class |
PoissonSampler
Samples from a Poisson distribution. |
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |