Uses of Class
org.flag4j.arrays.dense.RingMatrix
Packages that use RingMatrix
Package
Description
Provides implementations for dense tensors, matrices, and vectors.
Contains implementations for sparse tensors, matrices, and vectors.
-
Uses of RingMatrix in org.flag4j.arrays.backend.smart_visitors
Methods in org.flag4j.arrays.backend.smart_visitors with parameters of type RingMatrixModifier and TypeMethodDescription<U extends Ring<U>>
MatrixMixin<?, ?, ?, ?> AddVisitor.visit
(RingMatrix<U> matrix) <U extends Ring<U>>
MatrixMixin<?, ?, ?, ?> DivVisitor.visit
(RingMatrix<U> matrix) <U extends Ring<U>>
MatrixMixin<?, ?, ?, ?> ElemMultVisitor.visit
(RingMatrix<U> matrix) <U extends Ring<U>>
MatrixMixin<?, ?, ?, ?> MatMultVisitor.visit
(RingMatrix<U> matrix) MatrixVisitor.visit
(RingMatrix<U> matrix) <U extends Ring<U>>
MatrixMixin<?, ?, ?, ?> SubVisitor.visit
(RingMatrix<U> matrix) -
Uses of RingMatrix in org.flag4j.arrays.dense
Subclasses with type arguments of type RingMatrix in org.flag4j.arrays.denseModifier and TypeClassDescriptionclass
RingMatrix<T extends Ring<T>>
Instances of this class represents a dense matrix backed by aRing
array.class
RingVector<T extends Ring<T>>
Instances of this class represents a dense vector backed by aRing
array.Methods in org.flag4j.arrays.dense that return RingMatrixModifier and TypeMethodDescriptionRingMatrix.div
(RingMatrix<T> b) Computes the element-wise quotient of two matrices.static <T extends Ring<T>>
RingMatrix<T> RingMatrix.I
(int numRows, int numCols, T fieldValue) Constructs an identity-like matrix of the specified shape.static <T extends Ring<T>>
RingMatrix<T> RingMatrix.I
(int size, T fieldValue) Constructs an identity matrix of the specified size.static <T extends Ring<T>>
RingMatrix<T> Constructs an identity-like matrix of the specified shape.protected RingMatrix
<T> RingVector.makeLikeMatrix
(Shape shape, T[] entries) Constructs a matrix of similar type to this vector with the specifiedshape
anddata
.RingMatrix.makeLikeTensor
(Shape shape, T[] entries) Constructs a tensor of the same type as this tensor with the given theshape
anddata
.RingMatrix.pow
(int n) Computes the matrix multiplication of this matrix with itselfn
times.RingMatrix.sub
(RingMatrix<T> b) Computes the element-wise difference of two matrices.Converts this tensor to a matrix with the specified shape.Methods in org.flag4j.arrays.dense with parameters of type RingMatrixModifier and TypeMethodDescriptionRingMatrix.div
(RingMatrix<T> b) Computes the element-wise quotient of two matrices.RingMatrix.sub
(RingMatrix<T> b) Computes the element-wise difference of two matrices. -
Uses of RingMatrix in org.flag4j.arrays.sparse
Subclasses with type arguments of type RingMatrix in org.flag4j.arrays.sparseModifier and TypeClassDescriptionclass
CooRingMatrix<T extends Ring<T>>
Represents a sparse matrix whose non-zero elements are stored in Coordinate List (COO) format, with all data elements belonging to a specifiedRing
type.class
CooRingVector<T extends Ring<T>>
Represents a sparse vector whose non-zero elements are stored in Coordinate List (COO) format, with all data elements belonging to a specifiedRing
type.class
CsrRingMatrix<T extends Ring<T>>
Methods in org.flag4j.arrays.sparse that return RingMatrixModifier and TypeMethodDescriptionCooRingVector.makeLikeDenseMatrix
(Shape shape, T... entries) Constructs a dense matrix of a similar type as this vector with the specified shape and data.CooRingMatrix.makeLikeDenseTensor
(Shape shape, T[] entries) Constructs a dense tensor with the specifiedshape
anddata
which is a similar type to this sparse tensor.CsrRingMatrix.makeLikeDenseTensor
(Shape shape, T[] entries) Constructs a dense matrix which is of a similar type to this sparse CSR matrix.