12 #ifndef _C_LINEAR_OPERATOR_C_CSC_MATRIX_H_
13 #define _C_LINEAR_OPERATOR_C_CSC_MATRIX_H_
20 #include "../_definitions/types.h"
28 template <
typename DataType>
37 const DataType* A_data_,
50 const DataType* vector,
54 const DataType* vector,
59 const DataType* vector,
63 const DataType* vector,
LongIndexType get_nnz() const
Returns the number of non-zero elements of the sparse matrix.
virtual void transpose_dot(const DataType *vector, DataType *product)
virtual void dot(const DataType *vector, DataType *product)
virtual FlagType is_identity_matrix() const
Checks whether the matrix is identity.
const LongIndexType * A_indices
const LongIndexType * A_index_pointer
virtual void dot_plus(const DataType *vector, const DataType alpha, DataType *product)
virtual void transpose_dot_plus(const DataType *vector, const DataType alpha, DataType *product)
Base class for constant matrices.