caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
* Large Foreign Arrays for OCAML -- Code Released
@ 1999-03-05  5:30 David McClain
  0 siblings, 0 replies; only message in thread
From: David McClain @ 1999-03-05  5:30 UTC (permalink / raw)
  To: Liste CAML

I apologize for the double posting... This one should be in plain text!

The code implementing Large Foreign Numeric Arrays for OCAML is now released
and available at my Web site. You can download the sources from my homepage.
This code has been used extensively for the past month for heavy-duty image
processing of large image stacks, so it appears to be quite robust. But, of
course, should it fail on you, please let me know about it.

There is an "arena" type declared as equivalent to a "float array", but in
fact, this subverts the type checking system and the object may or may not
be a float array. As a result, be careful and do not attempt any array
operations on such objects, except for Array.unsafe_get and
Array.unsafe_set, typically within tight "for...do" loops.

The zip file named "bigarray.zip" contains two OCAML sources and two C++
sources implementing the foreign arrays. Array size is limited by your
address space now, and can be as large as 2^29 elements (of doubles, or 2^31
elements of bytes) on a 32-bit architecture.

David McClain
Sr. Scientist
Raytheon Missile Systems Co.
Tucson, AZ
http://www.azstarnet.com/~dmcclain/homepage.htm





^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~1999-03-05  9:02 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1999-03-05  5:30 Large Foreign Arrays for OCAML -- Code Released David McClain

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).