Skip to content

Instantly share code, notes, and snippets.

@drauschenbach
Last active January 16, 2019 16:18
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save drauschenbach/9e78bc703bc7c0f01d6784840a65a1c1 to your computer and use it in GitHub Desktop.
Save drauschenbach/9e78bc703bc7c0f01d6784840a65a1c1 to your computer and use it in GitHub Desktop.
eLua# lua /rom/test/ml/Matrices.luo
Press CTRL+Z to exit Lua
Begin test
✓ dense matrix construction
✓ dense matrix construction with wrong dimension
✓ sparse matrix construction
✓ sparse matrix construction with wrong number of elements
✓ index in matrices incorrect input
✓ matrix indexing and updating
✓ toSparse, toDense
✓ foreachActive
✓ zeros
✓ ones
✓ numNonzeros and numActives
End of test: 0 failures
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment