| Modifier and Type | Method and Description |
|---|---|
double |
apply(double x)
Applies this operator to a single value, returning the result
|
void |
applyTo(double[] data,
int start,
int length)
Applies this operator to the specified range within a double[] array.
|
double |
averageValue() |
static Op |
compose(Op outer,
Op inner) |
static Op |
create(Op a,
Op b) |
double |
derivative(double x)
Returns the derivative of this Op for a given input value x
i.e.
|
double |
derivativeForOutput(double y)
Returns the derivative of this Op for a given output value y
i.e.
|
Op |
getDerivativeOp()
Gets an operator which represents the derivative of this operator.
|
Op |
getInverse()
Gets the inverse of this operator.
|
boolean |
hasDerivative()
Returns true if this operator supports computing the derivative for a given input
|
boolean |
hasDerivativeForOutput()
Returns true if this operator supports computing the derivative for a given output
|
boolean |
hasInverse()
Returns true if this operator supports computing the inverse for a given output
|
boolean |
isBounded()
Returns true if this operator has a known finite upper or lower bound
|
boolean |
isStochastic()
Returns true if the operator is stochastic, i.e returns random values for at least some inputs
|
double |
maxValue() |
double |
minValue() |
String |
toString() |
applyInverse, applyTo, applyTo, applyTo, applyTo, applyTo, applyTo, applyTo, applyTo, compose, constrainValues, divide, getTransform, isDomainBounded, maxDomain, minDomain, product, sum, validateOutputpublic double apply(double x)
IOperatorpublic void applyTo(double[] data,
int start,
int length)
IOperatorpublic boolean isBounded()
Oppublic boolean hasDerivative()
OphasDerivative in class Oppublic boolean hasDerivativeForOutput()
OphasDerivativeForOutput in class Oppublic double derivativeForOutput(double y)
OpderivativeForOutput in class Oppublic double derivative(double x)
Opderivative in class Oppublic Op getDerivativeOp()
OpgetDerivativeOp in class Oppublic boolean hasInverse()
OphasInverse in class Oppublic boolean isStochastic()
OpisStochastic in class Oppublic Op getInverse()
IOperatorgetInverse in interface IOperatorgetInverse in class Oppublic double averageValue()
averageValue in class OpCopyright © 2016. All rights reserved.