marray-type-unknown



in wxmaxima I tried...

:lisp (setf $r (make-array 5 :element-type 'double-float 
:initial-element 0.0d0));

r[1]  and got  MARRAY-TYPE-UNKNOWN: array type #(0.0 0.0 0.0 0.0 0.0) 
not recognized.

I found that arrays of type T  (arbitrary elements)  sort of works in 
maxima.

e.g.

:lisp (setf $r #(1 2 3))

works for accessing and setting elements, although possibly with an 
offset index.
(In GCL, r[0] is vector, r[1] is 1. )


It would be nice if maxima allowed objects of type (simple-vector 
double-float *)
around, especially if numerical computing becomes more prominent.

RJF