value_type.hpp
Go to the documentation of this file.
#ifndef STAN_MATH_PRIM_MAT_META_VALUE_TYPE_HPP
#define STAN_MATH_PRIM_MAT_META_VALUE_TYPE_HPP
#include <stan/math/prim/scal/meta/value_type.hpp>
#include <Eigen/Core>
namespace stan {
namespace math {
template <typename T, int R, int C>
struct value_type<Eigen::Matrix<T, R, C> > {
typedef typename Eigen::Matrix<T, R, C>::Scalar type;
};
}
}
#endif
stan
Definition: log_sum_exp.hpp:8
Eigen
(Expert) Numerical traits for algorithmic differentiation variables.
Definition: Eigen_NumTraits.hpp:9
stan::math::value_type< Eigen::Matrix< T, R, C > >::type
Eigen::Matrix< T, R, C >::Scalar type
Definition: value_type.hpp:20
value_type.hpp
stan::math::value_type
Primary template class for metaprogram to compute the type of values stored in a container.
Definition: value_type.hpp:18

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