#include <kronecker_matrix.h>
Public Types | |
typedef Vector< C >::size_type | size_type |
type of indexes and size type (cf. STL containers) | |
Public Member Functions | |
KroneckerHelper (const MATRIX1 &A, const MATRIX2 &B, const double factor=1.0) | |
default constructor from A and B | |
KroneckerHelper (const KroneckerHelper< C, MATRIX1, MATRIX2 > &M) | |
copy constructor | |
const size_type | row_dimension () const |
row dimension | |
const size_type | column_dimension () const |
column dimension | |
void | apply (const Vector< C > &x, Vector< C > &Mx, const size_type x_offset, const size_type Mx_offset, const bool add_to) const |
apply version with offsets and addto-flag | |
void | apply_transposed (const Vector< C > &x, Vector< C > &Mtx, const size_type x_offset, const size_type Mtx_offset, const bool add_to) const |
apply_transposed version with offsets and addto-flag | |
Protected Attributes | |
MATRIX1 | A |
MATRIX2 | B |
C | factor_ |
A Kronecker helper class with limited functionality for situations where you only want to quickly apply a Kronecker matrix (or its transpose) to a vector