Remove internal and unsupported features
This commit is contained in:
parent
ce252bb2f9
commit
1b4ed4f113
|
@ -113,24 +113,3 @@ The `mean(distribution)` function gives the mean (expected value) of a distribut
|
|||
The `sample(distribution)` samples a given distribution:
|
||||
|
||||
<SquiggleEditor initialSquiggleString="sample(normal(0, 10))" />
|
||||
|
||||
### Exponential Scaling
|
||||
|
||||
The `scaleExp(distribution, factor)` function scales a distribution's PDF exponentially
|
||||
in the y axis.
|
||||
|
||||
<SquiggleEditor initialSquiggleString="scaleExp(normal(10, 10), 10)" />
|
||||
|
||||
### Multiply Scaling
|
||||
|
||||
The `scaleMultiply(distribution, factor)` function scales a distribution's PDF by multiplication
|
||||
in the y axis.
|
||||
|
||||
<SquiggleEditor initialSquiggleString="scaleMultiply(normal(10, 10), 2)" />
|
||||
|
||||
### Log scaling
|
||||
|
||||
The `scaleLog(distribution, factor)` function scales a distribution's PDF by the log
|
||||
function in the y axis
|
||||
|
||||
<SquiggleEditor initialSquiggleString="scaleLog(normal(10, 10), 2)" />
|
||||
|
|
|
@ -35,17 +35,3 @@ Squiggle supports functions, including the rendering of functions:
|
|||
ozzie_estimate
|
||||
`} />
|
||||
|
||||
## Squiggle units
|
||||
|
||||
Squiggle supports using suffixes at the end of numbers to refer to units:
|
||||
|
||||
<SquiggleEditor initialSquiggleString={`
|
||||
us_economy_2018 = (10.5 to 10.9)T
|
||||
growth_rate = 1.08 to 1.2
|
||||
us_economy(t) = us_economy_2018 * (growth_rate^t)
|
||||
us_population_2019 = 320M to 330M
|
||||
us_population_growth_rate = 1.01 to 1.1
|
||||
us_population(t) = us_population_2019 * (us_population_growth_rate^t)
|
||||
gdp_per_person(t) = us_economy(t)/us_population(t)
|
||||
gdp_per_person`} />
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user