mikera.vectorz.ops
Class ARoundingOp
- java.lang.Object
-
- mikera.vectorz.Op
-
- mikera.vectorz.ops.AFunctionOp
-
- mikera.vectorz.ops.ARoundingOp
-
- All Implemented Interfaces:
- IOperator
- Direct Known Subclasses:
- Signum
public abstract class ARoundingOp extends AFunctionOp
-
-
Constructor Summary
Constructors Constructor and Description ARoundingOp()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method and Description doubleaverageValue()doublederivative(double x)Returns the derivative of this Op for a given input value x i.e.doublederivativeForOutput(double y)Returns the derivative of this Op for a given output value y i.e.booleanhasDerivativeForOutput()Returns true if this operator supports computing the derivative for a given outputbooleanhasInverse()Returns true if this operator supports computing the inverse for a given output-
Methods inherited from class mikera.vectorz.Op
apply, applyInverse, applyTo, applyTo, applyTo, applyTo, applyTo, applyTo, applyTo, applyTo, applyTo, compose, compose, constrainValues, divide, getDerivativeOp, getInverse, getTransform, hasDerivative, isBounded, isDomainBounded, isStochastic, maxDomain, maxValue, minDomain, minValue, product, sum, toString, validateOutput
-
-
-
-
Method Detail
-
averageValue
public double averageValue()
- Overrides:
averageValuein classAFunctionOp
-
hasInverse
public boolean hasInverse()
Description copied from class:OpReturns true if this operator supports computing the inverse for a given output- Overrides:
hasInversein 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:
-
derivativeForOutput
public double derivativeForOutput(double y)
Description copied from class:OpReturns the derivative of this Op for a given output value y i.e. f'(g(y)) where f is the operator, g is the inverse of f- Overrides:
derivativeForOutputin classOp- Returns:
-
-
DMelt 3.0 © DataMelt by jWork.ORG