Class DenseMatrix

  • All Implemented Interfaces:
    AutoCloseable, Matrix

    public class DenseMatrix
    extends Object
    implements Matrix
    Represents a dense AnnData matrix.
    Author:
    poirigui
    • Constructor Detail

      • DenseMatrix

        public DenseMatrix​(H5Dataset dataset)
    • Method Detail

      • getShape

        public int[] getShape()
        Description copied from interface: Matrix
        Obtain the shape of this matrix.
        Specified by:
        getShape in interface Matrix
      • getDataType

        public H5Type getDataType()
        Description copied from interface: Matrix
        Obtain the data type used for the scalars of this matrix.
        Specified by:
        getDataType in interface Matrix
      • getData

        public H5Dataset getData()
        Description copied from interface: Matrix
        Obtain the H5 dataset underlying this matrix.
        Specified by:
        getData in interface Matrix
      • close

        public void close()
        Description copied from interface: Matrix
        Release the underlying H5 resource for this matrix.
        Specified by:
        close in interface AutoCloseable
        Specified by:
        close in interface Matrix