You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: doc/specs/stdlib_stats_distribution_uniform.md
+11-9Lines changed: 11 additions & 9 deletions
Original file line number
Diff line number
Diff line change
@@ -75,15 +75,17 @@ Experimental
75
75
76
76
### Description
77
77
78
-
Without augument the function returns a scalar standard uniformly distributed variate U(0,1) of `real` type with single precision on [0,1].
78
+
Without argument the function returns a scalar standard uniformly distributed variate U(0,1) of `real` type with single precision on [0,1].
79
79
80
-
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 distribution.
80
+
With single argument`scale` of `integer` type the function returns a scalar uniformly distributed variate of `integer` type on [0,scale]. This is the standard Rectangular distribution.
81
81
82
-
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.
82
+
With single argument`scale` of `real` or `complex` type the function returns a scalar uniformly distributed variate of `real` or `complex` type on [0, scale].
83
83
84
-
With double auguments`loc` and `scale` the function returns a scalar uniformly distributed random variates of `integer`, `real` or `complex` 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.
84
+
With double arguments`loc` and `scale` the function returns a scalar uniformly distributed random variates of `integer`, `real` or `complex` type on [loc, loc + scale] dependent of input type.
85
85
86
-
With triple auguments `loc`, `scale` and `array_size` the function returns a rank one array of uniformly distributed variates of `integer`, `real` or `complex` type with an array size of `array_size`.
86
+
With triple arguments `loc`, `scale` and `array_size` the function returns a rank one array of uniformly distributed variates of `integer`, `real` or `complex` type with an array size of `array_size`.
87
+
88
+
For `complex` type, the real part and imaginary part are independent of each other.
87
89
88
90
### Syntax
89
91
@@ -223,11 +225,11 @@ Elemental function.
223
225
224
226
`scale`: has `intent(in)` and is a scalar of type `integer`, `real` or `complex`.
225
227
226
-
All three auguments could be arrays conformable to each other. All three arguments must have the same type and kind.
228
+
All three arguments must have the same type and kind.
227
229
228
230
### Return value
229
231
230
-
The result is a scalar or an array, with a shape conformable to auguments, of type `real`.
232
+
The result is a scalar or an array, with a shape conformable to arguments, of type `real`.
231
233
232
234
### Example
233
235
@@ -317,11 +319,11 @@ Elemental function.
317
319
318
320
`scale`: has `intent(in)` and is a scalar of type `integer`, `real` or `complex`.
319
321
320
-
All three auguments could be arrays conformable to each other. All three arguments must have the same type and kind.
322
+
All three arguments must have the same type and kind.
321
323
322
324
### Return value
323
325
324
-
The result is a scalar or an array, with a shape conformable to auguments, of type `real`.
326
+
The result is a scalar or an array, with a shape conformable to arguments, of type `real`.
0 commit comments