public class Composed extends Op
| Modifier and Type | Method and Description |
|---|---|
double |
apply(double x)
Applies the operator to a single value, returning the result
|
void |
applyTo(double[] data,
int start,
int length) |
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() |
Op |
getInverse() |
boolean |
hasDerivative() |
boolean |
hasDerivativeForOutput() |
boolean |
hasInverse() |
boolean |
isBounded() |
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, compose, constrainValues, divide, getTransform, inputDimensions, isDomainBounded, maxDomain, minDomain, outputDimensions, product, sum, transform, validateOutputpublic double apply(double x)
IOppublic void applyTo(double[] data,
int start,
int length)
public boolean hasDerivative()
hasDerivative in class Oppublic boolean hasDerivativeForOutput()
hasDerivativeForOutput in class Oppublic double derivativeForOutput(double y)
OpderivativeForOutput in class Oppublic double derivative(double x)
Opderivative in class Oppublic Op getDerivativeOp()
getDerivativeOp in class Oppublic boolean hasInverse()
hasInverse in class Oppublic boolean isStochastic()
OpisStochastic in class Oppublic Op getInverse()
getInverse in interface IOpgetInverse in class Oppublic double averageValue()
averageValue in class OpCopyright © 2013. All Rights Reserved.