Template:Pstp/doc
From Wikibooks, open books for an open world
| This is a documentation subpage for Template:Pstp (see that page for the template itself). It contains usage information, categories, and other content that are not part of the original template page. |
This is a parameter selection template. It returns the value of the parameter whose name is the value of parameter p.
Usage [edit]
Thus {{pstp|p={{{1}}}|a=fa|b=fb|..}} can represent any function f given by a set of pairs (a,fa), (b,fb), .. , except that these cannot include a pair (p,fp). To allow the latter also, we can use {{pstp|p=q{{{1}}}|qa=fa|qb=fb|..}}.