Stan Math Library  2.20.0
reverse mode automatic differentiation
typedefs.hpp
Go to the documentation of this file.
1 #ifndef STAN_MATH_REV_MAT_FUN_TYPEDEFS_HPP
2 #define STAN_MATH_REV_MAT_FUN_TYPEDEFS_HPP
3 
4 #include <stan/math/rev/meta.hpp>
6 #include <stan/math/rev/core.hpp>
7 
8 namespace stan {
9 namespace math {
10 
11 typedef Eigen::Matrix<double, Eigen::Dynamic, Eigen::Dynamic>::Index size_type;
12 
17 typedef Eigen::Matrix<var, Eigen::Dynamic, Eigen::Dynamic> matrix_v;
18 
23 typedef Eigen::Matrix<var, Eigen::Dynamic, 1> vector_v;
24 
29 typedef Eigen::Matrix<var, 1, Eigen::Dynamic> row_vector_v;
30 
35 typedef Eigen::Matrix<vari*, Eigen::Dynamic, Eigen::Dynamic> matrix_vi;
36 
41 typedef Eigen::Matrix<vari*, Eigen::Dynamic, 1> vector_vi;
42 
47 typedef Eigen::Matrix<vari*, 1, Eigen::Dynamic> row_vector_vi;
48 
49 } // namespace math
50 } // namespace stan
51 #endif
Eigen::Matrix< var, Eigen::Dynamic, 1 > vector_v
The type of a (column) vector holding var values.
Definition: typedefs.hpp:23
Eigen::Matrix< vari *, Eigen::Dynamic, Eigen::Dynamic > matrix_vi
The type of a matrix holding vari* values.
Definition: typedefs.hpp:35
Eigen::Matrix< var, Eigen::Dynamic, Eigen::Dynamic > matrix_v
The type of a matrix holding var values.
Definition: typedefs.hpp:17
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:11
Eigen::Matrix< vari *, Eigen::Dynamic, 1 > vector_vi
The type of a (column) vector holding vari* values.
Definition: typedefs.hpp:41
Eigen::Matrix< var, 1, Eigen::Dynamic > row_vector_v
The type of a row vector holding var values.
Definition: typedefs.hpp:29
Eigen::Matrix< vari *, 1, Eigen::Dynamic > row_vector_vi
The type of a row vector holding vari* values.
Definition: typedefs.hpp:47

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