Function matrix_swap_cols_double (o2scl)

O2scl : Function List

template<class mat_t>
void o2scl::matrix_swap_cols_double(size_t M, mat_t &m, size_t j1, size_t j2)

Swap the first M rows of two columns in a double-precision matrix.

This function swaps the element i and element j of matrix v1.