O2scl : Function List

Functions matrix_min_index

template<class mat_t, class data_t>
void o2scl::matrix_min_index(size_t n, size_t m, const mat_t &data, size_t &i_min, size_t &j_min, data_t &min)

Compute the minimum of a matrix and return the indices of the minimum element.

template<class mat_t, class data_t>
void o2scl::matrix_min_index(const mat_t &data, size_t &i_min, size_t &j_min, data_t &min)

Compute the minimum of a matrix and return the indices of the minimum element.