1#ifndef STAN_MATH_REV_CORE_STD_ITERATOR_TRAITS_HPP
2#define STAN_MATH_REV_CORE_STD_ITERATOR_TRAITS_HPP
13template <
typename Iter>
14struct iterator_traits<
stan::math::var_value<Iter>> {
The lgamma implementation in stan-math is based on either the reentrant safe lgamma_r implementation ...
stan::math::var_value< Iter > value_type
Type for value of pointer to values.
stan::math::var_value< Iter > & reference
Type of reference to variables.
stan::math::var_value< Iter > * pointer
Type of pointer to variables.
random_access_iterator_tag iterator_category
Iterator category for traits.
ptrdiff_t difference_type
Type for difference between pointers.