24 template <
typename T,
typename indexT, u
int8_t compressionLevel,
bool columnMajor>
32 void *endPtr =
nullptr;
36 uint8_t indexWidth = 1;
46 void calculateCompSize();
96 T
coeff(uint32_t index);
131 uint32_t getLength();
165 double dot(Eigen::Vector<T, -1> &other);
170 double dot(Eigen::SparseVector<T, -1> &other);
177 void operator*=(T scalar);
183 bool operator==(
typename SparseMatrix<T, indexT, compressionLevel,
184 columnMajor>::
Vector &vec);
187 bool operator!=(
typename SparseMatrix<T, indexT, compressionLevel,
188 columnMajor>::
Vector &vec);
191 T operator[](uint32_t index);
194 operator bool() {
return (
char *)endPtr - indexWidth > data; };
Definition: IVCSC_Vector.hpp:25
Vector()
Definition: IVCSC_Vector.hpp:58
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