Re: GiNaC-list Digest, Vol 22, Issue 5
Thank you for your assistance. I was able to properly serialize the ex class using char arrays, facilitated by the I/O capabilities of the archive class. Eric M. Collins On 12/24/06, ginac-list-request@ginac.de <ginac-list-request@ginac.de> wrote:
Send GiNaC-list mailing list submissions to ginac-list@ginac.de
To subscribe or unsubscribe via the World Wide Web, visit https://www.cebix.net/mailman/listinfo/ginac-list or, via email, send a message with subject or body 'help' to ginac-list-request@ginac.de
You can reach the person managing the list at ginac-list-owner@ginac.de
When replying, please edit your Subject line so it is more specific than "Re: Contents of GiNaC-list digest..."
Today's Topics:
1. Serialization of datatypes (Eric Collins) 2. Re: Serialization of datatypes (Chris.Dams@mi.infn.it)
----------------------------------------------------------------------
Message: 1 Date: Sat, 23 Dec 2006 10:14:51 -0600 From: "Eric Collins" <emc2@ra.msstate.edu> Subject: [GiNaC-list] Serialization of datatypes To: ginac-list@ginac.de Message-ID: <805f78150612230814k3689154epd1d3f1bb5905992@mail.gmail.com> Content-Type: text/plain; charset="iso-8859-1"
Would anyone be interested in helping me figure out how to serialize the datatypes in GiNaC/CLN/GMP? I've looked at the source headers for some of the datatypes and the use of reference counted pointers everywhere makes this seem like a non-trivial task.
I need to be able to pack all data relevant to a particular instantiation of a datatype (e.g. numeric or pseries), into a contiguous array. This data would then be passed to another process where it would be unpacked into a new instantiation of the same datatype.
Any help, or suggestions of where to begin looking for relevant information would be much appreciated.
Eric M. Collins -- Ad Astra Per Aspera
participants (1)
-
Eric Collins