libcff 0.5.0 review
Downloadlibcff provides a kind of C++ continued fractions toolkit
|
|
libcff provides a kind of C++ continued fractions toolkit. It lets you easily create continued fractions and estimate truncation errors.
libcff library also offers reliable continued fraction evaluation and approximating functions using continued fractions.
Here are some key features of "libcff":
creating continued fractions in an easy way
estimating truncation errors
reliable continued fraction evaluation
approximating functions using continued fractions
Requirements:
gmp, GNU's library for multiprecision arithmetic.
mpfr, a multiprecision library with exact rounding
libmplite, a C++ wrapper for mpfr.
Easyval, a library for interval arithmetic.
libcff, of course.
Installation:
Unpack the archive
cd to the libContinuedFraction-x.x directory, and run './configure'.
Run 'make' to build the library, and 'make install' to install it. (You might need 'gmake' instead of 'make' if you are running FreeBSD)
Known bugs
The error estimation may be unreliable for convergents n with n smaller than kThresh, which is 9 by default.
When the argument of a CFFunction is far away from 0, the results are meaningless.
libcff 0.5.0 search tags