[GiNaC-list] remove entry from symtab

Kraus Philipp philipp.kraus at flashpixx.de
Mon Aug 16 10:43:52 CEST 2010


Am 16.08.2010 um 10:28 schrieb Alexei Sheplyakov:

> Hello,
>
> On Sun, Aug 15, 2010 at 11:10:02AM +0200, Kraus Philipp wrote:
>
>> I'm using GiNaC 1.5.8 and have declared a GiNaC::symtab with symbols.
>> How can I remove a symbole (by string name or GiNaC::symbol
>> expression) from the table?
>
> GiNaC::symtab is an associative array (std::map) which maps input  
> strings
> to variables in the (C++) code (this fact is somewhat documented in
> the tutorial, see the paragraph 5.15.2, titled as `Expression input').
> Therefore one can manipulate symtabs in a usual STL'ish manner:

Thanks für the hint with STL

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.cebix.net/pipermail/ginac-list/attachments/20100816/553df56d/attachment.htm>


More information about the GiNaC-list mailing list