-
Notifications
You must be signed in to change notification settings - Fork 0
Constructors
3uclidian edited this page Dec 30, 2019
·
3 revisions
local matrix = require "lua_matrix"
Creates a zero matrix of the given size.
Takes the given table and turns it into a matrix with the given amount of rows.
Takes the given table and turns it into a matrix with the given amount of columns.
Takes a table of tables and turns it into a matrix
Creates a square identity matrix of the given size
Creates a random matrix of the given size. All entries will be in the range [-0.5,0.5]