#include <crs_matrix.h>
Inheritance diagram for crs_matrix< T, S >:

Public Member Functions | |
| crs_matrix (const vector< T > &_cnt, const vector< T > &_col, const vector< S > &_val) | |
| void | multiply (const packed_vector< S > &_x, packed_vector< S > &_b) const |
Protected Attributes | |
| vector< T > | _cnt |
| vector< T > | _col |
| vector< S > | _val |
|
||||||||||||||||||||
|
The constructor takes the count, column and matrix value vectors of the compressed row matrix storage format.
|
|
||||||||||||||||
|
The multiply procedure implements matrix vector multiplication.
Implements matrix< T, S >. |
|
|||||
|
Vector of column index counts |
|
|||||
|
Vector of column indices |
|
|||||
|
Vector of matrix values |
1.4.2