public interface MatrixFlavor
Modifier and Type | Interface and Description |
---|---|
static class |
MatrixFlavor.FlavorImpl |
Modifier and Type | Field and Description |
---|---|
static MatrixFlavor |
DENSELIKE
This default for
DenseMatrix -like structures |
static MatrixFlavor |
DIAGONALLIKE
This is default flavor for
DiagonalMatrix and the likes. |
static MatrixFlavor |
SPARSELIKE
This is default flavor for
SparseRowMatrix -like. |
static MatrixFlavor |
SPARSEROWLIKE
This is default flavor for
SparseMatrix -like structures, i.e. |
Modifier and Type | Method and Description |
---|---|
BackEnum |
getBacking()
Whether matrix is backed by a native system -- such as java memory, lapack/atlas, Magma etc.
|
TraversingStructureEnum |
getStructure()
Structure flavors
|
boolean |
isDense() |
static final MatrixFlavor DENSELIKE
DenseMatrix
-like structuresstatic final MatrixFlavor SPARSELIKE
SparseRowMatrix
-like.static final MatrixFlavor SPARSEROWLIKE
SparseMatrix
-like structures, i.e. sparse matrix blocks,
where few, perhaps most, rows may be missing entirely.static final MatrixFlavor DIAGONALLIKE
DiagonalMatrix
and the likes.BackEnum getBacking()
TraversingStructureEnum getStructure()
boolean isDense()
Copyright © 2008–2017 The Apache Software Foundation. All rights reserved.