| 231 | // you have to write to create a matrix expression. |
| 232 | template < typename M > |
| 233 | const matrix_op<example_op_trans<M> > example_trans ( |
| 234 | const matrix_exp<M>& m |
| 235 | ) |
| 236 | { |
| 237 | typedef example_op_trans<M> op; |
| 238 | // m.ref() returns a reference to the object of type M contained in the matrix expression m. |
| 239 | return matrix_op<op>(op(m.ref())); |
| 240 | } |
| 241 | |
| 242 | // ---------------------------------------------------------------------------------------- |
| 243 |
no outgoing calls
no test coverage detected