This is the mail archive of the guile@sourceware.cygnus.com mailing list for the Guile project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Rational numbers with GOOPS


Hello, all of you.

Some time ago there was a discussion about implementing rationals in
Guile with the help of GOOPS.  Recently, I needed an exact matrix
inversion and implemented rationals in that way.  Even if it is still
imperfect and might be also too slow, it might be of help.

I have put some code on the Web:
http://www.iwr.uni-heidelberg.de/~Nicolas.Neuss/for-guile/rational.scm

which is used by
http://www.iwr.uni-heidelberg.de/~Nicolas.Neuss/for-guile/linalg.scm
(LR decomposition with pivoting, matrix inversion)

I don't know if this is really the best way to construct the whole
numerical tower (how does SCM do it?), and would be interested in
comments.

Yours, Nico



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]