From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (from majordomo@localhost) by pauillac.inria.fr (8.7.6/8.7.3) id PAA19629; Fri, 19 Apr 2002 15:21:40 +0200 (MET DST) X-Authentication-Warning: pauillac.inria.fr: majordomo set sender to owner-caml-list@pauillac.inria.fr using -f Received: from concorde.inria.fr (concorde.inria.fr [192.93.2.39]) by pauillac.inria.fr (8.7.6/8.7.3) with ESMTP id PAA19626 for ; Fri, 19 Apr 2002 15:21:38 +0200 (MET DST) Received: from kiefer.ai.univie.ac.at (kiefer.ai.univie.ac.at [131.130.174.157]) by concorde.inria.fr (8.11.1/8.11.1) with ESMTP id g3JDLbL14209 for ; Fri, 19 Apr 2002 15:21:37 +0200 (MET DST) Received: (from markus@localhost) by kiefer.ai.univie.ac.at (8.9.3/8.9.3/Debian 8.9.3-21) id PAA30748; Fri, 19 Apr 2002 15:21:35 +0200 Date: Fri, 19 Apr 2002 15:21:35 +0200 From: Markus Mottl To: Christophe TROESTLER Cc: OCAML Subject: Re: [Caml-list] Bigarray "mimic" Message-ID: <20020419132135.GC29425@kiefer.ai.univie.ac.at> Mail-Followup-To: Christophe TROESTLER , OCAML References: <20020419.145337.118679490.debian00@tiscalinet.be> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20020419.145337.118679490.debian00@tiscalinet.be> User-Agent: Mutt/1.3.26i Organization: Austrian Research Institute for Artificial Intelligence Sender: owner-caml-list@pauillac.inria.fr Precedence: bulk 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