Update Language.md
This commit is contained in:
parent
eaa7a67d28
commit
5b5fac624b
|
@ -13,16 +13,10 @@ lognormalFromMeanAndStdDev(mean, stdev)
|
||||||
beta(a,b)
|
beta(a,b)
|
||||||
exponential(a)
|
exponential(a)
|
||||||
triangular(a,b,c)
|
triangular(a,b,c)
|
||||||
mm(a,b,c, [1,2,3])
|
mm(a,b,c, [1,2,3]) //todo: change to mix, or mx(). Also, change input format, maybe to mx([a,b,c], [a,b,c]).
|
||||||
cauchy() //todo
|
cauchy() //todo
|
||||||
pareto() //todo
|
pareto() //todo
|
||||||
```
|
metalog() //todo
|
||||||
|
|
||||||
## Functions
|
|
||||||
```js
|
|
||||||
trunctate() //todo
|
|
||||||
leftTrunctate() //todo
|
|
||||||
rightTrunctate()//todo
|
|
||||||
```
|
```
|
||||||
|
|
||||||
## Functions
|
## Functions
|
||||||
|
@ -35,6 +29,16 @@ sample(distribution)
|
||||||
scaleExp(distribution, float)
|
scaleExp(distribution, float)
|
||||||
scaleMultiply(distribution, float)
|
scaleMultiply(distribution, float)
|
||||||
scaleLog(distribution, float)
|
scaleLog(distribution, float)
|
||||||
|
samples(distribution, n) //todo
|
||||||
|
toPdf(distribution) //todo
|
||||||
|
toCdf(distribution) //todo
|
||||||
|
toHash(distribution) //todo. Make hash of content, like, {xs:[], ys:[]}
|
||||||
|
trunctate(distribution, leftValue, rightValue) //todo
|
||||||
|
leftTrunctate(distribution, leftValue) //todo
|
||||||
|
rightTrunctate(distribution, rightValue) //todo
|
||||||
|
distributionFromSamples(array, params) //todo
|
||||||
|
distributionFromPoints() //todo
|
||||||
|
distributionFromHash() //todo
|
||||||
```
|
```
|
||||||
|
|
||||||
## Example Functions
|
## Example Functions
|
||||||
|
@ -58,4 +62,4 @@ gdp_per_person(t) = us_economy(t)/us_population(t)
|
||||||
gdp_per_person
|
gdp_per_person
|
||||||
|
|
||||||
gdp_per_person
|
gdp_per_person
|
||||||
```
|
```
|
||||||
|
|
Loading…
Reference in New Issue
Block a user