1 #ifndef STAN_MATH_REV_MAT_FUN_TO_VAR_HPP
2 #define STAN_MATH_REV_MAT_FUN_TO_VAR_HPP
45 for (
int j = 0; j < m.cols(); ++j)
46 for (
int i = 0; i < m.rows(); ++i)
72 for (
int i = 0; i < v.size(); ++i)
99 for (
int i = 0; i < rv.size(); ++i)
Eigen::Matrix< var, Eigen::Dynamic, 1 > vector_v
The type of a (column) vector holding stan::math::var values.
Eigen::Matrix< double, Eigen::Dynamic, 1 > vector_d
Type for (column) vector of double values.
Eigen::Matrix< double, 1, Eigen::Dynamic > row_vector_d
Type for (row) vector of double values.
Independent (input) and dependent (output) variables for gradients.
Eigen::Matrix< var, Eigen::Dynamic, Eigen::Dynamic > matrix_v
The type of a matrix holding stan::math::var values.
var to_var(const double &x)
Converts argument to an automatic differentiation variable.
Eigen::Matrix< double, Eigen::Dynamic, Eigen::Dynamic > matrix_d
Type for matrix of double values.
Eigen::Matrix< var, 1, Eigen::Dynamic > row_vector_v
The type of a row vector holding stan::math::var values.