|
> Matrix accessor is my big big pain!!! The option M[x][y] is highlyHow about using __call and writing m(i,j)?
> inefficient but somewhat convenient. I'm using the direct access
> M[M.pitch * y + x] for optimized routine but I propose the syntax:
>
> m:get(i, j)
>
> to the user. Quite ugly but I don't have anything better.