This is the mail archive of the
guile@sourceware.cygnus.com
mailing list for the Guile project.
Rational numbers with GOOPS
- To: guile at sourceware dot cygnus dot com
- Subject: Rational numbers with GOOPS
- From: Nicolas Neuss <Nicolas dot Neuss at IWR dot Uni-Heidelberg dot De>
- Date: 16 Feb 2000 13:32:17 +0100
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