Template:Simple recursion/doc
Jump to navigation
Jump to search
This is a documentation subpage for Template:Simple recursion (see that page for the template itself). It contains usage information, categories and other content that is not part of the original template page. |
Usage[edit source]
{{{Simple recursion|left repeated text|non-repeated text|right repeated text|depth}}
Example[edit source]
"{{Simple recursion|a|b|c|4}}"
gives "aaaabcccc"
"{{Simple recursion|f( |f(x) + g|) + g|7}}"
gives "f( f( f( f( f( f( f(f(x) + g) + g) + g) + g) + g) + g) + g) + g"
"{{math|[[Golden ratio|<var>φ</var>]] ≈ {{#expr: {{Simple recursion|(|1|)^-1+1|35}}}}}}"
gives "φ ≈ Expression error: Unrecognized punctuation character "["." (iterative method, finding the largest of the solutions to <math>\varphi^{-1} = \varphi - 1</math>)
See also[edit source]
- Template:Loop (backlinks, edit)
- Template:Substloop (backlinks, edit)
- Template:For loop (backlinks, edit)
- Template:Repeat (backlinks, edit)