Package | Description |
---|---|
org.apache.sysml.api.mlcontext |
Modifier and Type | Method and Description |
---|---|
MatrixFormat |
MatrixMetadata.getMatrixFormat()
Obtain the matrix format
|
static MatrixFormat |
MatrixFormat.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static MatrixFormat[] |
MatrixFormat.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
void |
MatrixMetadata.setMatrixFormat(MatrixFormat matrixFormat)
Set the matrix format
|
Constructor and Description |
---|
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 numRowsPerBlock,
int numColumnsPerBlock)
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 numRowsPerBlock,
Integer numColumnsPerBlock)
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.
|
Copyright © 2017 The Apache Software Foundation. All rights reserved.