1 #ifndef STAN_LANG_AST_FUN_TOTAL_DIMS_DEF_HPP 2 #define STAN_LANG_AST_FUN_TOTAL_DIMS_DEF_HPP 10 size_t total_dims(
const std::vector<std::vector<expression> >& dimss) {
12 for (
size_t i = 0; i < dimss.size(); ++i)
13 total += dimss[i].size();
Probability, optimization and sampling library.
std::size_t total_dims(const std::vector< std::vector< expression > > &dimss)
Return the total number of dimensions when the specified vectors of expressions are concatenated...