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

Function matrix_test_float

dlib/test/matrix_chol.cpp:142–151  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

140// ----------------------------------------------------------------------------------------
141
142 void matrix_test_float()
143 {
144
145 test_cholesky(uniform_matrix<float>(1,1,1) + 2*symm(randmat<float>(1,1)));
146 test_cholesky(uniform_matrix<float>(2,2,1) + 2*symm(randmat<float>(2,2)));
147 test_cholesky(uniform_matrix<float>(3,3,1) + 2*symm(randmat<float>(3,3)));
148
149 typedef matrix<float,0,0,default_memory_manager, column_major_layout> mat;
150 test_cholesky(mat(uniform_matrix<float>(3,3,1) + 2*symm(randmat<float>(3,3))));
151 }
152
153// ----------------------------------------------------------------------------------------
154

Callers 1

perform_testMethod · 0.70

Calls 3

test_choleskyFunction · 0.85
symmFunction · 0.70
matFunction · 0.50

Tested by

no test coverage detected