Skip to content

words.CharacteristicSturmianWord does not do what it says #8140

@seblabbe

Description

@seblabbe

The doc of words.CharacteristicSturmianWord says :

INPUT:
-  ``cf`` - an iterator outputting integers (thought of as a
               continued fraction)

But it does not do what it says. In fact the following

sage: cf = CFF(1/golden_ratio^2)
sage: words.CharacteristicSturmianWord(cf)
word: 0010001001000100010010001001000100010010...

should output the same as

sage: words.FibonacciWord()
word: 0100101001001010010100100101001001010010...

CC: @sagetrac-abmasse

Component: combinatorics

Author: Sébastien Labbé

Reviewer: Alexandre Blondin Massé

Merged: sage-4.3.3.alpha0

Issue created by migration from https://trac.sagemath.org/ticket/8140

Metadata

Metadata

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions