1 #ifndef STAN_MATH_PRIM_MAT_FUNCTOR_MAP_RECT_REDUCE_HPP 2 #define STAN_MATH_PRIM_MAT_FUNCTOR_MAP_RECT_REDUCE_HPP 36 template <
typename F,
typename T_shared_param,
typename T_job_param>
44 const std::vector<double>& x_r,
45 const std::vector<int>& x_i,
46 std::ostream* msgs =
nullptr)
const {
47 return F()(shared_params, job_specific_params, x_r, x_i, msgs).
transpose();
Eigen::Matrix< double, Eigen::Dynamic, 1 > vector_d
Type for (column) vector of double values.
matrix_d operator()(const vector_d &shared_params, const vector_d &job_specific_params, const std::vector< double > &x_r, const std::vector< int > &x_i, std::ostream *msgs=nullptr) const
Eigen::Matrix< double, Eigen::Dynamic, Eigen::Dynamic > matrix_d
Type for matrix of double values.
matrix_cl transpose(const matrix_cl &src)
Takes the transpose of the matrix on the OpenCL device.