37 #ifndef NEKTAR_LIB_UTILITIES_NEK_MATRIX_HPP 38 #define NEKTAR_LIB_UTILITIES_NEK_MATRIX_HPP 48 template<
typename DataType,
typename FormType>
49 std::ostream& operator<<(std::ostream& os, const NekMatrix<DataType, FormType>&
rhs)
54 for(
unsigned int i = 0; i <
rhs.GetRows(); ++i)
57 for(
unsigned int j = 0; j <
rhs.GetColumns(); ++j)
60 os.precision(osprecision);
62 if( j != rhs.GetColumns() - 1 )
68 if( i !=
rhs.GetRows()-1 )
76 template<
typename DataType,
typename FormType>
80 os <<
"[" << std::endl;
82 for(
unsigned int i = 0; i < rhs.GetRows(); ++i)
84 for(
unsigned int j = 0; j < rhs.GetColumns(); ++j)
99 if( i != rhs.GetRows()-1 )
104 os <<
"]" << std::endl;
109 #endif //NEKTAR_LIB_UTILITIES_NEK_MATRIX_HPP
std::ostream & operator>>(std::ostream &os, const NekMatrix< DataType, FormType > &rhs)
StandardMatrixTag boost::call_traits< LhsDataType >::const_reference rhs