Talk:Sturmian word: Difference between revisions

From Rosetta Code
Content added Content deleted
No edit summary
(replied to inverse query)
 
Line 4: Line 4:


:: What does it man to say "inverse" in the quote above? For example, what is the inverse of a word such as '010010100100101'?
:: What does it man to say "inverse" in the quote above? For example, what is the inverse of a word such as '010010100100101'?

:::I think it is just swapping 0s and 1s, so 101101011011010. I'm certanly no expert but if I look at the diagram shown, and imagine swapping/rotating the x and y axis, that sounds about right. Obviously that line is just a plot of x = y*0.618, and the inverse is simply a plot of x = y/0.618, but I could be quite wrong. It seems the op has high-tailed it. --[[User:Petelomax|Petelomax]] ([[User talk:Petelomax|talk]]) 15:04, 8 February 2024 (UTC)

Latest revision as of 15:05, 8 February 2024

inverse of Sturmian(m, n) where m > n?
Is the Sturmian word for (3, 2) just the Sturmian word for (2, 3), or is it the inverse of the Sturmian word for (2, 3)? In other words, the task says "If x > 1, then it is the inverse of the Sturmian word for 1 / x.
What does it man to say "inverse" in the quote above? For example, what is the inverse of a word such as '010010100100101'?
I think it is just swapping 0s and 1s, so 101101011011010. I'm certanly no expert but if I look at the diagram shown, and imagine swapping/rotating the x and y axis, that sounds about right. Obviously that line is just a plot of x = y*0.618, and the inverse is simply a plot of x = y/0.618, but I could be quite wrong. It seems the op has high-tailed it. --Petelomax (talk) 15:04, 8 February 2024 (UTC)