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

Function mat_to_list

tools/python/src/global_optimization.cpp:39–47  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

37}
38
39py::list mat_to_list (
40 const matrix<double,0,1>& m
41)
42{
43 py::list l;
44 for (long i = 0; i < m.size(); ++i)
45 l.append(m(i));
46 return l;
47}
48
49size_t num_function_arguments(py::object f, size_t expected_num)
50{

Callers 4

py_find_max_globalFunction · 0.85
py_find_max_global2Function · 0.85
py_find_min_globalFunction · 0.85
py_find_min_global2Function · 0.85

Calls 2

sizeMethod · 0.45
appendMethod · 0.45

Tested by

no test coverage detected