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

Function make_test_data3d

dlib/test/sammon.cpp:54–67  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

52 }
53
54 std::vector<matrix<double> > make_test_data3d(
55 )
56 {
57 std::vector<matrix<double> > data;
58
59 matrix<double,3,1> m;
60
61 m = 0,0,0; data.push_back(m);
62 m = 1,0,0; data.push_back(m);
63 m = 0,1,0; data.push_back(m);
64 m = 0,0,1; data.push_back(m);
65
66 return data;
67 }
68
69
70 void runtest()

Callers 1

runtestFunction · 0.85

Calls 1

push_backMethod · 0.45

Tested by

no test coverage detected