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.<br>
<br>
Eric M. Collins<br><br><div><span class="gmail_quote">On 12/24/06, <b class="gmail_sendername"><a href="mailto:ginac-list-request@ginac.de">ginac-list-request@ginac.de</a></b> <<a href="mailto:ginac-list-request@ginac.de">
ginac-list-request@ginac.de</a>> wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Send GiNaC-list mailing list submissions to
<br> <a href="mailto:ginac-list@ginac.de">ginac-list@ginac.de</a><br><br>To subscribe or unsubscribe via the World Wide Web, visit<br> <a href="https://www.cebix.net/mailman/listinfo/ginac-list">https://www.cebix.net/mailman/listinfo/ginac-list
</a><br>or, via email, send a message with subject or body 'help' to<br> <a href="mailto:ginac-list-request@ginac.de">ginac-list-request@ginac.de</a><br><br>You can reach the person managing the list at<br>
<a href="mailto:ginac-list-owner@ginac.de">ginac-list-owner@ginac.de</a><br><br>When replying, please edit your Subject line so it is more specific<br>than "Re: Contents of GiNaC-list digest..."<br><br><br>
Today's Topics:<br><br> 1. Serialization of datatypes (Eric Collins)<br> 2. Re: Serialization of datatypes (<a href="mailto:Chris.Dams@mi.infn.it">Chris.Dams@mi.infn.it</a>)<br><br><br>----------------------------------------------------------------------
<br><br>Message: 1<br>Date: Sat, 23 Dec 2006 10:14:51 -0600<br>From: "Eric Collins" <<a href="mailto:emc2@ra.msstate.edu">emc2@ra.msstate.edu</a>><br>Subject: [GiNaC-list] Serialization of datatypes<br>To:
<a href="mailto:ginac-list@ginac.de">ginac-list@ginac.de</a><br>Message-ID:<br> <<a href="mailto:805f78150612230814k3689154epd1d3f1bb5905992@mail.gmail.com">805f78150612230814k3689154epd1d3f1bb5905992@mail.gmail.com
</a>><br>Content-Type: text/plain; charset="iso-8859-1"<br><br>Would anyone be interested in helping me figure out how to serialize the<br>datatypes in GiNaC/CLN/GMP? I've looked at the source headers for some of
<br>the datatypes and the use of reference counted pointers everywhere makes<br>this seem like a non-trivial task.<br><br>I need to be able to pack all data relevant to a particular instantiation of<br>a datatype (e.g. numeric or pseries), into a contiguous array. This data
<br>would then be passed to another process where it would be unpacked into a<br>new instantiation of the same datatype.<br><br>Any help, or suggestions of where to begin looking for relevant information<br>would be much appreciated.
<br><br>Eric M. Collins<br>--<br>Ad Astra Per Aspera<br>-------------- next part --------------<br>An HTML attachment was scrubbed...<br>URL: <a href="http://www.cebix.net/pipermail/ginac-list/attachments/20061223/5432b512/attachment-0001.html">
http://www.cebix.net/pipermail/ginac-list/attachments/20061223/5432b512/attachment-0001.html</a><br><br>------------------------------<br><br>Message: 2<br>Date: Sat, 23 Dec 2006 19:01:10 +0100 (CET)<br>From: <a href="mailto:Chris.Dams@mi.infn.it">
Chris.Dams@mi.infn.it</a><br>Subject: Re: [GiNaC-list] Serialization of datatypes<br>To: "GiNaC discussion list" <<a href="mailto:ginac-list@ginac.de">ginac-list@ginac.de</a>><br>Message-ID: <<a href="mailto:2116.83.180.1.48.1166896870.squirrel@webmail.mi.infn.it">
2116.83.180.1.48.1166896870.squirrel@webmail.mi.infn.it</a>><br>Content-Type: text/plain;charset=utf-8<br><br>Hi Eric,<br><br>> Would anyone be interested in helping me figure out how to serialize the<br>> datatypes in GiNaC/CLN/GMP? I've looked at the source headers for some of
<br>> the datatypes and the use of reference counted pointers everywhere makes<br>> this seem like a non-trivial task.<br>><br>> I need to be able to pack all data relevant to a particular instantiation<br>> of
<br>> a datatype (e.g. numeric or pseries), into a contiguous array. This data<br>> would then be passed to another process where it would be unpacked into a<br>> new instantiation of the same datatype.<br>><br>
> Any help, or suggestions of where to begin looking for relevant<br>> information<br>> would be much appreciated.<br><br>This is already more or less done in the code that archives expressions.<br>Couldn't you simply pass a *.gar file to the other process? Or maybe
<br>modify that code a bit so that it can be used to do this.<br><br>Good luck!<br>Chris<br><br><br><br>------------------------------<br><br>_______________________________________________<br>GiNaC-list mailing list<br><a href="mailto:GiNaC-list@ginac.de">
GiNaC-list@ginac.de</a><br><a href="https://www.cebix.net/mailman/listinfo/ginac-list">https://www.cebix.net/mailman/listinfo/ginac-list</a><br><br><br>End of GiNaC-list Digest, Vol 22, Issue 5<br>*****************************************
<br></blockquote></div><br><br clear="all"><br>-- <br>Ad Astra Per Aspera