ProteoWizard
|
#include "LinearLeastSquares.hpp"
#include "pwiz/utility/misc/unit.hpp"
#include "pwiz/utility/misc/Std.hpp"
#include <cstring>
Go to the source code of this file.
Functions | |
void | testDouble () |
void | testDoubleQR () |
void | testExactFitQR () |
void | testSimpleRectangleQR () |
void | testLeastSquaresQR () |
int | main (int argc, char *argv[]) |
Variables | |
const double | epsilon = 1e-16 |
ostream * | os_ = 0 |
void testDouble | ( | ) |
void testDoubleQR | ( | ) |
Definition at line 63 of file LinearLeastSquaresTest.cpp.
References A, epsilon, os_, pwiz::math::LinearLeastSquares< LinearLeastSquaresType_QR >::solve(), unit_assert_equal, x, and y.
Referenced by main().
void testExactFitQR | ( | ) |
Definition at line 87 of file LinearLeastSquaresTest.cpp.
References epsilon, os_, pwiz::math::LinearLeastSquares< LinearLeastSquaresType_QR >::solve(), and unit_assert_equal.
Referenced by main().
void testSimpleRectangleQR | ( | ) |
Definition at line 113 of file LinearLeastSquaresTest.cpp.
References epsilon, os_, pwiz::math::LinearLeastSquares< LinearLeastSquaresType_QR >::solve(), and unit_assert_equal.
Referenced by main().
void testLeastSquaresQR | ( | ) |
Definition at line 146 of file LinearLeastSquaresTest.cpp.
References epsilon, os_, pwiz::math::LinearLeastSquares< LinearLeastSquaresType_QR >::solve(), and unit_assert_equal.
Referenced by main().
int main | ( | int | argc, |
char * | argv[] | ||
) |
Definition at line 182 of file LinearLeastSquaresTest.cpp.
References e(), os_, TEST_EPILOG, TEST_FAILED, TEST_PROLOG, testDouble(), testDoubleQR(), testExactFitQR(), testLeastSquaresQR(), and testSimpleRectangleQR().
const double epsilon = 1e-16 |
Definition at line 36 of file LinearLeastSquaresTest.cpp.
ostream* os_ = 0 |
Definition at line 37 of file LinearLeastSquaresTest.cpp.