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