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 OAA18685; Fri, 19 Apr 2002 14:52:14 +0200 (MET DST) X-Authentication-Warning: pauillac.inria.fr: majordomo set sender to owner-caml-list@pauillac.inria.fr using -f Received: from nez-perce.inria.fr (nez-perce.inria.fr [192.93.2.78]) by pauillac.inria.fr (8.7.6/8.7.3) with ESMTP id OAA18671 for ; Fri, 19 Apr 2002 14:52:13 +0200 (MET DST) Received: from abel (nat.umh.ac.be [193.190.193.1]) by nez-perce.inria.fr (8.11.1/8.11.1) with ESMTP id g3JCqC129973 for ; Fri, 19 Apr 2002 14:52:12 +0200 (MET DST) Received: from abel ([127.0.0.1] helo=localhost ident=trch) by abel with esmtp (Exim 3.35 #1 (Debian)) id 16yXtR-0004qd-00; Fri, 19 Apr 2002 14:53:37 +0200 Date: Fri, 19 Apr 2002 14:53:37 +0200 (CEST) Message-Id: <20020419.145337.118679490.debian00@tiscalinet.be> To: "O'Caml Mailing List" Subject: [Caml-list] Bigarray "mimic" From: Christophe TROESTLER X-Spook: INSCOM FTS2000 New World Order virus cryptographic Nazi Mole colonel PLO top secret X-Mailer-URL: http://www.mew.org/ X-Operating-System: GNU/Linux (http://www.linux.org/) X-Blessing: Om Ah Hum Vajra Guru Pema Siddhi Hum X-Mailer: Mew version 2.2 on Emacs 21.2 / Mule 5.0 (SAKAKI) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-caml-list@pauillac.inria.fr Precedence: bulk Hi everybody, 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. Cheers, ChriS ------------------- 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