#include <idx_matrix.h>
Inheritance diagram for idx_matrix< T, S >:
Public Member Functions | |
idx_matrix (const vector< T > &_row, const vector< T > &_col, const vector< S > &_val) | |
void | multiply (const packed_vector< S > &_x, packed_vector< S > &_b) const |
Private Attributes | |
vector< T > | _row |
vector< T > | _col |
vector< S > | _val |
|
The constructor takes the row, column and matrix value vectors of the indexed matrix storage format.
|
|
The multiply procedure implements matrix vector multiplication.
Implements matrix< T, S >. |
|
Vector of column indices |
|
Vector of row indices |
|
Vector of matrix values |