36 #ifndef OPENMS_MATH_STATISTICS_REGRESSIONUTILS_H
37 #define OPENMS_MATH_STATISTICS_REGRESSIONUTILS_H
39 #include "Wm5Vector2.h"
44 template <
typename Iterator>
47 Iterator xIter = x_begin;
48 Iterator yIter = y_begin;
49 std::vector<Wm5::Vector2d> points;
50 for(;xIter!=x_end; ++xIter, ++yIter)
52 points.push_back( Wm5::Vector2d(*xIter, *yIter) );
std::vector< Wm5::Vector2d > iteratorRange2Wm5Vectors(Iterator x_begin, Iterator x_end, Iterator y_begin)
Copies the distance(x_begin,x_end) elements starting at x_begin and y_begin into the Wm5::Vector...
Definition: RegressionUtils.h:45