1 #ifndef STAN_MATH_PRIM_SCAL_META_SCALAR_SEQ_VIEW_HPP 2 #define STAN_MATH_PRIM_SCAL_META_SCALAR_SEQ_VIEW_HPP 14 template <typename C, typename T = typename scalar_type<C>::type>
scalar_seq_view provides a uniform sequence-like wrapper around either a scalar or a sequence of scal...
const T & operator[](int i) const
Segfaults if out of bounds.
scalar_seq_view(const C &c)
scalar_seq_view(const T &t)
const T & operator[](int) const