MCPcopy Create free account
hub / github.com/PX4/eigen / test_selfadjoint

Function test_selfadjoint

test/selfadjoint.cpp:56–72  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

54}
55
56void test_selfadjoint()
57{
58 for(int i = 0; i < g_repeat ; i++)
59 {
60 int s = internal::random<int>(1,EIGEN_TEST_MAX_SIZE);
61
62 CALL_SUBTEST_1( selfadjoint(Matrix<float, 1, 1>()) );
63 CALL_SUBTEST_2( selfadjoint(Matrix<float, 2, 2>()) );
64 CALL_SUBTEST_3( selfadjoint(Matrix3cf()) );
65 CALL_SUBTEST_4( selfadjoint(MatrixXcd(s,s)) );
66 CALL_SUBTEST_5( selfadjoint(Matrix<float,Dynamic,Dynamic,RowMajor>(s, s)) );
67
68 TEST_SET_BUT_UNUSED_VARIABLE(s)
69 }
70
71 CALL_SUBTEST_1( bug_159() );
72}

Callers

nothing calls this directly

Calls 2

selfadjointFunction · 0.85
bug_159Function · 0.70

Tested by

no test coverage detected