Uses of Interface
org.tribuo.math.la.Matrix
Packages that use 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
Classes in org.tribuo.math.la that implement MatrixModifier 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.Methods in org.tribuo.math.la that return MatrixModifier 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.Methods in org.tribuo.math.la with parameters of type MatrixModifier 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.Constructors in org.tribuo.math.la with parameters of type MatrixModifierConstructorDescriptionDenseMatrix
(Matrix other) Copies the supplied matrix, densifying it if it's sparse. -
Uses of Matrix in org.tribuo.math.onnx
Methods in org.tribuo.math.onnx with parameters of type MatrixModifier 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
Classes in org.tribuo.math.optimisers.util that implement MatrixModifier and TypeClassDescriptionclass
A subclass ofDenseMatrix
which shrinks the value every time a new value is added.