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

Function matrix_test_float

dlib/test/matrix_lu.cpp:167–193  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

165// ----------------------------------------------------------------------------------------
166
167 void matrix_test_float()
168 {
169
170 // -------------------------------
171
172 test_lu(3*randmat<float>(1,1));
173 test_lu(3*randmat<float>(2,2));
174 test_lu(3*randmat<float>(4,4));
175 test_lu(3*randmat<float>(9,4));
176 test_lu(3*randmat<float>(3,8));
177 test_lu(3*randmat<float>(137,200));
178 test_lu(3*randmat<float>(200,101));
179
180 test_lu(3*randmat<float,1,1>());
181 test_lu(3*randmat<float,2,2>());
182 test_lu(3*randmat<float,4,3>());
183 test_lu(3*randmat<float,4,4>());
184 test_lu(3*randmat<float,9,4>());
185 test_lu(3*randmat<float,3,8>());
186 test_lu(3*randmat<float,137,200>());
187 test_lu(3*randmat<float,200,101>());
188
189 typedef matrix<float,0,0,default_memory_manager, column_major_layout> mat;
190 test_lu(mat(3*randmat<float>(4,4)));
191 test_lu(mat(3*randmat<float>(9,4)));
192 test_lu(mat(3*randmat<float>(3,8)));
193 }
194
195// ----------------------------------------------------------------------------------------
196

Callers 1

perform_testMethod · 0.70

Calls 2

test_luFunction · 0.85
matFunction · 0.50

Tested by

no test coverage detected