CoCoA:CFApprox

From ApCoCoAWiki
Revision as of 10:02, 24 October 2007 by XMLBot (talk | contribs) (pushing XML rev. 1.46, again)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

CFApprox

continued fractions

Description

CFApprox finds the simplest rational approximation within a

              maximum specified relative error.

Example

  CFApprox(1.414213, 10^(-2));
17/12
-------------------------------

Syntax

CFApprox(X:RAT, Prec:RAT): RAT

CFApproximants

ContFrac

   <type>rat</type>