Skip to content

Commit ad6e40a

Browse files
Update stdlib_stats_distribution_uniform.md
1 parent be19e11 commit ad6e40a

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

doc/specs/stdlib_stats_distribution_uniform.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ Applying Fisher-Yates algorithm to generate an unbiased permutation for any list
2222

2323
### Arguments
2424

25-
`list`: argument has `intent(in)` and is a rank one array of integer, real, or complx type.
25+
`list`: argument has `intent(in)` and is a rank one array of integer, real, or complex type.
2626

2727
### Return value
2828

@@ -69,12 +69,14 @@ Without augument the function returns a scalar standard uniformly distributed va
6969

7070
With single augument `scale` of integer type the function returns a scalar uniformly distributed variate of integer type on [0,scale]. This is the standard Rectangular distribtuion. Function is elemental.
7171

72-
With single augument `scale` of real or complx type the function returns a scalar uniformly distributed variate of real or complx type on [0, scale]. The real part and imaginary part of a complx type are independent of each other. Function is elemental.
72+
With single augument `scale` of real or complex type the function returns a scalar uniformly distributed variate of real or complex type on [0, scale]. The real part and imaginary part of a complex type are independent of each other. Function is elemental.
7373

7474
With double auguments `loc` and `scale` the function returns a scalar uniformly distributed random variates of integer, real or complx type on [loc, loc + scale] dependent of input type. If it is complex augument, the real part and imaginary part are independent of each other. Function is elemental.
7575

7676
With triple auguments `loc`, `scale` and `array_size` the function returns a rank one array of uniformly distributed variates of integer, real or complx type with an array size of `array_size`.
7777

78+
`scale` must be greater than 0.
79+
7880
### Syntax
7981

8082
`result = [[stdlib_stats_distribution_uniform(module):uniform_distribution_rvs(interface)]]([[loc,] scale] [[[,array_size]]])`

0 commit comments

Comments
 (0)