Class CacheMatrix<R,​C>

  • All Implemented Interfaces:
    DataFrame<R,​C,​java.lang.Number>, Matrix<R,​C>

    public class CacheMatrix<R,​C>
    extends AbstractMatrix<R,​C>
    • Constructor Detail

      • CacheMatrix

        public CacheMatrix​(Matrix<R,​C> matrix)
    • Method Detail

      • getDouble

        public double getDouble​(R row,
                                C column)
      • getData

        public double[][] getData()
      • getRowIndex

        public UniqueIndex<R> getRowIndex()
        Description copied from interface: DataFrame
        Gets the index used to access the rows.
        Returns:
        the row index
      • getColumnIndex

        public UniqueIndex<C> getColumnIndex()
        Description copied from interface: DataFrame
        Gets the index used to access the columns.
        Returns:
        the column index