Browse thread
Bigarray question
[
Home
]
[ Index:
by date
|
by threads
]
[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: | 2005-11-25 (20:06) |
From: | Dmitry Bely <dbely@m...> |
Subject: | Re: [Caml-list] Bigarray question |
Thomas Fischbacher <Thomas.Fischbacher@Physik.Uni-Muenchen.DE> writes: > As far as I can see from the documentation, it is not explicitly permitted > to change a once allocated bigarray data structure in such a way that one > replaces the data pointer by some other data pointer (while retaining > size and type). This would, however, be quite useful in some situations. Is your bigarray a wrapper around some externally allocated data, created via alloc_bigarray() C call? If yes, you can safely replace the data pointer with another one via Caml-C interface. If not, why do you need that? - Dmitry Bely