|
ProteoWizard
|
#include "Parabola.hpp"#include "pwiz/utility/misc/unit.hpp"#include "pwiz/utility/misc/Std.hpp"#include <cmath>#include <limits>#include <cstring>Go to the source code of this file.
Functions | |
| void | testBasic () |
| void | testExactFit () |
| void | testLeastSquares () |
| void | testWeightedLeastSquares () |
| int | main (int argc, char *argv[]) |
Variables | |
| ostream * | os_ = 0 |
| double | epsilon_ = numeric_limits<double>::epsilon() |
| void testBasic | ( | ) |
Definition at line 40 of file ParabolaTest.cpp.
References pwiz::math::Parabola::coefficients(), epsilon_, os_, and unit_assert_equal.
| void testExactFit | ( | ) |
Definition at line 52 of file ParabolaTest.cpp.
References pwiz::math::Parabola::center(), pwiz::math::Parabola::coefficients(), epsilon_, os_, and unit_assert_equal.
Referenced by main().
| void testLeastSquares | ( | ) |
Definition at line 81 of file ParabolaTest.cpp.
References pwiz::math::Parabola::center(), pwiz::math::Parabola::coefficients(), epsilon_, os_, and unit_assert_equal.
Referenced by main().
| void testWeightedLeastSquares | ( | ) |
Definition at line 111 of file ParabolaTest.cpp.
References pwiz::math::Parabola::center(), pwiz::math::Parabola::coefficients(), epsilon_, os_, unit_assert_equal, and y.
Referenced by main().
| int main | ( | int | argc, |
| char * | argv[] | ||
| ) |
Definition at line 159 of file ParabolaTest.cpp.
References e(), os_, TEST_EPILOG, TEST_FAILED, TEST_PROLOG, testBasic(), testExactFit(), testLeastSquares(), and testWeightedLeastSquares().
| ostream* os_ = 0 |
Definition at line 36 of file ParabolaTest.cpp.
| double epsilon_ = numeric_limits<double>::epsilon() |
Definition at line 37 of file ParabolaTest.cpp.
1.8.1.1