An matrix indexing like M[0,0] should result in a scalar.
And it should be possible to insert scalars directly into a matrix.
For comparison like M[0,0] == 1 or assignment M[0,0] = 1
This would avoid further unnecessary typecasts like as.scalar(M[0,0])
An matrix indexing like M[0,0] should result in a scalar. And it should be possible to insert scalars directly into a matrix. For comparison like M[0,0] == 1 or assignment M[0,0] = 1 This would avoid further unnecessary typecasts like as.scalar(M[0,0])