Moin,
I'm looking for some algorithms to get arbitrary roots of numbers other
irrational numbers. these numbers should be at least 100000 digits long.
What i really want is a distribution of the numbers 0..9. Therefor i allready
got a ruby-script, but to produse such long numbers seems to be difficult.
Till now i use the 'pi.rb' from the samples inside the ruby source, fibonaccis
and e, generatet with the bigfloat-extension from raa.
Does anyone know a good source for such algorithms (no matter which lang)?
thanks
ralf
···
------------------------------------
Moinmoin,
Ralf Müller wrote:
Moin,
Where in Northern Germany are you?
I'm looking for some algorithms to get arbitrary roots of numbers other irrational numbers. these numbers should be at least 100000 digits long.
What i really want is a distribution of the numbers 0..9. Therefor i allready got a ruby-script, but to produse such long numbers seems to be difficult. Till now i use the 'pi.rb' from the samples inside the ruby source, fibonaccis and e, generatet with the bigfloat-extension from raa.
Does anyone know a good source for such algorithms (no matter which lang)?
The 'Numerical Recipes in ...' (available in Pascal, FORTRAN, C and C++ IIRC) might be worth checking. http://www.nr.com has a link to PDFs of the chapters.
You surely find more details when googeling (of whatever your favourite search machine is) for "roots numbers irrational calculation algorithm".
If you add "ruby" to the list of words you're left with just 22 web sites to visit. 
HTH
Happy rubying
Stephan
http://sources.redhat.com/gsl/
perhaps you'll also be interested in this
http://www.gfd-dennou.org/arch/ruby/
cheers.
-a
···
On Thu, 3 Jun 2004, Ralf [iso-8859-1] Müller wrote:
Moin,
I'm looking for some algorithms to get arbitrary roots of numbers other
irrational numbers. these numbers should be at least 100000 digits long.
What i really want is a distribution of the numbers 0..9. Therefor i allready
got a ruby-script, but to produse such long numbers seems to be difficult.
Till now i use the 'pi.rb' from the samples inside the ruby source, fibonaccis
and e, generatet with the bigfloat-extension from raa.
Does anyone know a good source for such algorithms (no matter which lang)?
thanks
ralf
--
EMAIL :: Ara [dot] T [dot] Howard [at] noaa [dot] gov
PHONE :: 303.497.6469
A flower falls, even though we love it; and a weed grows, even though we do
not love it. --Dogen
===============================================================================
Moinmoin,
Ralf Müller wrote:
> Moin,
Where in Northern Germany are you?
Now I'm in Berlin, but lived in Kiel for 14 years.
And you?
The 'Numerical Recipes in ...' (available in Pascal, FORTRAN, C and C++
IIRC) might be worth checking. http://www.nr.com has a link to PDFs of
the chapters.
Sounds great.
thank you for fast answer.
regards
ralf
···
Am Donnerstag, 3. Juni 2004 14:23 schrieb Stephan Kämper:
--
------------------------------------
Dipl.-Phys. Ralf Müller
(Softwareentwickler)
IMP Computersysteme AG
Bessemerstraße 82
D-12103 Berlin
Germany
Telefon 0 30/7 54 72-0
E-Mail: r_muellerr@imp-ag.de
------------------------------------
Better check the licensing before you use/distribute anything with
those routines.
http://www.numerical-recipes.com/infotop.html#licenseinfo
···
On Thu, 3 Jun 2004 21:31:31 +0900, Ralf Müller <r_mueller@imp-ag.de> wrote:
> The 'Numerical Recipes in ...' (available in Pascal, FORTRAN, C and C++
> IIRC) might be worth checking. http://www.nr.com has a link to PDFs of
> the chapters.
Sounds great.
thank you for fast answer.