make_array arrays are useful but ugly.
They don't print properly:
ar => #(NIL ((%SIN SIMP) $x) NIL)
and even worse:
?\#\(NIL\ \(\(\%SIN\ SIMP\)\ \$x\)\ NIL\)
There is no way to write a constant array, so you can't
save it in Maxima form.
It's a pity that the function name "array" is taken... but
we could define the external form of an array to be
array_constant( <<type and maybe size>>,
[ ...contents... ] )
is the same as
for i:0 thru 2 do arr[i]:[2,3,4][i])
Log in to post a comment.