Skip to content

FromSternBrocotPath ​

The positive rational at the end of a Stern–Brocot path of LLs and RRs — the inverse of SternBrocotPath.

FromSternBrocotPath(path)the rational the path names
Typed signatures
TypePackageApplies
(string) -> numbermodularalways

Domain: The modular group

Examples

Basic #

The inverse of SternBrocotPath(5,3)(5,3)

live ↗
InFromSternBrocotPath(RLR)\mathrm{FromSternBrocotPath}(\text{RLR})Out53\frac{5}{3}
About
Examples1

See also: SternBrocotPath, ModularWord