Template:Simple recursion/doc

From PS3 Developer wiki
< Template:Simple recursion
Revision as of 01:14, 13 December 2012 by Euss (talk | contribs) (Created page with "{{Documentation subpage}} ==Usage== <code>{{(}}{{Simple recursion|''left repeated text''|''non-repeated text''|''right repeated text''|''depth''}{{)}}</code> ==Example== * ...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

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>]] &asymp; {{#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]