12#ifndef _C_LINEAR_OPERATOR_C_CSC_MATRIX_H_
13#define _C_LINEAR_OPERATOR_C_CSC_MATRIX_H_
20#include "../_definitions/types.h"
42template <
typename DataType>
51 const DataType* A_data_,
65 const DataType* vector,
69 const DataType* vector,
74 const DataType* vector,
78 const DataType* vector,
Container for CSC matrices.
LongIndexType get_nnz() const
Returns the number of non-zero elements of the sparse matrix.
virtual void transpose_dot(const DataType *vector, DataType *product)
Transposed-matrix vector product.
virtual ~cCSCMatrix()
Destructor.
virtual void dot(const DataType *vector, DataType *product)
Matrix vector 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)
Matrix vector product written in place.
cCSCMatrix()
Default constructor.
virtual void transpose_dot_plus(const DataType *vector, const DataType alpha, DataType *product)
Transposed-matrix vector product written in place.
Base class for constant matrices.