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

Class ALinearOp

    • Constructor Detail

      • ALinearOp

        public ALinearOp()
    • Method Detail

      • getFactor

        public abstract double getFactor()
      • getConstant

        public abstract double getConstant()
      • 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:
      • applyTo

        public void applyTo(INDArray a)
        Description copied from class: Op
        Applies this operator to every element of a target array. Mutates the array in place.
        Overrides:
        applyTo in class Op
      • applyTo

        public void applyTo(AVector v)
        Description copied from interface: IOperator
        Applies this operator to a mutable vector.
        Specified by:
        applyTo in interface IOperator
        Overrides:
        applyTo in class Op
      • 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:
      • getDerivativeOp

        public Op getDerivativeOp()
        Description copied from class: Op
        Gets an operator which represents the derivative of this operator. Returns nil if this cannot be computed or does not exist.
        Overrides:
        getDerivativeOp in class Op
        Returns:
      • 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:
      • compose

        public Op compose(Op op)
        Overrides:
        compose in class Op
      • sum

        public Op sum(Op op)
        Overrides:
        sum in class Op

DMelt 3.0 © DataMelt by jWork.ORG

You see the box below because you did not login.