FIMS  v0.9.3
Loading...
Searching...
No Matches
Variable Class Reference

An Rcpp interface that defines the Variable class. More...

#include <rcpp_interface_base.hpp>

Public Member Functions

 Variable (double value, std::string estimation_type)
 The constructor for initializing a variable.
 
 Variable (const Variable &other)
 The constructor for initializing a variable.
 
Variableoperator= (const Variable &right)
 The constructor for initializing a variable.
 
 Variable (double value)
 The constructor for initializing a variable.
 
 Variable ()
 The constructor for initializing a Variable.
 

Public Attributes

uint32_t id_m
 The local ID of the Variable object.
 
double initial_value_m = 0.0
 The initial value of the variable.
 
double final_value_m = 0.0
 The final value of the variable.
 
SharedString estimation_type_m = SharedString("constant")
 A string indicating the estimation type. Options are: constant, fixed_effects, or random_effects, where the default is constant.
 

Static Public Attributes

static uint32_t id_g = 0
 The static ID of the Variable object.
 

Detailed Description

An Rcpp interface that defines the Variable class.

An Rcpp interface class that defines the interface between R and C++ for a variable type.

Constructor & Destructor Documentation

◆ Variable()

Variable::Variable ( )
inline

The constructor for initializing a Variable.

Set value to 0 when there is no input value.

Member Data Documentation

◆ id_g

uint32_t Variable::id_g = 0
static

The static ID of the Variable object.

The unique ID for the variable map that points to a fims::Vector.


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