public interface MatrixBlockDataInput
| Modifier and Type | Method and Description |
|---|---|
long |
readDoubleArray(int len,
double[] varr)
Reads the double array from the data input into the given dense block
and returns the number of non-zeros.
|
long |
readSparseRows(int rlen,
long nnz,
SparseBlock rows)
Reads the sparse rows array from the data input into a sparse block
and returns the number of non-zeros.
|
long readDoubleArray(int len,
double[] varr)
throws IOException
len - ?varr - ?IOException - if IOException occurslong readSparseRows(int rlen,
long nnz,
SparseBlock rows)
throws IOException
rlen - number of rowsnnz - number of non-zerosrows - sparse blockIOException - if IOExcepton occursCopyright © 2021 The Apache Software Foundation. All rights reserved.