REARRAY complains if the size argument is not numeric.
Example:
N: 8$
ARRAY (aa, float, 2^N)$ /* OK!! */
REARRAY (aa, 3^N)$ /* OOPS !! "Argument X
is not a NUMBER" */
There is an ancient FFT demo file,
.../share/numeric/fft.dem, which uses REARRAY with an
expression argument. So perhaps it did work at some
point in the past.
I guess that REARRAY could attempt to evaluate its size
argument if it's not numeric. I don't know what is the
usual course of action for Maxima functions.
I'm running Maxima 5.9.1 (cmucl) on linux.
Logged In: YES
user_id=501686
Just need to map MEVAL over the dimension arguments of
rearray. Present behavior looks like a simple oversight.
As proposed MEVAL over the dimenension arguments of rearry added (Revision 1.9).
Closing this bug report as fixed.
Dieter Kaiser