We have
(%i1) matrix([0])^0;
(%o1) matrix([1])
but
(%i2) 0^0;
0^0 has been generated -- an error.
Similarly, [0]^0 --> [1].
(%o1) disagrees with the user documentation for
domxexpt. I think the code should be changed to
match the documentation --- the matrix ^ xxx code
in simpexpt should be changed to simply map the
power function onto the matrix elements.
Logged In: YES
user_id=588346
Originator: NO
What about matrix([0])^^0? This currently gives matrix([1]). I'd think that <singular>^^0 would be just as undefined as 0^0.
-s