1 #ifndef STAN_MATH_PRIM_MAT_FUN_STAN_PRINT_HPP
2 #define STAN_MATH_PRIM_MAT_FUN_STAN_PRINT_HPP
17 void stan_print(std::ostream* o,
const std::vector<T>& x) {
19 for (
size_t i = 0; i < x.size(); ++i) {
28 const Eigen::Matrix<T, Eigen::Dynamic, 1>& x) {
30 for (
int i = 0; i < x.size(); ++i) {
39 const Eigen::Matrix<T, 1, Eigen::Dynamic>& x) {
41 for (
int i = 0; i < x.size(); ++i) {
50 const Eigen::Matrix<T, Eigen::Dynamic, Eigen::Dynamic>& x) {
52 for (
int i = 0; i < x.rows(); ++i) {
55 for (
int j = 0; j < x.row(i).size(); ++j) {
void stan_print(std::ostream *o, const T &x)