Template Function ADS::sameRow(std::size_t, const I *, const double *, std::size_t, const I *, const double *)

Function Documentation

template<class I>
bool ADS::sameRow(std::size_t na, const I *ia, const double *va, std::size_t nb, const I *ib, const double *vb)

true if the sparse rows of na and nb entries have the same indices in the same order and equal values, in the sense above

Pre:

the pointers are not nil where there are entries