aboutsummaryrefslogtreecommitdiff
path: root/mmatrix_example.lua
diff options
context:
space:
mode:
authorDeterminant <[email protected]>2015-05-22 10:26:12 +0800
committerDeterminant <[email protected]>2015-05-22 10:26:12 +0800
commit8f18aaba322cf717b8805ebfcacb5a3108d3dda8 (patch)
tree366b86e2be668da0cf0a7ae430d5d161145b4c16 /mmatrix_example.lua
parent7503135d355275a17128f8a4c897739669fcd646 (diff)
add base class CuMatrix for CuMatrixFloat and CuMatrixDouble
Diffstat (limited to 'mmatrix_example.lua')
-rw-r--r--mmatrix_example.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/mmatrix_example.lua b/mmatrix_example.lua
index 39cd28e..679fde3 100644
--- a/mmatrix_example.lua
+++ b/mmatrix_example.lua
@@ -1,7 +1,7 @@
m = 10
n = 10
-fm = nerv.FloatMMatrix(m, n)
-dm = nerv.DoubleMMatrix(m, n)
+fm = nerv.MMatrixFloat(m, n)
+dm = nerv.MMatrixDouble(m, n)
for i = 0, m - 1 do
for j = 0, n - 1 do
-- local t = math.random(10)