Research Article
Finite Element Assembly Using an Embedded Domain Specific Language
Listing 5
Functor to evaluate the matrix transpose.
() struct eval_transpose: proto::callable | () { | () template<typename MatT> | () Eigen::Transpose<MatT> operator()(MatT& mat) const | () { | () return mat.transpose(); | () } | () }; |
|