SternBrocotPath
The Stern–Brocot path of a positive rational : its sequence of left and right turns down the tree from .
SternBrocotPath(p, q)the path, as a word of s and sTyped signatures
| Type | Package | Applies |
|---|---|---|
(integer, integer) -> string | modular | always |
Examples
About
| Examples | 1 |
|---|
See also: FromSternBrocotPath, ModularWord