Skip to content

Commit ac9342c

Browse files
Update stdlib_stats_distribution_exponential.md
1 parent e760b8b commit ac9342c

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

doc/specs/stdlib_stats_distribution_exponential.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,8 @@ With single argument, the function returns an exponential distributed random var
2222

2323
With two auguments the function returns a rank one array of random variates.
2424

25+
The rate parameter `lamda` must be greater than 0.
26+
2527
### Syntax
2628

2729
`result = [[stdlib_stats_distribution_expon(module):exponential_distribution_rvs(interface)]]([lamda] [[, array_size]])`
@@ -94,6 +96,8 @@ The probability density function of the continuous exponential distribution.
9496

9597
$$ f(x)=\begin{cases}lamda \times e^{-lamda \times x} &x\geqslant 0 \\\\ 0 &x< 0\end{} $$
9698

99+
x is supported on [0, \infty)
100+
97101
### Syntax
98102

99103
`result = [[stdlib_stats_distribution_expon(module):exponential_distribution_pdf(interface)]](x, lamda)`
@@ -166,6 +170,7 @@ Cumulative distribution function of the exponential continuous distribution
166170

167171
$$ F(x)=\begin{cases}1 - e^{-lamda \times x} &x\geqslant 0 \\\\ 0 &x< 0\end{} $$
168172

173+
x is supported on [0, \infty)
169174

170175
### Syntax
171176

0 commit comments

Comments
 (0)