Exemple #1
0
 inline  
 typename boost::math::tools::promote_args<T>::type
 mean(const Eigen::Matrix<T,R,C>& m) {
   stan::math::check_nonzero_size("mean(%1%)",m,"m", (double*)0);
   return m.mean();
 }    
Exemple #2
0
 inline  
 typename boost::math::tools::promote_args<T>::type
 mean(const Eigen::Matrix<T,R,C>& m) {
   stan::error_handling::check_nonzero_size("mean", "m", m);
   return m.mean();
 }