Template:Stats PowerLaw: Difference between revisions
Jump to navigation
Jump to search
Link back |
m 1 revision imported: All the templates from Cuntel Wiki |
(No difference)
| |
Latest revision as of 05:55, 23 January 2019
Convert a power law to a linear one according to x = factor * y ^ power; used to turn arbitrary ranges of numbers x into small integers y suitable for use in a #switch: statement.
Arguments are x (mandatory, must be >0), factor (default 1) and power (default 2).
To perform the reverse operation, retruning x given y, see Template:Stats PowerLawRev.