MCPcopy Create free account
hub / github.com/davisking/dlib / example_trans

Function example_trans

examples/matrix_expressions_ex.cpp:233–240  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

231// you have to write to create a matrix expression.
232template < typename M >
233const 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

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected