9 #ifndef ossim2dLinearRegression_HEADER 10 #define ossim2dLinearRegression_HEADER 1 31 intercept = theIntercept;
39 theSumXX += pt.
x*pt.
x;
40 theSumYY += pt.
y*pt.
y;
41 theSumXY += pt.
x*pt.
y;
42 theSolvedFlag =
false;
47 theNumberOfPoints = 0;
55 theSolvedFlag =
false;
60 return theNumberOfPoints;
ossim_uint32 theNumberOfPoints
ossim_uint32 getNumberOfPoints() const
ostream & operator<<(ostream &out, const ossimAxes &axes)
void getEquation(double &slope, double &intercept)
unsigned int ossim_uint32
void addPoint(const ossimDpt &pt)
std::basic_ostream< char > ostream
Base class for char output streams.