27 #ifndef MPBLOCKS_CUDA_LINALG_IOSTREAM_H_
28 #define MPBLOCKS_CUDA_LINALG_IOSTREAM_H_
38 template <
typename Scalar,
class Mat>
39 std::ostream& operator<<( std::ostream& out, RValue<Scalar,Mat>
const& M)
41 for(
int i=0; i < M.rows(); i++)
43 for(
int j=0; j < M.cols(); j++)
46 << std::setiosflags(std::ios::fixed)
47 << std::setprecision(4) << M(i,j);