[GiNaC-list] Include Guards
jason.dusek at gmail.com
Fri Jan 21 17:18:03 CET 2005
> using "extern ex x;" in the header file and "ex x(symbol("x"));"
> in the cpp file is more efficient.
Why is it more efficient?
On Thu, 20 Jan 2005 11:10:20 +0100 (CET), Chris Dams
<C.Dams at science.ru.nl> wrote:
> On Wed, 19 Jan 2005, I wrote:
> > The simplest way is to just declare symbols in header files (i.e.,
> > symbol x;) and to define them in one cpp-file (i.e., symbol x("x");). That
> > is what I generally do. I am not a big fan of factories either.
> Of course, I should have said "extern symbol x". However, using "extern ex
> x;" in the header file and "ex x(symbol("x"));" in the cpp file is more
> GiNaC-list mailing list
> GiNaC-list at ginac.de
More information about the GiNaC-list