20 template <
typename T,
typename indexT,
bool columnMajor>
29 indexT *counts =
nullptr;
30 indexT *indices =
nullptr;
31 indexT valuesSize = 0;
36 uint8_t indexWidth = 1;
46 void calculateCompSize();
89 T
coeff(uint32_t index);
114 uint32_t getLength();
129 indexT *getIndices();
168 double dot(Eigen::Vector<T, -1> &other);
173 double dot(Eigen::SparseVector<T, -1> &other);
180 T operator[](uint32_t index);
192 void operator*=(T scalar);
Definition: IVCSC_Vector.hpp:27
Vector()
Definition: VCSC_Vector.hpp:58
Definition: VCSC_SparseMatrix.hpp:22
uint32_t innerSize() const
Definition: IVSparse_Base_Methods.hpp:28
uint32_t nonZeros() const
Definition: IVSparse_Base_Methods.hpp:34
size_t byteSize() const
Definition: IVSparse_Base_Methods.hpp:37
uint32_t outerSize() const
Definition: IVSparse_Base_Methods.hpp:31
Definition: IVCSC_SparseMatrix.hpp:27
T coeff(uint32_t row, uint32_t col)
Definition: IVCSC_Methods.hpp:17
void print()
Definition: IVCSC_Methods.hpp:64
T sum()
Definition: IVCSC_BLAS.hpp:219
double norm()
Definition: IVCSC_BLAS.hpp:232