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

Function test_matrix_exponential

unsupported/test/matrix_exponential.cpp:122–141  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

120}
121
122void test_matrix_exponential()
123{
124 CALL_SUBTEST_2(test2dRotation<double>(1e-13));
125 CALL_SUBTEST_1(test2dRotation<float>(2e-5)); // was 1e-5, relaxed for clang 2.8 / linux / x86-64
126 CALL_SUBTEST_8(test2dRotation<long double>(1e-13));
127 CALL_SUBTEST_2(test2dHyperbolicRotation<double>(1e-14));
128 CALL_SUBTEST_1(test2dHyperbolicRotation<float>(1e-5));
129 CALL_SUBTEST_8(test2dHyperbolicRotation<long double>(1e-14));
130 CALL_SUBTEST_6(testPascal<float>(1e-6));
131 CALL_SUBTEST_5(testPascal<double>(1e-15));
132 CALL_SUBTEST_2(randomTest(Matrix2d(), 1e-13));
133 CALL_SUBTEST_7(randomTest(Matrix<double,3,3,RowMajor>(), 1e-13));
134 CALL_SUBTEST_3(randomTest(Matrix4cd(), 1e-13));
135 CALL_SUBTEST_4(randomTest(MatrixXd(8,8), 1e-13));
136 CALL_SUBTEST_1(randomTest(Matrix2f(), 1e-4));
137 CALL_SUBTEST_5(randomTest(Matrix3cf(), 1e-4));
138 CALL_SUBTEST_1(randomTest(Matrix4f(), 1e-4));
139 CALL_SUBTEST_6(randomTest(MatrixXf(8,8), 1e-4));
140 CALL_SUBTEST_9(randomTest(Matrix<long double,Dynamic,Dynamic>(7,7), 1e-13));
141}

Callers

nothing calls this directly

Calls 1

randomTestFunction · 0.85

Tested by

no test coverage detected