Uses of Class
org.flag4j.arrays.dense.FieldVector
Packages that use FieldVector
Package
Description
Provides implementations for dense tensors, matrices, and vectors.
Contains implementations for sparse tensors, matrices, and vectors.
-
Uses of FieldVector in org.flag4j.arrays.dense
Subclasses with type arguments of type FieldVector in org.flag4j.arrays.denseModifier and TypeClassDescriptionclass
FieldMatrix<T extends Field<T>>
Instances of this class represents a dense matrix backed by aField
array.class
FieldVector<T extends Field<T>>
Instances of this class represents a dense vector backed by aField
array.Methods in org.flag4j.arrays.dense that return FieldVectorModifier and TypeMethodDescriptionFieldVector.makeLikeTensor
(Shape shape, T[] entries) Constructs a tensor of the same type as this tensor with the given the shape and data.FieldVector.makeLikeTensor
(T... entries) Creates a vector with the specifieddata
.protected FieldVector
<T> FieldMatrix.makeLikeVector
(Shape shape, T[] entries) Constructs a vector of a similar type as this matrix.FieldMatrix.makeLikeVector
(T... entries) Constructs a vector of similar type to this matrix with the givendata
.FieldTensor.toVector()
Converts this tensor to an equivalent vector. -
Uses of FieldVector in org.flag4j.arrays.sparse
Subclasses with type arguments of type FieldVector in org.flag4j.arrays.sparseModifier and TypeClassDescriptionclass
CooFieldVector<T extends Field<T>>
Represents a sparse vector whose non-zero elements are stored in Coordinate List (COO) format, with all data elements belonging to a specifiedField
type.Methods in org.flag4j.arrays.sparse that return FieldVectorModifier and TypeMethodDescriptionCooFieldVector.makeLikeDenseTensor
(Shape shape, T... entries) Constructs a dense vector of a similar type as this vector with the specified shape and data.CooFieldMatrix.mult
(CooFieldVector<T> b) Computes the matrix-vector multiplication of a vector with this matrix.CsrFieldMatrix.mult
(CooFieldVector<T> b) Computes the matrix-vector multiplication of a vector with this matrix.CooFieldTensor.toVector()
Converts this tensor to an equivalent vector. -
Uses of FieldVector in org.flag4j.linalg.ops
Methods in org.flag4j.linalg.ops with parameters of type FieldVectorModifier and TypeMethodDescriptionstatic <T extends Field<T>>
T[]MatrixMultiplyDispatcher.dispatch
(FieldMatrix<T> A, FieldVector<T> b) Dynamically chooses the appropriate matrix-vector multiplication algorithm based on the shapes of the matrix and vector.