diff options
author | cloudygoose <[email protected]> | 2015-05-31 00:16:01 +0800 |
---|---|---|
committer | cloudygoose <[email protected]> | 2015-05-31 00:16:01 +0800 |
commit | 36a686d51ca9e61779ae60d651e80c7713dd5289 (patch) | |
tree | 365f19393ae9befed478ce4027f97120d95f79bb /examples/cumatrix_example.lua | |
parent | 5edaa7d5649a2e124496159f7e8a14edab4f7484 (diff) |
modified doc/nerv.md
Diffstat (limited to 'examples/cumatrix_example.lua')
-rw-r--r-- | examples/cumatrix_example.lua | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/examples/cumatrix_example.lua b/examples/cumatrix_example.lua index 544fc7f..ff9dd78 100644 --- a/examples/cumatrix_example.lua +++ b/examples/cumatrix_example.lua @@ -2,6 +2,7 @@ m = 4 n = 4 fm = nerv.CuMatrixFloat(m, n) dm = nerv.CuMatrixDouble(m, n) +print(type(dm), nerv.typename(dm)) for i = 0, m - 1 do for j = 0, n - 1 do -- local t = math.random(10) |