Previous Up Next

6.44.1  Matrices

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


Example.
Input:

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

Output:



123
456



You can give a matrix a name with assignment.
Input:

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

Output:




126
348
101




Previous Up Next