1 #ifndef STAN_MATH_ARR_SCAL_META_VECTORVIEW_HPP
2 #define STAN_MATH_ARR_SCAL_META_VECTORVIEW_HPP
28 typedef typename boost::add_const<typename scalar_type<T>::type>::type
scalar_t & operator[](int i)
boost::conditional< boost::is_const< T >::value, typename boost::add_const< typename scalar_type< T >::type >::type, typename scalar_type< T >::type >::type scalar_t
scalar_type_helper< is_vector< T >::value, T >::type type
scalar_t & operator[](int i) const
boost::add_const< typename scalar_type< T >::type >::type scalar_t
scalar_type< T >::type scalar_t
VectorView is a template expression that is constructed with a container or scalar, which it then allows to be used as an array using operator[].