rtoy / maxima

A Clone of Maxima's repo
Other
0 stars 0 forks source link

matrix ^ zero #1783

Open rtoy opened 3 months ago

rtoy commented 3 months ago

Imported from SourceForge on 2024-07-05 07:47:32 Created by willisbl on 2007-08-08 15:24:19 Original: https://sourceforge.net/p/maxima/bugs/1252


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.

rtoy commented 3 months ago

Imported from SourceForge on 2024-07-05 07:47:33 Created by macrakis on 2007-09-17 19:18:17 Original: https://sourceforge.net/p/maxima/bugs/1252/#6481


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

rtoy commented 3 months ago

Imported from SourceForge on 2024-07-05 07:47:37 Created by robert_dodier on 2008-06-15 00:48:33 Original: https://sourceforge.net/p/maxima/bugs/1252/#7e05