1 #ifndef STAN_MATH_PRIM_ARR_FUN_ARRAY_BUILDER_HPP 2 #define STAN_MATH_PRIM_ARR_FUN_ARRAY_BUILDER_HPP 47 std::vector<T>
array() {
return x_; }
array_builder & add(const S &u)
Add one element of type S to array, promoting to type T.
std::vector< T > array()
Getter method to return array itself.
Structure for building up arrays in an expression (rather than in statements) using an argumentchaini...
array_builder()
Construct an array_builder.