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

Class StochasticBinary

    • Constructor Detail

      • StochasticBinary

        public StochasticBinary()
    • Method Detail

      • isStochastic

        public boolean isStochastic()
        Description copied from class: Op
        Returns true if the operator is stochastic, i.e returns random values for at least some inputs
        Overrides:
        isStochastic in class Op
        Returns:
      • 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:
      • 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:
      • derivative

        public double derivative(double x)
        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:
      • derivativeForOutput

        public double derivativeForOutput(double y)
        Description copied from class: Op
        Returns 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:
        derivativeForOutput in class Op
        Returns:

DMelt 3.0 © DataMelt by jWork.ORG

You see the box below because you did not login.