![]() |
ACloudViewer
3.9.4
A Modern Library for 3D Data Processing
|

Go to the source code of this file.
Macros | |
| #define | TEST_NAME "base/polynomial" |
| #define | CHECK_EQUAL_RESULT(find_func1, coeffs1, find_func2, coeffs2) |
Functions | |
| BOOST_AUTO_TEST_CASE (TestEvaluatePolynomial) | |
| BOOST_AUTO_TEST_CASE (TestFindLinearPolynomialRoots) | |
| BOOST_AUTO_TEST_CASE (TestFindQuadraticPolynomialRootsReal) | |
| BOOST_AUTO_TEST_CASE (TestFindQuadraticPolynomialRootsComplex) | |
| BOOST_AUTO_TEST_CASE (TestFindPolynomialRootsDurandKerner) | |
| BOOST_AUTO_TEST_CASE (TestFindPolynomialRootsDurandKernerLinearQuadratic) | |
| BOOST_AUTO_TEST_CASE (TestFindPolynomialRootsCompanionMatrix) | |
| BOOST_AUTO_TEST_CASE (TestFindPolynomialRootsCompanionMatrixLinearQuadratic) | |
| BOOST_AUTO_TEST_CASE (TestFindPolynomialRootsCompanionMatrixZeroSolution) | |
| #define CHECK_EQUAL_RESULT | ( | find_func1, | |
| coeffs1, | |||
| find_func2, | |||
| coeffs2 | |||
| ) |
Definition at line 39 of file polynomial_test.cc.
| #define TEST_NAME "base/polynomial" |
Definition at line 32 of file polynomial_test.cc.
| BOOST_AUTO_TEST_CASE | ( | TestEvaluatePolynomial | ) |
Definition at line 54 of file polynomial_test.cc.
References e, and colmap::EvaluatePolynomial().
| BOOST_AUTO_TEST_CASE | ( | TestFindLinearPolynomialRoots | ) |
Definition at line 63 of file polynomial_test.cc.
References e, colmap::EvaluatePolynomial(), and colmap::FindLinearPolynomialRoots().
| BOOST_AUTO_TEST_CASE | ( | TestFindPolynomialRootsCompanionMatrix | ) |
Definition at line 142 of file polynomial_test.cc.
References coeffs(), e, and colmap::FindPolynomialRootsCompanionMatrix().
| BOOST_AUTO_TEST_CASE | ( | TestFindPolynomialRootsCompanionMatrixLinearQuadratic | ) |
Definition at line 157 of file polynomial_test.cc.
References CHECK_EQUAL_RESULT, colmap::FindLinearPolynomialRoots(), colmap::FindPolynomialRootsCompanionMatrix(), and colmap::FindQuadraticPolynomialRoots().
| BOOST_AUTO_TEST_CASE | ( | TestFindPolynomialRootsCompanionMatrixZeroSolution | ) |
Definition at line 171 of file polynomial_test.cc.
References coeffs(), e, and colmap::FindPolynomialRootsCompanionMatrix().
| BOOST_AUTO_TEST_CASE | ( | TestFindPolynomialRootsDurandKerner | ) |
Definition at line 114 of file polynomial_test.cc.
References coeffs(), e, and colmap::FindPolynomialRootsDurandKerner().
| BOOST_AUTO_TEST_CASE | ( | TestFindPolynomialRootsDurandKernerLinearQuadratic | ) |
Definition at line 129 of file polynomial_test.cc.
References CHECK_EQUAL_RESULT, colmap::FindLinearPolynomialRoots(), colmap::FindPolynomialRootsDurandKerner(), and colmap::FindQuadraticPolynomialRoots().
| BOOST_AUTO_TEST_CASE | ( | TestFindQuadraticPolynomialRootsComplex | ) |
Definition at line 96 of file polynomial_test.cc.
References coeffs(), e, colmap::EvaluatePolynomial(), and colmap::FindQuadraticPolynomialRoots().
| BOOST_AUTO_TEST_CASE | ( | TestFindQuadraticPolynomialRootsReal | ) |
Definition at line 81 of file polynomial_test.cc.
References coeffs(), e, colmap::EvaluatePolynomial(), and colmap::FindQuadraticPolynomialRoots().