Skip to content

Instantly share code, notes, and snippets.

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/1dc9472a3b60c680a072056f2a4f2207 to your computer and use it in GitHub Desktop.
Save drauschenbach/1dc9472a3b60c680a072056f2a4f2207 to your computer and use it in GitHub Desktop.
<html>
<body>
<script type="text/javascript" src="https://cdn.jsdelivr.net/npm/fengari-web@0.1.2/dist/fengari-web.js"></script>
<script type="application/lua" src="https://cdn.jsdelivr.net/npm/lua-stuart@2.0.0-0/stuart.lua"></script>
<script type="application/lua" src="https://cdn.jsdelivr.net/npm/lua-stuart-ml@2.0.1-0/stuart-ml.lua"></script>
<script type="application/lua">
local Matrices = require 'stuart-ml.linalg.Matrices'
local denseMatrix = Matrices.dense(3, 2, {1.0, 3.0, 5.0, 2.0, 4.0, 6.0})
...
</script>
</body>
</html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment