Regression.cpp File Reference

#include "Regression.h"
Include dependency graph for Regression.cpp:

Go to the source code of this file.

Functions

LineParameters computeNormals (const std::vector< Point2D > &_points)
LineParameters computeNormals (const std::vector< Point2D > &_points, const std::vector< double > &_weights)

Function Documentation

LineParameters computeNormals ( const std::vector< Point2D > &  points  ) 

Fits a line in the weighted least squares sense to the points, in cartesian coordinates, minimizing the perpendicular errors from the points to the line.

Definition at line 41 of file Regression.cpp.

LineParameters computeNormals ( const std::vector< Point2D > &  points,
const std::vector< double > &  weights 
)

Fits a line in the weighted least squares sense to the points, in cartesian coordinates, with the corresponding weights, minimizing the weighted perpendicular errors from the points to the line.

Definition at line 3 of file Regression.cpp.

 All Classes Files Functions Variables Typedefs Enumerations Enumerator Defines


flirtlib
Author(s): Bhaskara Marthi, Gian Diego Tipaldi
autogenerated on Fri Jan 11 11:15:44 2013