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