diff --git a/packages/website/docs/Guides/DistributionCreation.mdx b/packages/website/docs/Guides/DistributionCreation.mdx index b5bfdd1120..743c3a5a91 100644 --- a/packages/website/docs/Guides/DistributionCreation.mdx +++ b/packages/website/docs/Guides/DistributionCreation.mdx @@ -70,8 +70,8 @@ If both values are above zero, a `lognormal` distribution is used. If not, a `no `mixture(...distributions: Distribution[], weights?: number[])` `mx(...distributions: Distribution[], weights?: number[])` -`mixture(distributions: Distributions[], weights?: number[])` -`mx(distributions: Distributions[], weights?: number[])` +`mixture(distributions: Distribution[], weights?: number[])` +`mx(distributions: Distribution[], weights?: number[])` The `mixture` mixes combines multiple distributions to create a mixture. You can optionally pass in a list of proportional weights. diff --git a/packages/website/docs/Guides/Functions.mdx b/packages/website/docs/Guides/Functions.mdx index 5e62125ff4..862cdc8205 100644 --- a/packages/website/docs/Guides/Functions.mdx +++ b/packages/website/docs/Guides/Functions.mdx @@ -23,9 +23,9 @@ dist1 + dist2`} ### Subtraction -A horizontal left shift. A horizontal right shift. The substraction operation represents -the distribution of the value of one random sample chosen from the first distribution minus -the value of one random sample chosen from the second distribution. +A horizontal left shift. The subtraction operation represents the distribution of the value of +one random sample chosen from the first distribution minus the value of one random sample chosen +from the second distribution.