[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
rat and rats ported from octave-forge
From: |
Donald Parsons |
Subject: |
rat and rats ported from octave-forge |
Date: |
Thu, 26 Jul 2007 10:52:24 -0400 |
David, thanks for the rat/rats support.
(Fedora 6 + octave cvs)
The format of the rat(s) output seems to be missing a
new line or two:
_________________________________________
address@hidden octave]$ octave
GNU Octave, version 2.9.12+ (and version 2.9.13+)
Octave was configured for "x86_64-unknown-linux-gnu".
octave:1> h=hilb(3)
h =
1.00000 0.50000 0.33333
0.50000 0.33333 0.25000
0.33333 0.25000 0.20000
octave:2> rats(h)
ans = 1 1/2 1/3
1/2 1/3 1/4
1/3 1/4 1/5
_________________________________________
On a totally unrelated topic, when I first tried compiling
octave I couldn't get glpk to be found because ./configure
looked for /usr/include/glpk.h but it is in glpk sub-
directory. Rather than edit code, I just put a link in
/usr/include to fix problem as below. Should auto test
code be "fixed" so link is not needed?
GLPK libraries: -lglpk
find /usr/include/ -name glpk.h -ls
lrwx 1 0 11 Jun 28 21:13 /usr/include/glpk.h -> glpk/glpk.h
-rw- 1 0 24463 Apr 7 16:33 /usr/include/glpk/glpk.h
Thanks,
dfp
- rat and rats ported from octave-forge,
Donald Parsons <=
glpk.h, John W. Eaton, 2007/07/26