Hi,
I was playing around with guile arrays, saving and restoring them from
disk. There are nice method called
(uniform-array-read! ...) and (uniform-array-write ...), however these
are depricated in favour of bytevector i/o. What is the prefered
method to interpret the data as an array? There is
(bytevector-ieee-double-ref ...) but that is quite cumbersome
especially when dealing with multidimensional complex arrays; then I
could use (c64vector-ref ...), but this interface is not as versatile
as with arrays. It would be simplest if (put-bytevector ...) would
accept an array as argument, but this gives a type-error (at least in
guile-2.0.2)
Any help would be greatly appreciated.
Cheers, Johan