19 template <
typename T,
typename indexT,
bool columnMajor>
27 indexT *counts =
nullptr;
28 indexT *indices =
nullptr;
29 indexT valuesSize = 0;
34 uint8_t indexWidth = 1;
44 void calculateCompSize();
88 T
coeff(uint32_t index);
113 uint32_t getLength();
128 indexT *getIndices();
167 double dot(Eigen::Vector<T, -1> &other);
172 double dot(Eigen::SparseVector<T, -1> &other);
179 T operator[](uint32_t index);
194 void operator*=(T scalar);
Definition: IVCSC_Vector.hpp:25
Vector()
Definition: VCSC_Vector.hpp:56
Definition: VCSC_SparseMatrix.hpp:21
uint32_t innerSize() const
Definition: IVSparse_Base_Methods.hpp:33
uint32_t nonZeros() const
Definition: IVSparse_Base_Methods.hpp:39
size_t byteSize() const
Definition: IVSparse_Base_Methods.hpp:42
uint32_t outerSize() const
Definition: IVSparse_Base_Methods.hpp:36
Definition: IVCSC_SparseMatrix.hpp:29
T coeff(uint32_t row, uint32_t col)
Definition: IVCSC_Methods.hpp:17
void print()
Definition: IVCSC_Methods.hpp:97
T sum()
Definition: IVCSC_BLAS.hpp:239
double norm()
Definition: IVCSC_BLAS.hpp:256