A matrix is better represented as a nested list of lists:
((1 2 3)(4 5 6)(6 7 8))
Of course you ignore that representing a tensor of rank higher than 2 is just as difficult in 2d as a matrix is in 1d.A matrix is better represented as a nested list of lists:
((1 2 3)(4 5 6)(6 7 8))
Of course you ignore that representing a tensor of rank higher than 2 is just as difficult in 2d as a matrix is in 1d.