Documentation of 'mikera.vectorz.ops.Inverse' Java class
Inverse
mikera.vectorz.ops

Class Inverse

  • All Implemented Interfaces:
    IOperator


    public class Inverse
    extends Op
    Operator representing the inverse of another operator
    • Constructor Detail

      • Inverse

        public Inverse(Op op)
    • Method Detail

      • apply

        public double apply(double x)
        Description copied from interface: IOperator
        Applies this operator to a single value, returning the result
        Specified by:
        apply in interface IOperator
        Specified by:
        apply in class Op
        Returns:
      • applyInverse

        public double applyInverse(double y)
        Description copied from class: Op
        Applies the inverse of this Op. Throws an error if the inverse function does not exist. Returns Double.NaN if no inverse exists for the specific value of y.
        Overrides:
        applyInverse in class Op
        Returns:
      • minValue

        public double minValue()
        Overrides:
        minValue in class Op
      • maxValue

        public double maxValue()
        Overrides:
        maxValue in class Op
      • minDomain

        public double minDomain()
        Overrides:
        minDomain in class Op
      • maxDomain

        public double maxDomain()
        Overrides:
        maxDomain in class Op
      • derivative

        public double derivative(double y)
        Description copied from class: Op
        Returns the derivative of this Op for a given input value x i.e. f'(x) where f is the operator
        Overrides:
        derivative in class Op
        Returns:
      • getInverse

        public Op getInverse()
        Description copied from interface: IOperator
        Gets the inverse of this operator. Returns null if no inverse exists.
        Specified by:
        getInverse in interface IOperator
        Overrides:
        getInverse in class Op
        Returns:
      • averageValue

        public double averageValue()
        Overrides:
        averageValue in class Op
      • hasInverse

        public boolean hasInverse()
        Description copied from class: Op
        Returns true if this operator supports computing the inverse for a given output
        Overrides:
        hasInverse in class Op
        Returns:
      • hasDerivative

        public boolean hasDerivative()
        Description copied from class: Op
        Returns true if this operator supports computing the derivative for a given input
        Overrides:
        hasDerivative in class Op
        Returns:

DMelt 3.0 © DataMelt by jWork.ORG

You see the box below because you did not login.