Operator_ostream

Functions

template<typename T1 >
std::ostream & operator<< (std::ostream &o, const Base< typename T1::elem_type, T1 > &X)
template<typename T1 >
std::ostream & operator<< (std::ostream &o, const BaseCube< typename T1::elem_type, T1 > &X)
template<typename T1 >
std::ostream & operator<< (std::ostream &o, const field< T1 > &X)
 Print the contents of a field to the specified stream.
template<typename T1 >
std::ostream & operator<< (std::ostream &o, const subview_field< T1 > &X)
 Print the contents of a subfield to the specified stream.

Function Documentation

template<typename T1 >
std::ostream& operator<< ( std::ostream &  o,
const Base< typename T1::elem_type, T1 > &  X 
) [inline]

Definition at line 25 of file operator_ostream.hpp.

References arma_ostream::print().

00026   {
00027   arma_extra_debug_sigprint();
00028   
00029   const unwrap<T1> tmp(X.get_ref());
00030   
00031   arma_ostream::print(o, tmp.M, true);
00032   
00033   return o;
00034   }

template<typename T1 >
std::ostream& operator<< ( std::ostream &  o,
const BaseCube< typename T1::elem_type, T1 > &  X 
) [inline]

Definition at line 41 of file operator_ostream.hpp.

References arma_ostream::print().

00042   {
00043   arma_extra_debug_sigprint();
00044   
00045   const unwrap_cube<T1> tmp(X.get_ref());
00046   
00047   arma_ostream::print(o, tmp.M, true);
00048   
00049   return o;
00050   }

template<typename T1 >
std::ostream& operator<< ( std::ostream &  o,
const field< T1 > &  X 
) [inline]

Print the contents of a field to the specified stream.

Definition at line 58 of file operator_ostream.hpp.

References arma_ostream::print().

00059   {
00060   arma_extra_debug_sigprint();
00061   
00062   arma_ostream::print(o, X);
00063   
00064   return o;
00065   }

template<typename T1 >
std::ostream& operator<< ( std::ostream &  o,
const subview_field< T1 > &  X 
) [inline]

Print the contents of a subfield to the specified stream.

Definition at line 73 of file operator_ostream.hpp.

References arma_ostream::print().

00074   {
00075   arma_extra_debug_sigprint();
00076   
00077   arma_ostream::print(o, X);
00078 
00079   return o;
00080   }