Inherited by Eaagles::Basic::LcTable1.
Inheritance diagram for Eaagles::Basic::LcTable:


Public Member Functions | |
| LcTable () | |
| LcTable (const LCreal *dtbl, const int dsize) | |
| virtual int | tableSize () const=0 |
| const LCreal * | getDataTable () const |
| virtual bool | setDataTable (const LcList *const msg) |
| virtual void | findMinMax (LCreal *minValue, LCreal *maxValue) const |
| bool | isExtrapolationEnabled () const |
| bool | setExtrapolationEnabled (const bool flg) |
| virtual bool | setExtrapolationEnabled (const LcNumber *const msg) |
| virtual bool | isValid () const |
Static Public Member Functions | |
| static LCreal | lfi (const LCreal x, const LCreal *x_data, const int nx, const LCreal *a_data, const bool eFlg) |
| static LCreal | lfi (const LCreal x, const LCreal y, const LCreal *x_data, const int nx, const LCreal *y_data, const int ny, const LCreal *a_data, const bool eFlg) |
| static LCreal | lfi (const LCreal x, const LCreal y, const LCreal z, const LCreal *x_data, const int nx, const LCreal *y_data, const int ny, const LCreal *z_data, const int nz, const LCreal *a_data, const bool eFlg) |
| static LCreal | lfi (const LCreal x, const LCreal y, const LCreal z, const LCreal w, const LCreal *x_data, const int nx, const LCreal *y_data, const int ny, const LCreal *z_data, const int nz, const LCreal *w_data, const int nw, const LCreal *a_data, const bool eFlg) |
| static LCreal | lfi (const LCreal x, const LCreal y, const LCreal z, const LCreal w, const LCreal v, const LCreal *x_data, const int nx, const LCreal *y_data, const int ny, const LCreal *z_data, const int nz, const LCreal *w_data, const int nw, const LCreal *v_data, const int nv, const LCreal *a_data, const bool eFlg) |
Protected Member Functions | |
| virtual bool | loadData (const LcList &list, LCreal *const table)=0 |
| virtual void | printData (std::ostream &sout, const LCreal *table, const int indent) const =0 |
Static Protected Member Functions | |
| static bool | loadVector (LcList &list, LCreal **table, int *n) |
| static void | printVector (std::ostream &sout, const LCreal *table, const int n) |
Protected Attributes | |
| bool | valid |
Private Attributes | |
| LCreal * | dtable |
| int | nd |
| bool | extFlg |
Classes | |
| class | LcExpInvalidTable |
| Exceptions. More... | |
| class | LcExpInvalidVector |
Exceptions:
LcExpInvalidTable
Thrown by LcTable derived classes' lfi(), minX(), maxX(), minY(),
maxY(), minZ(), maxZ(), minW(), and maxW() methods when the table's
data are invalid.
LcExpInvalidVector
Thrown by LcTable's method loadVector() when it's passed an invalid
vector.
Static methods:
General Linear Function Interpolators:
(do not throw LcExpInvalidTable exception)
a = LcTable::lfi( x, x_data, nx, a_data, eFlg )
a = LcTable::lfi( x, y, x_data, nx, y_data, ny, a_data, eFlg )
a = LcTable::lfi( x, y, z, x_data, nx, y_data, ny, z_data, nz, a_data, eFlg )
a = LcTable::lfi( x, y, z, w, x_data, nx, y_data, ny, z_data, nz, w_data, nw, a_data, eFlg )
a = LcTable::lfi( x, y, z, w, v, x_data, nx, y_data, ny, z_data, nz, w_data, nw, v_data, nv, a_data, eFlg )
x - Independent variable #1
y - Independent variable #2
z - Independent variable #3
w - Independent variable #4
v - Independent variable #5
x_data - Table of independent variable #1 breakpoints
nx - Size of x_data table
y_data - Table of independent variable #2 breakpoints
ny - Size of y_data table
z_data - Table of independent variable #3 breakpoints
nz - Size of z_data table
w_data - Table of independent variable #4 breakpoints
nw - Size of w_data table
v_data - Table of independent variable #5 breakpoints
nv - Size of v_data table
a_data - Table of dependent variable data
eFlg - Extrapolation enabled flag
/pre>
| Eaagles::Basic::LcTable::LcTable | ( | ) |
| Eaagles::Basic::LcTable::LcTable | ( | const LCreal * | dtbl, | |
| const int | dsize | |||
| ) |
| virtual int Eaagles::Basic::LcTable::tableSize | ( | ) | const [pure virtual] |
Returns the number of entries in the data table.
Implemented in Eaagles::Basic::LcTable1, Eaagles::Basic::LcTable2, Eaagles::Basic::LcTable3, Eaagles::Basic::LcTable4, and Eaagles::Basic::LcTable5.
| const LCreal* Eaagles::Basic::LcTable::getDataTable | ( | ) | const [inline] |
Returns a pointer to the dependent data table.
| bool Eaagles::Basic::LcTable::setDataTable | ( | const LcList *const | msg | ) | [virtual] |
| bool Eaagles::Basic::LcTable::isExtrapolationEnabled | ( | ) | const [inline] |
Returns true if extrapolation beyond the table's data is enabled.
| bool Eaagles::Basic::LcTable::setExtrapolationEnabled | ( | const bool | flg | ) |
Sets the extrapolation enabled flag.
| bool Eaagles::Basic::LcTable::setExtrapolationEnabled | ( | const LcNumber *const | msg | ) | [virtual] |
| LCreal Eaagles::Basic::LcTable::lfi | ( | const LCreal | x, | |
| const LCreal * | x_data, | |||
| const int | nx, | |||
| const LCreal * | a_data, | |||
| const bool | eFlg | |||
| ) | [static] |
| LCreal Eaagles::Basic::LcTable::lfi | ( | const LCreal | x, | |
| const LCreal | y, | |||
| const LCreal * | x_data, | |||
| const int | nx, | |||
| const LCreal * | y_data, | |||
| const int | ny, | |||
| const LCreal * | a_data, | |||
| const bool | eFlg | |||
| ) | [static] |
| LCreal Eaagles::Basic::LcTable::lfi | ( | const LCreal | x, | |
| const LCreal | y, | |||
| const LCreal | z, | |||
| const LCreal * | x_data, | |||
| const int | nx, | |||
| const LCreal * | y_data, | |||
| const int | ny, | |||
| const LCreal * | z_data, | |||
| const int | nz, | |||
| const LCreal * | a_data, | |||
| const bool | eFlg | |||
| ) | [static] |
| LCreal Eaagles::Basic::LcTable::lfi | ( | const LCreal | x, | |
| const LCreal | y, | |||
| const LCreal | z, | |||
| const LCreal | w, | |||
| const LCreal * | x_data, | |||
| const int | nx, | |||
| const LCreal * | y_data, | |||
| const int | ny, | |||
| const LCreal * | z_data, | |||
| const int | nz, | |||
| const LCreal * | w_data, | |||
| const int | nw, | |||
| const LCreal * | a_data, | |||
| const bool | eFlg | |||
| ) | [static] |
| LCreal Eaagles::Basic::LcTable::lfi | ( | const LCreal | x, | |
| const LCreal | y, | |||
| const LCreal | z, | |||
| const LCreal | w, | |||
| const LCreal | v, | |||
| const LCreal * | x_data, | |||
| const int | nx, | |||
| const LCreal * | y_data, | |||
| const int | ny, | |||
| const LCreal * | z_data, | |||
| const int | nz, | |||
| const LCreal * | w_data, | |||
| const int | nw, | |||
| const LCreal * | v_data, | |||
| const int | nv, | |||
| const LCreal * | a_data, | |||
| const bool | eFlg | |||
| ) | [static] |
| bool Eaagles::Basic::LcTable::isValid | ( | ) | const [virtual] |
Returns true if the data table and breakpoint tables are valid.
Reimplemented from Eaagles::Basic::LcObject.
Reimplemented in Eaagles::Basic::LcTable1, Eaagles::Basic::LcTable2, Eaagles::Basic::LcTable3, Eaagles::Basic::LcTable4, and Eaagles::Basic::LcTable5.
| virtual bool Eaagles::Basic::LcTable::loadData | ( | const LcList & | list, | |
| LCreal *const | table | |||
| ) | [protected, pure virtual] |
| virtual void Eaagles::Basic::LcTable::printData | ( | std::ostream & | sout, | |
| const LCreal * | table, | |||
| const int | indent | |||
| ) | const [protected, pure virtual] |
| bool Eaagles::Basic::LcTable::loadVector | ( | LcList & | list, | |
| LCreal ** | table, | |||
| int * | n | |||
| ) | [static, protected] |
| void Eaagles::Basic::LcTable::printVector | ( | std::ostream & | sout, | |
| const LCreal * | table, | |||
| const int | n | |||
| ) | [static, protected] |
bool Eaagles::Basic::LcTable::valid [protected] |
Table is valid.
LCreal* Eaagles::Basic::LcTable::dtable [private] |
Data Table.
int Eaagles::Basic::LcTable::nd [private] |
Number of data points.
bool Eaagles::Basic::LcTable::extFlg [private] |
Extrapolation enabled flag.
1.5.0