Package | Description |
---|---|
org.openimaj.math.matrix | |
org.openimaj.ml.clustering.kdtree | |
org.openimaj.ml.clustering.spectral |
Modifier and Type | Method and Description |
---|---|
static DiagonalMatrix |
DiagonalMatrix.fill(int rowcol,
double d) |
static DiagonalMatrix |
DiagonalMatrix.ones(int rowcol) |
static DiagonalMatrix |
DiagonalMatrix.zeros(int rowcol) |
Modifier and Type | Method and Description |
---|---|
static <T extends Matrix> |
MatlibMatrixUtils.minusInplace(DiagonalMatrix D,
T A)
Subtract two matrices, storing the result in the second:
A = D - A |
static <T extends Matrix> |
MatlibMatrixUtils.plusInplace(DiagonalMatrix D,
T A)
Add two matrices, storing the results in the second:
A = D + A |
static double |
MatlibMatrixUtils.sum(DiagonalMatrix d)
Sum the diagonal of the given matrix
|
static SparseMatrix |
MatlibMatrixUtils.times(DiagonalMatrix D,
SparseMatrix A)
Left multiply two matrices:
R = D . |
static SparseMatrix |
MatlibMatrixUtils.times(SparseMatrix A,
DiagonalMatrix D)
Right multiply two matrices:
R = A . |
Constructor and Description |
---|
OPTIMISED(DiagonalMatrix D,
SparseMatrix W) |
Modifier and Type | Method and Description |
---|---|
abstract SparseMatrix |
GraphLaplacian.laplacian(SparseMatrix adj,
DiagonalMatrix degree) |
SparseMatrix |
GraphLaplacian.Unnormalised.laplacian(SparseMatrix adj,
DiagonalMatrix degree) |
SparseMatrix |
GraphLaplacian.Normalised.laplacian(SparseMatrix adj,
DiagonalMatrix degree) |
SparseMatrix |
GraphLaplacian.Warped.laplacian(SparseMatrix adj,
DiagonalMatrix degree) |