Question: D can be unprotected, but is still seen as operator?


I always used something different from D when using diagonal matrices. Now I learned I can unprotect D.

However, I got this:

> restart; with(LinearAlgebra);
> unprotect(D);
> D := DiagonalMatrix([2, 3]);
> D.D;D^(2);
Error, invalid 'D' operator

Maple does interpret D as a matrix that he can square, but the exponentional notation can't be used as he sees it as some sort of operator?  Can anyone point out my mistake?


Many thanks!

Please Wait...