General Purpose Geodetic Library
|
#include <SgCubicSpline.h>
Public Member Functions | |
SgCubicSpline (int numOfRecords, int dimension) | |
~SgCubicSpline () | |
int | numOfRecords () const |
int | dimension () const |
bool | isOk () const |
SgVector & | argument () |
SgMatrix & | table () |
void | prepare4Spline () |
double | spline (double arg, int nColumn, double &r) |
Static Public Member Functions | |
static const QString | className () |
Private Member Functions | |
void | solveSpline (int) |
double | h (int i) const |
Private Attributes | |
int | dimension_ |
int | numOfRecords_ |
SgVector | argument_ |
SgMatrix | table_ |
SgMatrix | coeffs_ |
bool | isOk_ |
SgCubicSpline. ====================================================================================================
Definition at line 46 of file SgCubicSpline.h.
|
inline |
A constructor. Creates a default object.
Definition at line 134 of file SgCubicSpline.h.
References dimension(), dimension_, isOk_, numOfRecords(), and numOfRecords_.
|
inline |
A destructor. Frees allocated memory.
Definition at line 147 of file SgCubicSpline.h.
|
inline |
Definition at line 183 of file SgCubicSpline.h.
References argument_.
Referenced by SgVlbiSession::prepare4ErpInterpolation(), and NsTestDialog::testPlot().
|
static |
Returns name of the class (for debug output).
Definition at line 37 of file SgCubicSpline.cpp.
Referenced by prepare4Spline().
|
inline |
Returns dimension of the splined table.
Definition at line 158 of file SgCubicSpline.h.
References dimension_.
Referenced by SgCubicSpline().
|
inlineprivate |
Definition at line 113 of file SgCubicSpline.h.
References argument_, and SgVector::getElement().
Referenced by solveSpline(), and spline().
|
inline |
Definition at line 174 of file SgCubicSpline.h.
References isOk_.
Referenced by SgVlbiSession::collectAPriories(), and SgVlbiSession::prepare4ErpInterpolation().
|
inline |
Returns a number of records in the table.
Definition at line 166 of file SgCubicSpline.h.
References numOfRecords_.
Referenced by SgCubicSpline().
void SgCubicSpline::prepare4Spline | ( | ) |
Definition at line 45 of file SgCubicSpline.cpp.
References argument_, className(), dimension_, SgLogger::ERR, SgVector::getElement(), SgLogger::INTERP, isOk_, logger, numOfRecords_, solveSpline(), and SgLogger::write().
Referenced by SgVlbiSession::prepare4ErpInterpolation(), and NsTestDialog::testPlot().
|
private |
Definition at line 74 of file SgCubicSpline.cpp.
References coeffs_, SgVector::getElement(), SgMatrix::getElement(), h(), numOfRecords_, and table_.
Referenced by prepare4Spline().
double SgCubicSpline::spline | ( | double | arg, |
int | nColumn, | ||
double & | r | ||
) |
Definition at line 113 of file SgCubicSpline.cpp.
References argument_, coeffs_, SgVector::getElement(), SgMatrix::getElement(), h(), isOk_, numOfRecords_, and table_.
Referenced by SgVlbiSession::collectAPriories(), SgVlbiSession::getAprioriErp(), and NsTestDialog::testPlot().
|
inline |
Definition at line 191 of file SgCubicSpline.h.
References table_.
Referenced by SgVlbiSession::prepare4ErpInterpolation(), and NsTestDialog::testPlot().
|
private |
Definition at line 106 of file SgCubicSpline.h.
Referenced by argument(), h(), prepare4Spline(), and spline().
|
private |
Definition at line 108 of file SgCubicSpline.h.
Referenced by solveSpline(), and spline().
|
private |
Definition at line 104 of file SgCubicSpline.h.
Referenced by SgCubicSpline(), dimension(), and prepare4Spline().
|
private |
Definition at line 109 of file SgCubicSpline.h.
Referenced by SgCubicSpline(), isOk(), prepare4Spline(), and spline().
|
private |
Definition at line 105 of file SgCubicSpline.h.
Referenced by SgCubicSpline(), numOfRecords(), prepare4Spline(), solveSpline(), and spline().
|
private |
Definition at line 107 of file SgCubicSpline.h.
Referenced by solveSpline(), spline(), and table().