| 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(AMatrix a)
Applies this operator to every element of a target matrix, mutating the matrix
|
void |
applyTo(AVector a)
Applies this operator to a mutable vector.
|
void |
applyTo(double[] data,
int start,
int length)
Applies this operator to the specified range within a double[] array.
|
void |
applyTo(INDArray a)
Applies this operator to every element of a target array.
|
double |
averageValue() |
static Op |
create(double exponent) |
static Op |
create(double exponent,
double factor) |
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.
|
double |
getExponent() |
Op |
getInverse()
Gets the inverse of this operator.
|
boolean |
hasDerivative()
Returns true if this operator supports computing the derivative for a given input
|
boolean |
hasInverse()
Returns true if this operator supports computing the inverse for a given output
|
double |
minDomain() |
applyTo, applyTo, applyTo, applyTo, applyTo, compose, compose, constrainValues, divide, getTransform, hasDerivativeForOutput, isBounded, isDomainBounded, isStochastic, maxDomain, maxValue, minValue, product, sum, toString, validateOutputpublic static Op create(double exponent)
public static Op create(double exponent, double factor)
public double apply(double x)
IOperatorpublic void applyTo(INDArray a)
Oppublic void applyTo(AMatrix a)
Oppublic void applyTo(AVector a)
IOperatorpublic void applyTo(double[] data,
int start,
int length)
IOperatorpublic double applyInverse(double x)
OpapplyInverse in class Oppublic boolean hasDerivative()
OphasDerivative in class Oppublic double derivative(double x)
Opderivative in class Oppublic double derivativeForOutput(double y)
OpderivativeForOutput in class Oppublic Op getDerivativeOp()
OpgetDerivativeOp in class Oppublic boolean hasInverse()
OphasInverse in class Oppublic Op getInverse()
IOperatorgetInverse in interface IOperatorgetInverse in class Oppublic double averageValue()
averageValue in class Oppublic double getExponent()
Copyright © 2016. All rights reserved.