| Stan Math Library 2.12.0 reverse mode automatic differentiation

- Main Page
- Modules
- Namespaces
- Classes
- Files

- File List
- File Members

index_type.hpp
Go to the documentation of this file.
1 #ifndef STAN_MATH_PRIM_SCAL_META_INDEX_TYPE_HPP
2 #define STAN_MATH_PRIM_SCAL_META_INDEX_TYPE_HPP
3
4 namespace stan {
5 namespace math {
6
17 template <typename T>
18 struct index_type {
19 };
20
27 template <typename T>
28 struct index_type<const T> {
29 typedef typename index_type<T>::type type;
30 };
31
32 }
33 }
34
35 #endif
stan
Definition: log_sum_exp.hpp:8
stan::math::index_type
Primary template class for the metaprogram to compute the index type of a container.
Definition: index_type.hpp:18
stan::math::index_type< const T >::type
index_type< T >::type type
Definition: index_type.hpp:29

[ Stan Home Page ] © 2011–2016, Stan Development Team.