include "test.idp" cout << functionDEFINITION << "renumbering" << endl; real t; real r = 12; matrix A = [[1, 4, 6], [2, 7, 9], [1, 2, 3]]; matrix B = [[1, 0, 0], [0, 1, 0], [0, 0, 1]]; t = clock(); cout << renumbering(A, B) << endl; t = clock() - t; cout << timeELAPSED << t << endl; cout << A << endl; test(A(0, 0) == 1); test(A(0, 1) == 4); test(A(0, 2) == 6); test(A(1, 0) == 2); test(A(1, 1) == 7); test(A(1, 2) == 9); test(A(2, 0) == 1); test(A(2, 1) == 2); test(A(2, 2) == 3);