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

Function tovect3

dlib/test/matrix4.cpp:997–1006  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

995
996 template <typename T>
997 std::vector<int> tovect3(const T& m_)
998 {
999 matrix<int> m(m_);
1000 std::vector<int> temp;
1001 for (matrix<int>::iterator i = m.begin(); i != m.end(); ++i)
1002 {
1003 temp.push_back(*i);
1004 }
1005 return temp;
1006 }
1007
1008 template <typename T>
1009 std::vector<int> tovect4(const T& m_)

Callers 1

test_iteratorsFunction · 0.85

Calls 3

beginMethod · 0.45
endMethod · 0.45
push_backMethod · 0.45

Tested by

no test coverage detected