Package | Description |
---|---|
org.tribuo.math.la |
Provides a linear algebra system used for numerical operations in Tribuo.
|
org.tribuo.math.optimisers.util |
Provides some utility tensors for use in gradient optimisers.
|
Modifier and Type | Class and Description |
---|---|
class |
DenseMatrix
A dense matrix, backed by a primitive array.
|
class |
DenseSparseMatrix
A matrix which is dense in the first dimension and sparse in the second.
|
Modifier and Type | Method and Description |
---|---|
Matrix |
Matrix.matrixMultiply(Matrix input)
Multiplies this Matrix by another
Matrix returning a matrix of the appropriate size. |
Matrix |
Matrix.matrixMultiply(Matrix input,
boolean transposeThis,
boolean transposeOther)
Multiplies this Matrix by another
Matrix returning a matrix of the appropriate size. |
Matrix |
SparseVector.outer(SGDVector other)
This generates the outer product when dotted with another
SparseVector . |
Matrix |
SGDVector.outer(SGDVector other)
Generates the matrix representing the outer product between the two vectors.
|
Matrix |
DenseVector.outer(SGDVector other) |
Modifier and Type | Method and Description |
---|---|
Matrix |
Matrix.matrixMultiply(Matrix input)
Multiplies this Matrix by another
Matrix returning a matrix of the appropriate size. |
DenseMatrix |
DenseSparseMatrix.matrixMultiply(Matrix other) |
DenseMatrix |
DenseMatrix.matrixMultiply(Matrix other) |
Matrix |
Matrix.matrixMultiply(Matrix input,
boolean transposeThis,
boolean transposeOther)
Multiplies this Matrix by another
Matrix returning a matrix of the appropriate size. |
DenseMatrix |
DenseSparseMatrix.matrixMultiply(Matrix other,
boolean transposeThis,
boolean transposeOther) |
DenseMatrix |
DenseMatrix.matrixMultiply(Matrix other,
boolean transposeThis,
boolean transposeOther) |
Constructor and Description |
---|
DenseMatrix(Matrix other)
Copies the supplied matrix, densifying it if it's sparse.
|
Modifier and Type | Class and Description |
---|---|
class |
ShrinkingMatrix
A subclass of
DenseMatrix which shrinks the value every time a new value is added. |
Copyright © 2015–2021 Oracle and/or its affiliates. All rights reserved.