From: Dmitry Bely <dbely@mail.ru>
To: caml-list@inria.fr
Subject: Re: [Caml-list] Bigarray question
Date: Fri, 25 Nov 2005 23:06:40 +0300 [thread overview]
Message-ID: <psoo4hm7.fsf@mail.ru> (raw)
In-Reply-To: <Pine.LNX.4.61.0511251916080.1732@katrin.cip.physik.uni-muenchen.de> (Thomas Fischbacher's message of "Fri, 25 Nov 2005 19:19:14 +0100 (CET)")
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
next prev parent reply other threads:[~2005-11-25 20:06 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-11-25 18:19 Thomas Fischbacher
2005-11-25 20:06 ` Dmitry Bely [this message]
2005-11-27 22:48 ` [Caml-list] " Thomas Fischbacher
2005-11-28 9:39 ` Dmitry Bely
2005-11-28 21:30 ` Thomas Fischbacher
2007-12-18 17:44 Thomas Fischbacher
2007-12-19 17:47 ` [Caml-list] " Xavier Leroy
2007-12-19 19:15 ` Thomas Fischbacher
2008-01-28 12:57 ` Thomas Fischbacher
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=psoo4hm7.fsf@mail.ru \
--to=dbely@mail.ru \
--cc=caml-list@inria.fr \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox