Close
Close window
numtheory(deprecated)/invcfrac - Maple Help
For the best experience, we recommend viewing online help using Google Chrome or Mozilla Firefox.
Maplesoft logo
Maplesoft logo

Online Help

All Products Maple MapleSim


Home : Support : Online Help : numtheory(deprecated)/invcfrac
[フレーム] [フレーム]

numtheory(deprecated)

invcfrac

convert a simple periodical continued fraction expansion to a quadratic surd

Calling Sequence

invcfrac(cf)

Parameters

cf

-

simple periodical continued fraction expansion with its pre-period and period (in either list or fraction form)

Description

Important: The numtheory package has been deprecated . Use the superseding command NumberTheory[ContinuedFraction][Value] instead.

The invcfrac function returns a quadratic surd which has a simple periodical continued fraction expansion cf.

This function is part of the numtheory package, and so can be used in the form invcfrac(..) only after performing the command with(numtheory). The function can always be accessed in the long form numtheory[invcfrac](..).

Examples

Important: The numtheory package has been deprecated . Use the superseding command NumberTheory[ContinuedFraction][Value] instead.

>

withnumtheory:

>

fcfrac3112,periodic

f5+11+11+13+15+13+11+11+110+11+11+13+15+13+11+11+110+...

(1)
>

invcfracf

31

(2)
>

gcfrac35+2912,periodic,quotients

g5,1,66,2,2,5,10,1,1,2,2,3,2,1,1,1,268,1,1,1,2,3,2,2,1,1,10,5,2,2,66,1,9,1,3,1,1,1,8,1,1,1,3,1,9

(3)
>

invcfracg

35+29

(4)


Download Help Document

AltStyle によって変換されたページ (->オリジナル) /