Previous Up Next

14.2.1  Entering matrices

A matrix is represented by a list of lists, all having the same size.

Examples

[[1,2,3],[4,5,6]]
     


123
456


          

You can give a matrix a name with assignment.

A:=[[1,2,6],[3,4,8],[1,0,1]]
     



126
348
101



          

Previous Up Next