README 417 B

12345678910111213141516171819202122232425262728293031323334
  1. This is a simple example program that shows how to use the transpose_blocks
  2. function of the igl library
  3. To Build:
  4. make
  5. To Run:
  6. ./example
  7. which should produce
  8. A=[
  9. 0 1 2 3
  10. 4 5 6 7
  11. 100 101 102 103
  12. 104 105 106 107
  13. 200 201 202 203
  14. 204 205 206 207
  15. ];
  16. B=[
  17. 0 4
  18. 1 5
  19. 2 6
  20. 3 7
  21. 100 104
  22. 101 105
  23. 102 106
  24. 103 107
  25. 200 204
  26. 201 205
  27. 202 206
  28. 203 207
  29. ];