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

Function make_test_data3

dlib/test/sammon.cpp:39–52  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

37 }
38
39 std::vector<matrix<double,3,1> > make_test_data3(
40 )
41 {
42 std::vector<matrix<double,3,1> > data;
43
44 matrix<double,3,1> m;
45
46 m = 0,0,0; data.push_back(m);
47 m = 1,0,0; data.push_back(m);
48 m = 0,1,0; data.push_back(m);
49 m = 0,0,1; data.push_back(m);
50
51 return data;
52 }
53
54 std::vector<matrix<double> > make_test_data3d(
55 )

Callers 1

runtestFunction · 0.85

Calls 1

push_backMethod · 0.45

Tested by

no test coverage detected