std::vector<double, std::allocator<double> > write_array(std::vector<double, std::allocator<double> >, bool, bool, unsigned int, unsigned int)

takes a vector of unconstrained parameters, flags for include_tparams and include_gqs, as well as integers for id and seed and returns a vector of constrained parameters

Rcpp::List write_list(std::vector<double, std::allocator<double> >, bool, bool, unsigned int, unsigned int)

takes a vector of unconstrained parameters, flags for include_tparams and include_gqs, as well as integers for id and seed and returns a list of constrained parameters with the appropriate dimensions