public class MatrixMetadata extends Metadata
| Constructor and Description | 
|---|
| MatrixMetadata() | 
| MatrixMetadata(DataCharacteristics dataCharacteristics)Constructor to create a MatrixMetadata object based on a
 DataCharacteristics object. | 
| MatrixMetadata(int numRows,
              int numColumns)Constructor to create a MatrixMetadata object based on the number of rows
 and the number of columns in a matrix. | 
| MatrixMetadata(int numRows,
              int numColumns,
              int blen)Constructor to create a MatrixMetadata object based on the number of
 rows, the number of columns, the number of rows per block, and the number
 of columns per block in a matrix. | 
| MatrixMetadata(int numRows,
              int numColumns,
              int numNonZeros,
              int blen)Constructor to create a MatrixMetadata object based on the number of
 rows, the number of columns, the number of non-zero values, the number of
 rows per block, and the number of columns per block in a matrix. | 
| MatrixMetadata(Long numRows,
              Long numColumns)Constructor to create a MatrixMetadata object based on the number of rows
 and the number of columns in a matrix. | 
| MatrixMetadata(Long numRows,
              Long numColumns,
              Integer blen)Constructor to create a MatrixMetadata object based on the number of
 rows, the number of columns, the number of rows per block, and the number
 of columns per block in a matrix. | 
| MatrixMetadata(Long numRows,
              Long numColumns,
              Long numNonZeros)Constructor to create a MatrixMetadata object based on the number of
 rows, the number of columns, and the number of non-zero values in a
 matrix. | 
| MatrixMetadata(Long numRows,
              Long numColumns,
              Long numNonZeros,
              Integer blen)Constructor to create a MatrixMetadata object based on the number of
 rows, the number of columns, the number of non-zero values, the number of
 rows per block, and the number of columns per block in a matrix. | 
| MatrixMetadata(MatrixFormat matrixFormat)Constructor to create a MatrixMetadata object based on matrix format. | 
| MatrixMetadata(MatrixFormat matrixFormat,
              int numRows,
              int numColumns)Constructor to create a MatrixMetadata object based on matrix format, the
 number of rows, and the number of columns in a matrix. | 
| MatrixMetadata(MatrixFormat matrixFormat,
              int numRows,
              int numColumns,
              int numNonZeros)Constructor to create a MatrixMetadata object based on matrix format, the
 number of rows, the number of columns, and the number of non-zero values
 in a matrix. | 
| MatrixMetadata(MatrixFormat matrixFormat,
              int numRows,
              int numColumns,
              int numNonZeros,
              int blen)Constructor to create a MatrixMetadata object based on matrix format, the
 number of rows, the number of columns, the number of non-zero values, the
 number of rows per block, and the number of columns per block in a
 matrix. | 
| MatrixMetadata(MatrixFormat matrixFormat,
              Long numRows,
              Long numColumns)Constructor to create a MatrixMetadata object based on matrix format, the
 number of rows, and the number of columns in a matrix. | 
| MatrixMetadata(MatrixFormat matrixFormat,
              Long numRows,
              Long numColumns,
              Long numNonZeros)Constructor to create a MatrixMetadata object based on matrix format, the
 number of rows, the number of columns, and the number of non-zero values
 in a matrix. | 
| MatrixMetadata(MatrixFormat matrixFormat,
              Long numRows,
              Long numColumns,
              Long numNonZeros,
              Integer blen)Constructor to create a MatrixMetadata object based on matrix format, the
 number of rows, the number of columns, the number of non-zero values, the
 number of rows per block, and the number of columns per block in a
 matrix. | 
| Modifier and Type | Method and Description | 
|---|---|
| MatrixFormat | getMatrixFormat()Obtain the matrix format | 
| void | setMatrixFormat(MatrixFormat matrixFormat)Set the matrix format | 
asMatrixCharacteristics, getBlocksize, getNumColumns, getNumNonZeros, getNumRows, setBlocksize, setMatrixCharacteristics, setNumColumns, setNumNonZeros, setNumRows, toStringpublic MatrixMetadata()
public MatrixMetadata(MatrixFormat matrixFormat)
matrixFormat - The matrix format.public MatrixMetadata(MatrixFormat matrixFormat, Long numRows, Long numColumns)
matrixFormat - The matrix format.numRows - The number of rows in the matrix.numColumns - The number of columns in the matrix.public MatrixMetadata(MatrixFormat matrixFormat, int numRows, int numColumns)
matrixFormat - The matrix format.numRows - The number of rows in the matrix.numColumns - The number of columns in the matrix.public MatrixMetadata(MatrixFormat matrixFormat, Long numRows, Long numColumns, Long numNonZeros)
matrixFormat - The matrix format.numRows - The number of rows in the matrix.numColumns - The number of columns in the matrix.numNonZeros - The number of non-zero values in the matrix.public MatrixMetadata(MatrixFormat matrixFormat, int numRows, int numColumns, int numNonZeros)
matrixFormat - The matrix format.numRows - The number of rows in the matrix.numColumns - The number of columns in the matrix.numNonZeros - The number of non-zero values in the matrix.public MatrixMetadata(MatrixFormat matrixFormat, Long numRows, Long numColumns, Long numNonZeros, Integer blen)
matrixFormat - The matrix format.numRows - The number of rows in the matrix.numColumns - The number of columns in the matrix.numNonZeros - The number of non-zero values in the matrix.blen - The number of rows/cols per block in the matrix.public MatrixMetadata(MatrixFormat matrixFormat, int numRows, int numColumns, int numNonZeros, int blen)
matrixFormat - The matrix format.numRows - The number of rows in the matrix.numColumns - The number of columns in the matrix.numNonZeros - The number of non-zero values in the matrix.blen - The number of rows/cols per block in the matrix.public MatrixMetadata(Long numRows, Long numColumns)
numRows - The number of rows in the matrix.numColumns - The number of columns in the matrix.public MatrixMetadata(int numRows,
                      int numColumns)
numRows - The number of rows in the matrix.numColumns - The number of columns in the matrix.public MatrixMetadata(Long numRows, Long numColumns, Long numNonZeros)
numRows - The number of rows in the matrix.numColumns - The number of columns in the matrix.numNonZeros - The number of non-zero values in the matrix.public MatrixMetadata(Long numRows, Long numColumns, Integer blen)
numRows - The number of rows in the matrix.numColumns - The number of columns in the matrix.blen - The number of rows/cols per block in the matrix.public MatrixMetadata(int numRows,
                      int numColumns,
                      int blen)
numRows - The number of rows in the matrix.numColumns - The number of columns in the matrix.blen - The number of rows/cols per block in the matrix.public MatrixMetadata(Long numRows, Long numColumns, Long numNonZeros, Integer blen)
numRows - The number of rows in the matrix.numColumns - The number of columns in the matrix.numNonZeros - The number of non-zero values in the matrix.blen - The number of rows/cols per block in the matrix.public MatrixMetadata(int numRows,
                      int numColumns,
                      int numNonZeros,
                      int blen)
numRows - The number of rows in the matrix.numColumns - The number of columns in the matrix.numNonZeros - The number of non-zero values in the matrix.blen - The number of rows/cols per block in the matrix.public MatrixMetadata(DataCharacteristics dataCharacteristics)
dataCharacteristics - the matrix metadata as a DataCharacteristics objectpublic MatrixFormat getMatrixFormat()
public void setMatrixFormat(MatrixFormat matrixFormat)
matrixFormat - the matrix formatCopyright © 2020 The Apache Software Foundation. All rights reserved.