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

Function matrix_test_float

dlib/test/matrix_eig.cpp:181–194  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

179// ----------------------------------------------------------------------------------------
180
181 void matrix_test_float()
182 {
183
184 test_eigenvalue(10*randm<float>(1,1));
185 test_eigenvalue(10*randm<float>(2,2));
186 test_eigenvalue(10*randm<float>(3,3));
187 test_eigenvalue(10*randm<float>(4,4));
188 test_eigenvalue(10*randm<float>(15,15));
189 test_eigenvalue(10*randm<float>(50,50));
190
191 test_eigenvalue(10*randm<float,1,1>());
192 test_eigenvalue(10*randm<float,2,2>());
193 test_eigenvalue(10*randm<float,3,3>());
194 }
195
196 template <int dims>
197 void test_eigenvalue2()

Callers 1

perform_testMethod · 0.70

Calls 1

test_eigenvalueFunction · 0.85

Tested by

no test coverage detected