1 #ifndef STAN__MATH__MATRIX__STAN_PRINT_HPP
2 #define STAN__MATH__MATRIX__STAN_PRINT_HPP
17 void stan_print(std::ostream* o,
const std::vector<T>& x) {
19 for (
int i = 0; i < x.size(); ++i) {
27 void stan_print(std::ostream* o,
const Eigen::Matrix<T,Eigen::Dynamic,1>& x) {
29 for (
int i = 0; i < x.size(); ++i) {
37 void stan_print(std::ostream* o,
const Eigen::Matrix<T,1,Eigen::Dynamic>& x) {
39 for (
int i = 0; i < x.size(); ++i) {
48 const Eigen::Matrix<T,Eigen::Dynamic,Eigen::Dynamic>& x) {
50 for (
int i = 0; i < x.rows(); ++i) {
53 for (
int j = 0; j < x.row(i).size(); ++j) {
void stan_print(std::ostream *o, const T &x)