mikera.vectorz.ops
Class Division
- java.lang.Object
-
- mikera.vectorz.Op
-
- mikera.vectorz.ops.Division
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method and Description doubleapply(double x)Applies this operator to a single value, returning the resultdoubleaverageValue()static Opcreate(Op a, Op b)doublederivative(double x)Returns the derivative of this Op for a given input value x i.e.OpgetDerivativeOp()Gets an operator which represents the derivative of this operator.booleanhasDerivative()Returns true if this operator supports computing the derivative for a given inputbooleanhasDerivativeForOutput()Returns true if this operator supports computing the derivative for a given outputbooleanisStochastic()Returns true if the operator is stochastic, i.e returns random values for at least some inputsjava.lang.StringtoString()-
Methods inherited from class mikera.vectorz.Op
applyInverse, applyTo, applyTo, applyTo, applyTo, applyTo, applyTo, applyTo, applyTo, applyTo, compose, compose, constrainValues, derivativeForOutput, divide, getInverse, getTransform, hasInverse, isBounded, isDomainBounded, maxDomain, maxValue, minDomain, minValue, product, sum, validateOutput
-
-
-
-
Method Detail
-
isStochastic
public boolean isStochastic()
Description copied from class:OpReturns true if the operator is stochastic, i.e returns random values for at least some inputs- Overrides:
isStochasticin classOp- Returns:
-
apply
public double apply(double x)
Description copied from interface:IOperatorApplies this operator to a single value, returning the result
-
averageValue
public double averageValue()
- Overrides:
averageValuein classOp
-
hasDerivative
public boolean hasDerivative()
Description copied from class:OpReturns true if this operator supports computing the derivative for a given input- Overrides:
hasDerivativein classOp- Returns:
-
hasDerivativeForOutput
public boolean hasDerivativeForOutput()
Description copied from class:OpReturns true if this operator supports computing the derivative for a given output- Overrides:
hasDerivativeForOutputin classOp- Returns:
-
derivative
public double derivative(double x)
Description copied from class:OpReturns the derivative of this Op for a given input value x i.e. f'(x) where f is the operator- Overrides:
derivativein classOp- Returns:
-
getDerivativeOp
public Op getDerivativeOp()
Description copied from class:OpGets an operator which represents the derivative of this operator. Returns nil if this cannot be computed or does not exist.- Overrides:
getDerivativeOpin classOp- Returns:
-
-
DMelt 3.0 © DataMelt by jWork.ORG