rtoy / maxima

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

programmode is mostly broken #1891

Open rtoy opened 2 months ago

rtoy commented 2 months ago

Imported from SourceForge on 2024-07-05 10:24:03 Created by willisbl on 2020-04-21 10:10:10 Original: https://sourceforge.net/p/maxima/bugs/3627


When programmode is false, solve doesn't always generate the %tX labels. For example,:

OK

(%i1)   block([programmode : false], solve([x=1,y=9],[x,y]));
Solution:
(%t1)   x=1
(%t2)   y=9
(%o2)   [[%t1,%t2]]

Not OK---doesn't genrate the %tX lables

(%i1)   block([programmode : false], solve([x=1,y^2=9],[x,y]));
(%o1)   [[x=1,y=-3],[x=1,y=3]]

In the second example, solve calls algsys. But algsys doesn't generate the %tX labels.

rtoy commented 2 months ago

Imported from SourceForge on 2024-07-05 10:24:04 Created by robert_dodier on 2024-06-13 20:16:34 Original: https://sourceforge.net/p/maxima/bugs/3627/#33f8


rtoy commented 2 months ago

Imported from SourceForge on 2024-07-05 10:24:07 Created by robert_dodier on 2024-06-13 20:16:34 Original: https://sourceforge.net/p/maxima/bugs/3627/#b3c2


Probably programmode should just be expunged. There are too many ways to solve equations, and I don't think it's worth the effort to try to extend each of them to handle programmode.