| Modifier and Type | Field and Description |
|---|---|
static Constant |
HALF |
static Constant |
ONE |
static Constant |
TWO |
double |
value |
static Constant |
ZERO |
| Modifier and Type | Method and Description |
|---|---|
double |
apply(double x)
Applies this operator to a single value, returning the result
|
double |
applyInverse(double x)
Applies the inverse of this Op.
|
void |
applyTo(AVector v)
Applies this operator to a mutable vector.
|
void |
applyTo(double[] data)
Applies this operator to every element in a double[] array, mutating the array in place
|
void |
applyTo(double[] data,
int start,
int length)
Applies this operator to the specified range within a double[] array.
|
void |
applyTo(INDArray v)
Applies this operator to every element of a target array.
|
double |
averageValue() |
Op |
compose(Op op) |
static Constant |
create(double constant) |
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.
|
double |
getConstant() |
Op |
getDerivativeOp()
Gets an operator which represents the derivative of this operator.
|
double |
getFactor() |
double |
maxValue() |
double |
minValue() |
Op |
product(Op op) |
hasDerivative, hasInverse, sum, sumapplyTo, applyTo, applyTo, applyTo, applyTo, compose, constrainValues, divide, getInverse, getTransform, hasDerivativeForOutput, isBounded, isDomainBounded, isStochastic, maxDomain, minDomain, toString, validateOutputpublic final double value
public static final Constant ZERO
public static final Constant HALF
public static final Constant ONE
public static final Constant TWO
public static final Constant create(double constant)
public double apply(double x)
IOperatorpublic double applyInverse(double x)
OpapplyInverse in class Oppublic void applyTo(INDArray v)
Oppublic void applyTo(AVector v)
IOperatorpublic void applyTo(double[] data)
Oppublic void applyTo(double[] data,
int start,
int length)
IOperatorpublic double getConstant()
getConstant in class ALinearOppublic double averageValue()
averageValue in class Oppublic double derivative(double x)
Opderivative in class ALinearOppublic double derivativeForOutput(double y)
OpderivativeForOutput in class ALinearOppublic Op getDerivativeOp()
OpgetDerivativeOp in class ALinearOpCopyright © 2016. All rights reserved.