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

Function Documentation

template<class I>
std::uint64_t ADS::rowFingerprint(std::size_t n, const I *ind, const double *val, std::uint64_t seed = 0)

the fingerprint of the sparse row of the n entries ( ind[ k ] , val[ k ] ) under the seed

Pre:

ind and val are not nil if n > 0