index_type.hpp
Go to the documentation of this file.
#ifndef STAN_MATH_PRIM_ARR_META_INDEX_TYPE_HPP
#define STAN_MATH_PRIM_ARR_META_INDEX_TYPE_HPP
#include <stan/math/prim/scal/meta/index_type.hpp>
#include <vector>
namespace stan {
namespace math {
template <typename T>
struct index_type<std::vector<T> > {
typedef typename std::vector<T>::size_type type;
};
}
}
#endif
index_type.hpp
stan
Definition: log_sum_exp.hpp:8
stan::math::index_type< std::vector< T > >::type
std::vector< T >::size_type type
Typedef for index of standard vectors.
Definition: index_type.hpp:21
std
Definition: std_numeric_limits.hpp:7
stan::math::size_type
Eigen::Matrix< double, Eigen::Dynamic, Eigen::Dynamic >::Index size_type
Type for sizes and indexes in an Eigen matrix with double e.
Definition: typedefs.hpp:13
stan::math::index_type
Primary template class for the metaprogram to compute the index type of a container.
Definition: index_type.hpp:18

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