[GiNaC-list] Re: About CLN and GiNaC

Alexei Sheplyakov varg at theor.jinr.ru
Sat Nov 3 12:56:37 CET 2007


Hello!

On Fri, Nov 02, 2007 at 09:06:52AM +0800, 777 threed wrote:

> Recently I was interested in migrating the GiNaC from Unix to Windows,

FYI, GiNaC compiles and works just fine (as a static library) on win32.

> but I only need the symbolic operation not the large number operation,

If you need symbolic operations you need bignum operations too.

> so I was wondering whether I can get rid of the CLN lib from the GiNaC,

Yes, to some extent. You can replace it with another bignum library,
such as GMP.

> can any one tell me that where and how the GiNaC uses the CLN?

1. ginac/expairseq.{h,cpp}. Numeric coefficients in sums and products
   are cln::cl_N.
2. ginac/normal.cpp gcd(), normal() need bignums.
3. numeric evaluation (evalf())

> Is it practicable that exclude the CLN lib?

I don't think so. You'd better put the effort somewhere else.

Best regards,
	Alexei

-- 
All science is either physics or stamp collecting.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 827 bytes
Desc: Digital signature
Url : http://www.cebix.net/pipermail/ginac-list/attachments/20071103/fd665d14/attachment.pgp


More information about the GiNaC-list mailing list