Class Infantino2010PCA

    • Field Detail

      • T

        protected final int T
      • N

        protected final int N
      • H

        protected final int H
      • k

        protected final int k
    • Constructor Detail

      • Infantino2010PCA

        public Infantino2010PCA​(int T,
                                int N,
                                int H,
                                int k,
                                boolean parallelized)
    • Method Detail

      • sumUpLastRows

        public static Vector sumUpLastRows​(Matrix D,
                                           int lastIndex,
                                           int nRows)
        Sums up, for each column, the last nRows rows.
        Parameters:
        D - a matrix
        lastIndex - the ending index of the rows to be summed up
        nRows - the number of rows including and above the ending index to be summed up
        Returns:
        the (running) column sum