help-octave
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: rational numbers only


From: Geraint Paul Bevan
Subject: Re: rational numbers only
Date: Thu, 05 Jan 2006 11:56:42 +0000
User-agent: Mozilla Thunderbird 1.0.7 (X11/20051013)

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1


Even better is the 'rats' command which already gives the output as a
string:

octave> rats(3.5)
ans = 7/2


Both 'rat' and 'rats' are part of octave-forge.

- --
Geraint Bevan
http://www.mech.gla.ac.uk
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iEYEARECAAYFAkO9CXgACgkQcXV3N50QmNN77gCfZKoCc598tkj/4jlpVtJCAbO1
4iYAn3PSCD0UEwpdVdMEHPEM7LYo2uCo
=rKV3
-----END PGP SIGNATURE-----



-------------------------------------------------------------
Octave is freely available under the terms of the GNU GPL.

Octave's home on the web:  http://www.octave.org
How to fund new projects:  http://www.octave.org/funding.html
Subscription information:  http://www.octave.org/archive.html
-------------------------------------------------------------



reply via email to

[Prev in Thread] Current Thread [Next in Thread]