MathTL
 All Classes Functions Variables Typedefs Enumerations
Public Types | Public Member Functions | Protected Attributes
MathTL::KroneckerHelper< C, MATRIX1, MATRIX2 > Class Template Reference

#include <kronecker_matrix.h>

List of all members.

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
factor_

Detailed Description

template<class C, class MATRIX1, class MATRIX2>
class MathTL::KroneckerHelper< C, MATRIX1, MATRIX2 >

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


The documentation for this class was generated from the following files:
 All Classes Functions Variables Typedefs Enumerations