[GiNaC-list] Term ordering and compiling C++ code

Martin Ettl ettl.martin at gmx.de
Fri May 28 09:21:11 CEST 2010


Hello all,

i have extended the GinacPrint about following functions:

    /**
     * With this function the default variable name can be changed.
     * By default it is "e"; Passing an empty string resets
     * to default.
     * 
     * @param newVarName the new variable name
     * 
     */
     void setVarName(const std::string &newVarName);

    /**
     * This functions returns the current variable name.
     * By default it is "e";
     * 
     * @return the current variable name
     * 
     */
     const std::string & getVarName() const;

    /**
     * Clears all internal variables. This is a reset to default function.
     * 
     */
     void clear();

I have attached the modified version.

Best regards from Germany

Martin

-------- Original-Nachricht --------
> Datum: Wed, 26 May 2010 17:55:19 -0700 (PDT)
> Von: Doug <cape1232 at yahoo.com>
> An: GiNaC discussion list <ginac-list at ginac.de>
> Betreff: Re: [GiNaC-list] Term ordering and compiling C++ code

> Beautiful.  Thanks!
> 
> 
> --- On Wed, 5/26/10, Martin Ettl <ettl.martin at gmx.de> wrote:
> 
> From: Martin Ettl <ettl.martin at gmx.de>
> 
> ...
> What do you think about my modifications (see attachment)?
> 
> 
> 
> 
>       

-- 
GRATIS für alle GMX-Mitglieder: Die maxdome Movie-FLAT!
Jetzt freischalten unter http://portal.gmx.net/de/go/maxdome01
-------------- next part --------------
A non-text attachment was scrubbed...
Name: GinacPrint.hh
Type: text/x-c++hdr
Size: 6555 bytes
Desc: not available
URL: <http://www.cebix.net/pipermail/ginac-list/attachments/20100528/0be6668a/attachment.hh>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: GinacPrint.cc
Type: text/x-c++src
Size: 5880 bytes
Desc: not available
URL: <http://www.cebix.net/pipermail/ginac-list/attachments/20100528/0be6668a/attachment.cc>


More information about the GiNaC-list mailing list