Interface Matrix
-
- All Superinterfaces:
AutoCloseable
- All Known Implementing Classes:
DenseMatrix
,SparseMatrix
public interface Matrix extends AutoCloseable
Represents an AnnData matrix.- Author:
- poirigui
- See Also:
SparseMatrix
,DenseMatrix
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
close()
Release the underlying H5 resource for this matrix.H5Dataset
getData()
Obtain the H5 dataset underlying this matrix.H5Type
getDataType()
Obtain the data type used for the scalars of this matrix.int[]
getShape()
Obtain the shape of this matrix.
-
-
-
Method Detail
-
getShape
int[] getShape()
Obtain the shape of this matrix.
-
getDataType
H5Type getDataType()
Obtain the data type used for the scalars of this matrix.
-
getData
H5Dataset getData()
Obtain the H5 dataset underlying this matrix.
-
close
void close()
Release the underlying H5 resource for this matrix.- Specified by:
close
in interfaceAutoCloseable
-
-