Tamas K Papp wrote:

> Consider an n-dimensional simple array, eg
>
> (setf a (make-array '(2 3 4) :element-type 'double-float))
>
> If I understand correctly, a simple boxed array is just a vector of
> numbers (in this case, 12 zeros), and information on the dimension (2
> 3 4).  Is it possible to "reshape" the array by changing only the
> latter?

Have a look at ADJUST-ARRAY.  Maybe it does what you need.

http://www.lispworks.com/documentation/HyperSpec/Body/f_adjust.htm

Arthur Lemmens


Reply via email to