Class MultiplyHermitianAndVector

  • All Implemented Interfaces:
    ArrayOperation

    public abstract class MultiplyHermitianAndVector
    extends java.lang.Object
    implements ArrayOperation
    Multiplies an hermitian (square symmetric) matrix with a vector. Will only read from the lower/left triangular part of the matrix, and will only calculate the lower/left part of the results.
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static int THRESHOLD  
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static void invoke​(double[] productMatrix, int firstRow, int rowLimit, double[] hermitianMatrix, double[] rightVector, int firstColumn)  
      static <N extends Scalar<N>>
      void
      invoke​(N[] productMatrix, int firstRow, int rowLimit, N[] hermitianMatrix, N[] rightVector, int firstColumn, Scalar.Factory<N> scalar)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • THRESHOLD

        public static int THRESHOLD
    • Constructor Detail

      • MultiplyHermitianAndVector

        public MultiplyHermitianAndVector()
    • Method Detail

      • invoke

        public static void invoke​(double[] productMatrix,
                                  int firstRow,
                                  int rowLimit,
                                  double[] hermitianMatrix,
                                  double[] rightVector,
                                  int firstColumn)
      • invoke

        public static <N extends Scalar<N>> void invoke​(N[] productMatrix,
                                                        int firstRow,
                                                        int rowLimit,
                                                        N[] hermitianMatrix,
                                                        N[] rightVector,
                                                        int firstColumn,
                                                        Scalar.Factory<N> scalar)