#include #include #include /** * Check that inversion works. * * \param n Number of rows of A * \param k Parameter k of M4RM algorithm, may be 0 for automatic choice. */ int invert_test(rci_t n, int k) { int ret = 0; printf("invert: n: %4d, k: %2d", n, k); mzd_t *I2 = mzd_init(n, n); mzd_set_ui(I2, 1); mzd_t *U = mzd_init(n,n); mzd_randomize(U); for(rci_t i=0; i