Documentation of 'mikera.vectorz.IOperator' Java class
IOperator
mikera.vectorz

Interface IOperator

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method and Description
      double apply(double x)
      Applies this operator to a single value, returning the result
      void applyTo(AVector v)
      Applies this operator to a mutable vector.
      void applyTo(AVector v, int start, int length)
      Applies this operator to the specified range within a mutable vector.
      void applyTo(double[] data, int start, int length)
      Applies this operator to the specified range within a double[] array.
      void applyTo(double[] data, int start, int stride, int length)
      Applies this operator to the specified strided range within a double[] array.
      Op getInverse()
      Gets the inverse of this operator.
      ATransform getTransform(int dims)
      Converts an operator into a corresponding transform that applies the operator to all elements of its input
    • Method Detail

      • apply

        double apply(double x)
        Applies this operator to a single value, returning the result
        Parameters:
        x -
        Returns:
      • applyTo

        void applyTo(AVector v)
        Applies this operator to a mutable vector.
        Parameters:
        x -
      • applyTo

        void applyTo(AVector v,
                     int start,
                     int length)
        Applies this operator to the specified range within a mutable vector.
        Parameters:
        x -
      • applyTo

        void applyTo(double[] data,
                     int start,
                     int length)
        Applies this operator to the specified range within a double[] array.
        Parameters:
        x -
      • applyTo

        void applyTo(double[] data,
                     int start,
                     int stride,
                     int length)
        Applies this operator to the specified strided range within a double[] array.
        Parameters:
        x -
      • getTransform

        ATransform getTransform(int dims)
        Converts an operator into a corresponding transform that applies the operator to all elements of its input
        Parameters:
        dims -
        Returns:
      • getInverse

        Op getInverse()
        Gets the inverse of this operator. Returns null if no inverse exists.
        Returns:

DMelt 3.0 © DataMelt by jWork.ORG

You see the box below because you did not login.