1 #ifndef STAN_MATH_REV_MAT_FUN_TYPEDEFS_HPP
2 #define STAN_MATH_REV_MAT_FUN_TYPEDEFS_HPP
3 
4 #include <stan/math/prim/mat/fun/Eigen.hpp>
5 #include <stan/math/rev/core.hpp>
6 
7 namespace stan {
8 namespace math {
9 
10 typedef Eigen::Matrix<double, Eigen::Dynamic, Eigen::Dynamic>::Index size_type;
11 
12 /**
13  * The type of a matrix holding <code>var</code>
14  * values.
15  */
16 typedef Eigen::Matrix<var, Eigen::Dynamic, Eigen::Dynamic> matrix_v;
17 
18 /**
19  * The type of a (column) vector holding <code>var</code>
20  * values.
21  */
22 typedef Eigen::Matrix<var, Eigen::Dynamic, 1> vector_v;
23 
24 /**
25  * The type of a row vector holding <code>var</code>
26  * values.
27  */
28 typedef Eigen::Matrix<var, 1, Eigen::Dynamic> row_vector_v;
29 
30 }  // namespace math
31 }  // namespace stan
32 #endif
33