Module flag4j

Record Class SparseVectorData<T>

java.lang.Object
java.lang.Record
org.flag4j.arrays.backend.SparseVectorData<T>

public record SparseVectorData<T>(List<T> entries, List<Integer> indices) extends Record

Data class for storing information for a sparse COO vector.

This record stores two lists: the non-zero entries and the indices of the vector.