#include <Polyfit.h>

Static Public Member Functions

static double PolyFit2 (const vector< double > &x, const vector< double > &y, vector< double > &coef)
 

Private Types

typedef vector< vector< double > > Matrix
 

Private Member Functions

TPolyFitoperator= (const TPolyFit &)
 
 TPolyFit ()
 
 TPolyFit (const TPolyFit &)
 

Static Private Member Functions

static void Square (const Matrix &x, const vector< double > &y, Matrix &a, vector< double > &g, const int nrow, const int ncol)
 
static bool GaussJordan (Matrix &b, const vector< double > &y, vector< double > &coef)
 
static bool GaussJordan2 (Matrix &b, const vector< double > &y, Matrix &w, vector< vector< int > > &index)
 

Detailed Description

Definition at line 48 of file Polyfit.h.

Member Typedef Documentation

typedef vector<vector<double> > TPolyFit::Matrix
private

Definition at line 50 of file Polyfit.h.

Constructor & Destructor Documentation

TPolyFit::TPolyFit ( )
private
TPolyFit::TPolyFit ( const TPolyFit )
private

Member Function Documentation

double TPolyFit::PolyFit2 ( const vector< double > &  x,
const vector< double > &  y,
vector< double > &  coef 
)
static

Definition at line 123 of file Polyfit.h.

References GaussJordan(), NSUtility::sqr(), Square(), and NSUtility::zeroise().

Referenced by PeakPicking::quadEval().

TPolyFit& TPolyFit::operator= ( const TPolyFit )
private
void TPolyFit::Square ( const Matrix x,
const vector< double > &  y,
Matrix a,
vector< double > &  g,
const int  nrow,
const int  ncol 
)
staticprivate

Definition at line 200 of file Polyfit.h.

Referenced by PolyFit2().

bool TPolyFit::GaussJordan ( Matrix b,
const vector< double > &  y,
vector< double > &  coef 
)
staticprivate

Definition at line 227 of file Polyfit.h.

References GaussJordan2(), NSUtility::swap(), and NSUtility::zeroise().

Referenced by PolyFit2().

bool TPolyFit::GaussJordan2 ( Matrix b,
const vector< double > &  y,
Matrix w,
vector< vector< int > > &  index 
)
staticprivate

Definition at line 290 of file Polyfit.h.

References NSUtility::swap().

Referenced by GaussJordan().


The documentation for this class was generated from the following file: