Table of Contents
New
Matrix.New(T) creates a matrix object from the table t. Matrices can only have numerical (real or complex) entries and all rows must be of equal length.
Example
Input
- Example.Quanty
M = Matrix.New({{1,2},{2,1}}) print(M)
Result
{ { 1 , 2 } , { 2 , 1 } }