All Classes Namespaces Files Functions Variables Typedefs Enumerator Friends Macros Groups
index_type.hpp
Go to the documentation of this file.
#ifndef STAN_MATH_PRIM_MAT_META_INDEX_TYPE_HPP
#define STAN_MATH_PRIM_MAT_META_INDEX_TYPE_HPP
#include <stan/math/prim/scal/meta/index_type.hpp>
#include <Eigen/Core>
namespace stan {
namespace math {
template <typename T, int R, int C>
struct index_type<Eigen::Matrix<T, R, C> > {
typedef typename Eigen::Matrix<T, R, C>::Index type;
};
}
}
#endif
index_type.hpp
stan::math::index_type
Primary template class for the metaprogram to compute the index type of a container.
Definition: index_type.hpp:19
stan::math::index_type< Eigen::Matrix< T, R, C > >::type
Eigen::Matrix< T, R, C >::Index type
Definition: index_type.hpp:21

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