![]() |
FIMS
v0.10.0
|
#include <data_object.hpp>
Public Member Functions | |
| DataObject (size_t imax) | |
| DataObject (size_t imax, size_t jmax) | |
| DataObject (size_t imax, size_t jmax, size_t kmax) | |
| DataObject (size_t imax, size_t jmax, size_t kmax, size_t lmax) | |
| Type | operator() (size_t i) |
| Type & | at (size_t i) |
| const Type | operator() (size_t i, size_t j) |
| Type & | at (size_t i, size_t j) |
| const Type | operator() (size_t i, size_t j, size_t k) |
| Type & | at (size_t i, size_t j, size_t k) |
| const Type | operator() (size_t i, size_t j, size_t k, size_t l) |
| Type & | at (size_t i, size_t j, size_t k, size_t l) |
| size_t | get_dimensions () const |
| Get the dimensions object. | |
| size_t | get_imax () const |
| Get the imax object. | |
| size_t | get_jmax () const |
| Get the jmax object. | |
| size_t | get_kmax () const |
| Get the kmax object. | |
| size_t | get_lmax () const |
| Get the lmax object. | |
Public Member Functions inherited from fims_model_object::FIMSObject< Type > | |
| uint32_t | GetId () const |
| Getter that returns the unique id for parameters in the model. | |
| bool | CheckDimensions (size_t actual, size_t expected) |
| Check the dimensions of an object. | |
Public Member Functions inherited from fims_model_object::FIMSMemoryTracker | |
| void | register_self (const uint32_t id) |
| Registers a FIMSObject instance with the memory tracker. | |
Public Attributes | |
| fims::Vector< Type > | data |
| fims::Vector< Type > | uncertainty |
| size_t | dimensions |
| size_t | imax |
| size_t | jmax |
| size_t | kmax |
| size_t | lmax |
| Type | na_value = static_cast<Type>(-999) |
Public Attributes inherited from fims_model_object::FIMSObject< Type > | |
| uint32_t | id |
| std::vector< Type * > | parameters |
| std::vector< Type * > | random_effects_parameters |
| std::vector< Type * > | fixed_effects_parameters |
Static Public Attributes | |
| static uint32_t | id_g = 0 |
Static Public Attributes inherited from fims_model_object::FIMSMemoryTracker | |
| static int | total_active_objects = 0 |
| Total number of active FIMSObject instances currently in memory. | |
Container to hold user supplied data.
|
inline |
Constructs a one-dimensional data object.
|
inline |
Constructs a two-dimensional data object.
|
inline |
Constructs a three-dimensional data object.
|
inline |
Constructs a four-dimensional data object.
|
inline |
Retrieve element from 1d data set. Throws an exception if index is out of bounds.
| i | dimension of 1d data set |
|
inline |
Retrieve element from 2d data set. Throws an exception if index is out of bounds.
| i | 1st dimension of 2d data set |
| j | 2nd dimension of 2d data set |
|
inline |
Retrieve element from 3d data set. Throws an exception if index is out of bounds.
| i | 1st dimension of 3d data set |
| j | 2nd dimension of 3d data set |
| k | 3rd dimension of 3d data set |
|
inline |
Retrieve element from 3d data set. Throws an exception if index is out of bounds.
| i | 1st dimension of 4d data set |
| j | 2nd dimension of 4d data set |
| k | 3rd dimension of 4d data set |
| l | 4th dimension of 4d data set |
|
inline |
Get the dimensions object.
|
inline |
Get the imax object.
|
inline |
Get the jmax object.
|
inline |
Get the kmax object.
|
inline |
Get the lmax object.
|
inline |
Retrieve element from 1d data set.
| i | dimension of 1d data set |
|
inline |
Retrieve element from 2d data set.
| i | 1st dimension of 2d data set |
| j | 2nd dimension of 2d data set |
|
inline |
Retrieve element from 3d data set.
| i | 1st dimension of 3d data set |
| j | 2nd dimension of 3d data set |
| k | 3rd dimension of 3d data set |
|
inline |
Retrieve element from 4d data set.
| i | 1st dimension of 4d data set |
| j | 2nd dimension of 4d data set |
| k | 3rd dimension of 4d data set |
| l | 4th dimension of 4d data set |
| fims::Vector<Type> fims_data_object::DataObject< Type >::data |
vector of the data >
| size_t fims_data_object::DataObject< Type >::dimensions |
dimension of the Data object >
|
static |
id of the Data Object >
| size_t fims_data_object::DataObject< Type >::imax |
1st dimension of data object >
| size_t fims_data_object::DataObject< Type >::jmax |
2nd dimension of data object>
| size_t fims_data_object::DataObject< Type >::kmax |
3rd dimension of data object>
| size_t fims_data_object::DataObject< Type >::lmax |
4th dimension of data object>
| Type fims_data_object::DataObject< Type >::na_value = static_cast<Type>(-999) |
specifying the NA value >
| fims::Vector<Type> fims_data_object::DataObject< Type >::uncertainty |
vector of the data >