fork download
  1. the matrix:
  2.  
  3. 1 2 3 4
  4. 5 6 7 8
  5. 9 10 11 12
  6. 13 14 15 16
  7.  
  8. in row major:
  9. float mat[16] = {1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16};
  10.  
  11. in column major:
  12. float mat[16] = {1,5,9,13,2,6,10,14,3,7,11,15,4,8,12,16};
Not running #stdin #stdout 0s 0KB
stdin
Standard input is empty
stdout
Standard output is empty