rtoy / maxima

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

use_fast_arrays & undeclared arrays #294

Open rtoy opened 3 days ago

rtoy commented 3 days ago

Imported from SourceForge on 2024-07-02 15:30:00 Created by willisbl on 2012-07-12 10:53:19 Original: https://sourceforge.net/p/maxima/bugs/2444


When use_fast_arrays is true, Maxima uses CL hashtables to store undeclared arrays. These hashtables use CL equal to test equality of keys. This has some undesired consequences; for example:

(%i1) use_fast_arrays : true$ (%i2) a[factor(2*z)] : 1$ (%i3) a[2*z] : 2$ (%i4) [a[2*z], a[factor(2*z)]]; (%o4) [2,1]

See also

http://www.math.utexas.edu/pipermail/maxima/2012/029525.html http://www.math.utexas.edu/pipermail/maxima/2012/029527.html http://www.math.utexas.edu/pipermail/maxima/2012/029528.html

rtoy commented 3 days ago

Imported from SourceForge on 2024-07-02 15:30:01 Created by robert_dodier on 2024-04-07 05:27:53 Original: https://sourceforge.net/p/maxima/bugs/2444/#80cc


rtoy commented 3 days ago

Imported from SourceForge on 2024-07-02 15:30:03 Created by robert_dodier on 2024-04-07 05:27:54 Original: https://sourceforge.net/p/maxima/bugs/2444/#6f6d


Marking this item as a duplicate of bug #4030.