37#ifndef NEKTAR_LIB_UTILITIES_NEK_MATRIX_HPP
38#define NEKTAR_LIB_UTILITIES_NEK_MATRIX_HPP
48template <
typename DataType,
typename FormType>
55 for (
unsigned int i = 0; i < rhs.GetRows(); ++i)
58 for (
unsigned int j = 0; j < rhs.GetColumns(); ++j)
61 os.precision(osprecision);
63 if (j != rhs.GetColumns() - 1)
69 if (i != rhs.GetRows() - 1)
77template <
typename DataType,
typename FormType>
82 os <<
"[" << std::endl;
84 for (
unsigned int i = 0; i < rhs.GetRows(); ++i)
86 for (
unsigned int j = 0; j < rhs.GetColumns(); ++j)
101 if (i != rhs.GetRows() - 1)
106 os <<
"]" << std::endl;
std::ostream & operator<<(std::ostream &os, const NekMatrix< DataType, FormType > &rhs)
std::ostream & operator>>(std::ostream &os, const NekMatrix< DataType, FormType > &rhs)