Uses of Interface
org.tribuo.math.la.Matrix
Package
Description
Provides a linear algebra system used for numerical operations in Tribuo.
Utilities for converting Tribuo math objects into ONNX representations.
Provides some utility tensors for use in gradient optimisers.
-
Uses of Matrix in org.tribuo.math.la
Modifier and TypeClassDescriptionclass
A dense matrix, backed by a primitive array.class
A matrix which is dense in the first dimension and sparse in the second.Modifier and TypeMethodDescriptionMatrix.copy()
Copies the matrix.default Matrix
Matrix.Factorization.inverse()
Generates the inverse of the matrix with this factorization.Matrix.matrixMultiply
(Matrix input) Multiplies this Matrix by anotherMatrix
returning a matrix of the appropriate size.Matrix.matrixMultiply
(Matrix input, boolean transposeThis, boolean transposeOther) Multiplies this Matrix by anotherMatrix
returning a matrix of the appropriate size.Generates the matrix representing the outer product between the two vectors.This generates the outer product when dotted with anotherSparseVector
.DenseMatrix.LUFactorization.permutationMatrix()
The row permutations stored as a sparse matrix of ones.Solves the system A * X = Y, where Y is the input matrix, and A is the matrix which produced this factorization.Modifier and TypeMethodDescriptionDenseMatrix.matrixMultiply
(Matrix other) DenseMatrix.matrixMultiply
(Matrix other, boolean transposeThis, boolean transposeOther) DenseSparseMatrix.matrixMultiply
(Matrix other) DenseSparseMatrix.matrixMultiply
(Matrix other, boolean transposeThis, boolean transposeOther) Matrix.matrixMultiply
(Matrix input) Multiplies this Matrix by anotherMatrix
returning a matrix of the appropriate size.Matrix.matrixMultiply
(Matrix input, boolean transposeThis, boolean transposeOther) Multiplies this Matrix by anotherMatrix
returning a matrix of the appropriate size.Solves the system A * X = B, where B is the input matrix, and A is the matrix which produced this Cholesky factorization.Solves the system A * X = Y, where Y is the input matrix, and A is the matrix which produced this eigen decomposition.Solves the system A * X = Y, where Y is the input matrix, and A is the matrix which produced this LU factorization.Solves the system A * X = Y, where Y is the input matrix, and A is the matrix which produced this factorization.ModifierConstructorDescriptionDenseMatrix
(Matrix other) Copies the supplied matrix, densifying it if it's sparse. -
Uses of Matrix in org.tribuo.math.onnx
Modifier and TypeMethodDescriptionstatic ONNXInitializer
ONNXMathUtils.floatMatrix
(ONNXContext context, String name, Matrix matrix, boolean transpose) Builds aONNXInitializer
containing theMatrix
. -
Uses of Matrix in org.tribuo.math.optimisers.util
Modifier and TypeClassDescriptionclass
A subclass ofDenseMatrix
which shrinks the value every time a new value is added.