### The Maxima on-line user's manual

Algebra Calculator

#### Cfdisrep

Function: cfdisrep (<list>) Constructs and returns an ordinary arithmetic expression of the form `a + 1/(b + 1/(c + ...))` from the list representation of a continued fraction `[a, b, c, ...]`.

```          (%i1) cf ([1, 2, -3] + [1, -2, 1]);
(%o1)                     [1, 1, 1, 2]
(%i2) cfdisrep (%);
1
(%o2)                     1 + ---------
1
1 + -----
1
1 + -
2```

```(%o1)                                true
(%i2) ```

### Related Examples

##### cfdisrep-cflength-flength

cflength:5;

cfdisrep(cf(1/81));

Calculate

##### cfdisrep-sqrt

cfdisrep(cf(sqrt(2)));

Calculate

##### cfdisrep-ev-eval-float

ev(cfdisrep(cf(0.8264...

ev(cfdisrep(cf(0.9633...

Calculate

##### cfdisrep-cflength-ev-flength

cflength:5;

ev(cfdisrep(cf(0.0183...

1/ (54+1/(2+1/(4+1/2)));

Calculate

##### cfdisrep-ev-eval

ev(cfdisrep(cf(0.8264...

ev(cfdisrep(cf(0.9633...

Calculate

##### cfdisrep-cflength-flength-float

cflength:5;

cfdisrep(cf(0.0123456...

float(1/81)=0.0123456...

Calculate

##### cfdisrep-cflength-flength-float

cflength:5;

cfdisrep(cf(0.0123456...

float(123456789012345...

Calculate

##### cfdisrep-float

float(cfdisrep([0,8,9...

Calculate

##### cfdisrep-cflength-ev-eval-numer

ev(cfdisrep(cf(0.8264...

cflength:3;

a:cfdisrep(cf(0.96335));

Calculate

##### cfdisrep-cflength-ev-flength-float

cflength:5;

ev(cfdisrep(cf(0.1836...

float(1/ (5+1/(2+1/(4...

Calculate