TMB Documentation
v1.9.11
|
Interfaces to R and CppAD. More...
#include <set>
Go to the source code of this file.
Classes | |
struct | data_indicator< VT, Type > |
Utilities for OSA residuals. More... | |
struct | parallel_accumulator< Type > |
Helper to manage parallel accumulation. More... | |
Macros | |
#define | ADREPORT(name) TMB_OBJECTIVE_PTR -> reportvector.push(name, #name); |
Report an expression (scalar, vector, matrix or array valued) back to R with derivative information. More... | |
#define | DATA_ARRAY(name) |
Get data array from R and declare it as array<Type> More... | |
#define | DATA_ARRAY_INDICATOR(name, obs) |
Declare an indicator array 'name' of same shape as 'obs'. By default, the indicator array is filled with ones indicating that all observations are enabled. More... | |
#define | DATA_FACTOR(name) |
Get data vector of type "factor" from R and declare it as a zero-based integer vector. More... | |
#define | DATA_IARRAY(name) |
Get data array from R and declare it as array<int> | |
#define | DATA_IMATRIX(name) |
Get data matrix from R and declare it as matrix<int> | |
#define | DATA_INTEGER(name) |
Get data scalar from R and declare it as int. | |
#define | DATA_IVECTOR(name) |
Get data vector of type "integer" from R and declare it vector<int>. (DATA_INTEGER() is for a scalar integer) | |
#define | DATA_MATRIX(name) |
Get data matrix from R and declare it as matrix<Type> | |
#define | DATA_SCALAR(name) |
Get data scalar from R and declare it as Type. | |
#define | DATA_SPARSE_MATRIX(name) |
Get sparse matrix from R and declare it as Eigen::SparseMatrix<Type> | |
#define | DATA_STRING(name) |
Get string from R and declare it as std::string. More... | |
#define | DATA_STRUCT(name, struct) struct<Type> name(getListElement(TMB_OBJECTIVE_PTR -> data, #name)); |
Get data list object from R and make it available in C++. More... | |
#define | DATA_VECTOR(name) |
Get data vector from R and declare it as vector<Type> More... | |
#define | DATA_VECTOR_INDICATOR(name, obs) |
Declare an indicator vector 'name' of same shape as 'obs'. By default, the indicator vector is filled with ones indicating that all observations are enabled. More... | |
#define | NLEVELS(name) |
Get the number of levels of a data factor from R. | |
#define | PARAMETER(name) |
Get parameter scalar from R and declare it as Type. | |
#define | PARAMETER_ARRAY(name) |
Get parameter array from R and declare it as array<Type> | |
#define | PARAMETER_MATRIX(name) |
Get parameter matrix from R and declare it as matrix<Type> | |
#define | PARAMETER_VECTOR(name) |
Get parameter vector from R and declare it as vector<Type> | |
#define | REPORT(name) |
Report scalar, vector or array back to R without derivative information. More... | |
#define | SIMULATE if(isDouble<Type>::value && TMB_OBJECTIVE_PTR -> do_simulate) |
Mark code that is only executed during simulation. More... | |
#define | TMB_OBJECTIVE_PTR this |
Pointer to objective function used by DATA and PARAMETER macros. More... | |
Interfaces to R and CppAD.
Definition in file tmb_core.hpp.