Uses of Class
org.tribuo.math.la.DenseSparseMatrix
Package
Description
Provides a linear algebra system used for numerical operations in Tribuo.
Provides math related util classes.
-
Uses of DenseSparseMatrix in org.tribuo.math.la
Modifier and TypeMethodDescriptionDenseSparseMatrix.copy()
static DenseSparseMatrix
DenseSparseMatrix.createDiagonal
(SGDVector diagonal) Creates a diagonal matrix using the supplied values.static DenseSparseMatrix
DenseSparseMatrix.createFromSparseVectors
(SparseVector[] values) Defensively copies the values.static DenseSparseMatrix
DenseSparseMatrix.createIdentity
(int dimension) Creates an identity matrix of the specified size.static DenseSparseMatrix
DenseSparseMatrix.deserializeFromProto
(int version, String className, com.google.protobuf.Any message) Deserialization factory.ModifierConstructorDescriptionCreates a new DenseSparseMatrix by deep copying the supplied DenseSparseMatrix. -
Uses of DenseSparseMatrix in org.tribuo.math.util
Modifier and TypeMethodDescriptionHeapMerger.merge
(DenseSparseMatrix[] inputs) MatrixHeapMerger.merge
(DenseSparseMatrix[] inputs) Merger.merge
(DenseSparseMatrix[] inputs) Merges an array of DenseSparseMatrix into a single DenseSparseMatrix.Modifier and TypeMethodDescriptionHeapMerger.merge
(DenseSparseMatrix[] inputs) MatrixHeapMerger.merge
(DenseSparseMatrix[] inputs) Merger.merge
(DenseSparseMatrix[] inputs) Merges an array of DenseSparseMatrix into a single DenseSparseMatrix.