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

Function tovect4

dlib/test/matrix4.cpp:1009–1018  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1007
1008 template <typename T>
1009 std::vector<int> tovect4(const T& m_)
1010 {
1011 matrix<int> m(m_);
1012 std::vector<int> temp;
1013 for (matrix<int>::iterator i = m.begin(); i != m.end(); i++)
1014 {
1015 temp.push_back(*i);
1016 }
1017 return temp;
1018 }
1019
1020 void test_iterators()
1021 {

Callers 1

test_iteratorsFunction · 0.85

Calls 3

beginMethod · 0.45
endMethod · 0.45
push_backMethod · 0.45

Tested by

no test coverage detected