![]() |
Prev | Next | initialize |
size_map = mixed_object.initialize(fixed_vec, random_vec)
cppad_mixed
base_class
member function is public.
cppad_mixed
initialization requires calling the
derived class version of the
ran_likelihood
function.
Hence this initialization cannot be done until
after the derived constructor
completes.
cppad_mixed
base class.
const CppAD::vector<double>& fixed_vec
It specifies the value of the
fixed effects
vector @(@
\theta
@)@ at which certain CppAD::ADFun
objects are recorded.
const CppAD::vector<double>& random_vec
It specifies the value of the
random effects
vector @(@
u
@)@ at which certain CppAD::ADFun
objects are recorded.
std::map<std::string, size_t> size_map
It represent the size of certain aspects of the problem.
n_fixed
columns).
size_map
are specified,
but they can be inspected. For example,
std::map<std::string, size_t>::iterator itr;
for(itr = size_map.begin(); itr != size_map.end(); itr++)
std::cout << itr->first << " = " << itr->second << "\n";
initialize
.