Sha256: 70cc1e278dcc917859bffcd4feefffbd6f646327ba7760a56f20ca530a169aa4

Contents?: true

Size: 1.6 KB

Versions: 1

Compression:

Stored size: 1.6 KB

Contents

= ruby-mpfr

* http://rubyforge.org/projects/ruby-mpfr/
* http://gemcutter.org/gems/ruby-mpfr/

== Description:

ruby-mpfr is library to use MPFR[http://www.mpfr.org/] which is a C library for
multiple-precision floating-point computations.
ruby-mpfr also includes Matrix class of MPFR; MPFR::Matrix, MPFR::SquareMatrix,
MPFR::ColumnVector, and MPFR::RowVector.

== Notice:

* Many methods have not been tested sufficiently.
* Documentation is not complete.

== Example:

 require "mpfr"
 MPFR.get_default_prec(100)
 a = MPFR.new(3)
 b = MPFR.new('2.2')
 puts (a * b).to_strf("%.30Re")

== Requirements:

* MPFR[http://www.mpfr.org/] 2.4.1 or later

For Ubuntu 9.10, we can install MPFR with the following command.
 $ sudo apt-get install libmpfr-dev

== Install:
The package of rubygems of ruby-mpfr is provided.
You can install ruby-mpfr with the following command
in the system satisfying the above requirements.
 
 $ sudo gem install ruby-mpfr

== License:

ruby-mpfr
Copyright (C) 2009 Takayuki YAMAGUCHI

This program is free software; you can redistribute it and/or modify it under
the terms of the GNU Lesser General Public License as published by the Free 
Software Foundation; either version 3 of the License, or (at your option) any
later version. 

This program is distributed in the hope that it will be useful, but WITHOUT 
ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more
details. 

You should have received a copy of the GNU General Public License along with
this program. If not, see <http://www.gnu.org/licenses/>.

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
ruby-mpfr-0.0.5 README.rdoc