| 111 | /// apply transpose coefficient tensor |
| 112 | template <typename FEL, typename MIP, class TVX, class TVY> |
| 113 | void ApplyTrans (const FEL & fel, const MIP & mip, |
| 114 | const TVX & x, TVY & y, |
| 115 | LocalHeap & lh) const |
| 116 | { |
| 117 | Mat<DMO::DIM_DMAT, DMO::DIM_DMAT, double> mat; |
| 118 | static_cast<const DMO*>(this) -> GenerateMatrix (fel, mip, mat, lh); |
| 119 | y = Trans (mat) * x; |
| 120 | } |
| 121 | |
| 122 | /// computes energy |
| 123 | template <typename FEL, typename MIP, class TVX> |
no test coverage detected