ProteoWizard
|
#include "WarpFunction.hpp"
#include "pwiz/utility/misc/unit.hpp"
#include "pwiz/utility/misc/Std.hpp"
#include <cstring>
Go to the source code of this file.
Functions | |
vector< pair< double, double > > | initializeColinearAnchors () |
vector< pair< double, double > > | initializeNonColinearAnchors () |
vector< double > | initializeRtVals () |
vector< pair< double, double > > | initializeSplineAnchors () |
void | testColinearLinearWarp () |
void | testNonColinearLinearWarp () |
void | testPiecewiseLinearWarp () |
void | testSplineWarp () |
int | main (int argc, char *argv[]) |
Variables | |
ostream * | os_ = 0 |
const double | epsilon = 2 * numeric_limits<double>::epsilon() |
vector<pair<double,double> > initializeColinearAnchors | ( | ) |
Definition at line 39 of file WarpFunctionTest.cpp.
Referenced by testColinearLinearWarp().
vector<pair<double,double> > initializeNonColinearAnchors | ( | ) |
Definition at line 54 of file WarpFunctionTest.cpp.
Referenced by testNonColinearLinearWarp(), and testPiecewiseLinearWarp().
vector<double> initializeRtVals | ( | ) |
Definition at line 69 of file WarpFunctionTest.cpp.
Referenced by testColinearLinearWarp(), testNonColinearLinearWarp(), testPiecewiseLinearWarp(), and testSplineWarp().
vector<pair<double,double> > initializeSplineAnchors | ( | ) |
Definition at line 82 of file WarpFunctionTest.cpp.
Referenced by testSplineWarp().
void testColinearLinearWarp | ( | ) |
Definition at line 94 of file WarpFunctionTest.cpp.
References epsilon, initializeColinearAnchors(), initializeRtVals(), boost::lexical_cast(), os_, and unit_assert_equal.
Referenced by main().
void testNonColinearLinearWarp | ( | ) |
Definition at line 130 of file WarpFunctionTest.cpp.
References epsilon, initializeNonColinearAnchors(), initializeRtVals(), boost::lexical_cast(), os_, and unit_assert_equal.
Referenced by main().
void testPiecewiseLinearWarp | ( | ) |
Definition at line 167 of file WarpFunctionTest.cpp.
References epsilon, initializeNonColinearAnchors(), initializeRtVals(), boost::lexical_cast(), os_, and unit_assert_equal.
Referenced by main().
void testSplineWarp | ( | ) |
Definition at line 201 of file WarpFunctionTest.cpp.
References initializeRtVals(), initializeSplineAnchors(), and unit_assert_equal.
int main | ( | int | argc, |
char * | argv[] | ||
) |
Definition at line 225 of file WarpFunctionTest.cpp.
References e(), os_, testColinearLinearWarp(), testNonColinearLinearWarp(), and testPiecewiseLinearWarp().
ostream* os_ = 0 |
Definition at line 36 of file WarpFunctionTest.cpp.
const double epsilon = 2 * numeric_limits<double>::epsilon() |
Definition at line 37 of file WarpFunctionTest.cpp.