3 #ifndef DUNE_ALBERTA_TRANSFORMATION_HH
4 #define DUNE_ALBERTA_TRANSFORMATION_HH
6 #include <dune/common/fvector.hh>
28 : matrix_( (trafo != NULL ? trafo->M :
GlobalSpace::identityMatrix()) ),
29 shift_( (trafo != NULL ? trafo->t :
GlobalSpace::nullVector()) )
46 y[ i ] += row[ j ] * x[ j ];
58 const ctype v = y[ i ] - shift_[ i ];
60 x[ j ] += row[ j ] * v;
72 #endif // #if HAVE_ALBERTA
74 #endif // #ifndef DUNE_ALBERTA_TRANSFORMATION_HH