Guest User

Untitled

a guest
Oct 27th, 2013
134
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.31 KB | None | 0 0
  1.  
  2.     const int ROWS = 3;
  3.     const int COLS = 5;
  4.     Rational A[ROWS][COLS] = {
  5.             {  1,  3, -1, 2, 4 },
  6.             {  2,  6, -3, 2, 3 },
  7.             { -1, -3,  3, 2, 6 },
  8.     };
  9.    
  10.     Rational *As[ROWS];
  11.     for (int i = 0; i < ROWS; i++) {
  12.         As[i] = A[i];
  13.     }
  14.     rref(As, ROWS, COLS);
Advertisement
Add Comment
Please, Sign In to add comment