Template Function icrar::matrix_hash

Function Documentation

template<typename T>
std::size_t icrar::matrix_hash(const T &matrix)

Hash function for Eigen matrix and vector. The code is from hash_combine function of the Boost library. See http://www.boost.org/doc/libs/1_55_0/doc/html/hash/reference.html#boost.hash_combine .

Template Parameters:

T – Eigen Dense Matrix type