|
|
| Table () |
| Default constructor. More...
|
|
| Table (XVariableType const &XVariable, YVariableType const &YVariable) |
| Default constructor. More...
|
|
virtual | ~Table () |
| Destructor. More...
|
|
Table & | operator= (Table const &rOther) |
| Assignment operator. More...
|
|
virtual | ~Table ()=default |
|
|
TResultType | operator() (TArgumentType const &X) const |
|
TResultType const & | operator[] (TArgumentType const &X) const |
|
TResultType & | operator[] (TArgumentType &X) |
|
TResultType const & | operator() (TArgumentType const &X) const |
|
TResultType & | operator() (TArgumentType const &X) |
|
TResultType const & | operator() (TArgumentType const &X, std::size_t J) const |
|
TResultType & | operator() (TArgumentType const &X, std::size_t J) |
|
result_row_type const & | operator[] (TArgumentType const &X) const |
|
result_row_type & | operator[] (TArgumentType &X) |
|
|
TResultType | GetValue (TArgumentType const &X) const |
|
result_array_type & | GetNearestRow (TArgumentType const &X) |
|
TResultType const & | GetNearestValue (TArgumentType const &X) const |
|
TResultType & | Interpolate (TArgumentType const &X, TArgumentType const &X1, TResultType const &Y1, TArgumentType const &X2, TResultType const &Y2, TResultType &Result) |
|
void | PushBack (TArgumentType const &X, TResultType const &Y) |
|
TResultType & | GetNearestRow (TArgumentType const &X) |
|
TResultType const & | GetNearestRow (TArgumentType const &X) const |
|
void | insert (TArgumentType const &X, TResultType const &Y) |
|
template<class TArrayType > |
void | insert (TArgumentType const &X, TArrayType const &Y) |
|
void | insert (TArgumentType const &X, result_row_type const &Y) |
|
void | PushBack (TArgumentType const &X, TResultType const &Y) |
|
template<class TArrayType > |
void | PushBack (TArgumentType const &X, TArrayType const &Y) |
|
template<class TArrayType > |
void | PushBack (TArgumentType const &X, result_row_type const &Y) |
|
void | Clear () |
| This method clears database. More...
|
|
|
TableContainerType & | Data () |
|
TableContainerType const & | Data () const |
|
XVariableType & | GetXVariable () |
|
YVariableType & | GetYVariable () |
|
TableContainerType & | Data () |
|
TableContainerType const & | Data () const |
|
|
virtual std::string | Info () const |
| Turn back information as a string. More...
|
|
virtual void | PrintInfo (std::ostream &rOStream) const |
| Print information about this object. More...
|
|
virtual void | PrintData (std::ostream &rOStream) const |
| Print object's data. More...
|
|
virtual std::string | Info () const |
| Turn back information as a string. More...
|
|
virtual void | PrintInfo (std::ostream &rOStream) const |
| Print information about this object. More...
|
|
virtual void | PrintData (std::ostream &rOStream) const |
| Print object's data. More...
|
|
const std::string & | NameOfX () const |
|
const std::string & | NameOfY () const |
|
void | SetNameOfX (const std::string &name) |
|
void | SetNameOfY (const std::string &name) |
|
template<class TArgumentType, class TResultType = TArgumentType, std::size_t TResultsColumns = 1>
class Kratos::Table< TArgumentType, TResultType, TResultsColumns >
This class represents the value of its variable depending to other variable.
Table class stores the value of its second variable respect to the value of its first variable. It also provides a piecewise linear interpolator/extrapolator for getting intermediate values.
Table class stores the value of its second variable respect to the value of its first variable. It also provides a double to double table with piecewise linear interpolator/extrapolator for getting intermediate values.
- Author
- Pooyan Dadvand
-
Riccardo Rossi
- Template Parameters
-
TArgumentType | The type of argument considered |
TResultType | The type of result obtained |
TResultsColumns | The number of columns considered |