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 TypeClassDescriptionclassFieldMatrix<T extends Field<T>>Instances of this class represents a dense matrix backed by aFieldarray.classFieldVector<T extends Field<T>>Instances of this class represents a dense vector backed by aFieldarray.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 TypeClassDescriptionclassCooFieldVector<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 specifiedFieldtype.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.