Class TransposedStore<N extends java.lang.Comparable<N>>

    • Constructor Detail

    • Method Detail

      • aggregateColumn

        public N aggregateColumn​(long col,
                                 Aggregator aggregator)
      • aggregateRow

        public N aggregateRow​(long row,
                              Aggregator aggregator)
      • get

        public N get​(int aRow,
                     int aCol)
      • multiply

        public MatrixStore<N> multiply​(MatrixStore<N> right)
        Parameters:
        right - The multiplicand
        Returns:
        this * multiplicand.
      • sliceColumn

        public Access1D<N> sliceColumn​(long col)
      • sliceRow

        public Access1D<N> sliceRow​(long row)
      • toScalar

        public Scalar<N> toScalar​(int row,
                                  int col)
        Description copied from interface: Matrix2D
        Extracts one element of this matrix as a Scalar.
        Parameters:
        row - A row index.
        col - A column index.
        Returns:
        One matrix element as a Scalar.
      • transpose

        public MatrixStore<N> transpose()
        Returns:
        A transposed matrix instance.
      • visitColumn

        public void visitColumn​(long col,
                                VoidFunction<N> visitor)
      • visitRow

        public void visitRow​(long row,
                             VoidFunction<N> visitor)