Version française
Home     About     Download     Resources     Contact us    
Browse thread
[Caml-list] Bigarray "mimic"
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: -- (:)
From: Markus Mottl <markus@o...>
Subject: Re: [Caml-list] Bigarray "mimic"
On Fri, 19 Apr 2002, Christophe TROESTLER wrote:
> Is there a way to create a Bigarray (resp. Array1, Array2, Array3)
> of the same type (especially layout) as a given one without resorting
> to some C routine (maybe with some Obj.magic ???) -- I do not want to
> copy the original array.

It's only a couple of days that I have reported this shortcoming, and
Xavier has already fixed it in the CVS. You can now query both the layout
and the kind by writing, e.g. "Array1.layout ar" or "Array1.kind ar"
as required for creating similar arrays.

Regards,
Markus Mottl

-- 
Markus Mottl                                             markus@oefai.at
Austrian Research Institute
for Artificial Intelligence                  http://www.oefai.at/~markus
-------------------
To unsubscribe, mail caml-list-request@inria.fr Archives: http://caml.inria.fr
Bug reports: http://caml.inria.fr/bin/caml-bugs FAQ: http://caml.inria.fr/FAQ/
Beginner's list: http://groups.yahoo.com/group/ocaml_beginners