25 template <
typename T,
typename indexT, u
int8_t compressionLevel,
bool columnMajor>
35 void *endPtr =
nullptr;
39 uint8_t indexWidth = 1;
49 void calculateCompSize();
98 T
coeff(uint32_t index);
133 uint32_t getLength();
167 double dot(Eigen::Vector<T, -1> &other);
172 double dot(Eigen::SparseVector<T, -1> &other);
179 void operator*=(T scalar);
191 T operator[](uint32_t index);
194 operator bool() {
return (
char *)endPtr - indexWidth > data; };
Definition: IVCSC_Vector.hpp:27
Vector()
Definition: IVCSC_Vector.hpp:61
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