49 if( lhs.num_elements() != rhs.num_elements() )
54 if( lhs.data() == rhs.data() )
59 for(
unsigned int i = 0; i < lhs.num_elements(); ++i)
61 if( fabs(lhs[i]-rhs[i]) > tol )
80 if( (lhs.GetRows() != rhs.GetRows()) ||
81 (lhs.GetColumns() != rhs.GetColumns()) )
86 if( lhs.data() == rhs.data() )
91 for(
unsigned int i = 0; i < lhs.GetRows(); ++i)
93 for(
unsigned int j = 0; j < lhs.GetColumns(); ++j)
95 if( fabs(lhs[i][j]-rhs[i][j]) > tol )
bool operator==(const Array< OneD, NekDouble > &lhs, const Array< OneD, NekDouble > &rhs)
bool IsEqual(const Array< OneD, const NekDouble > &lhs, const Array< OneD, const NekDouble > &rhs, NekDouble tol)