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_normal.md
+4-4Lines changed: 4 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -37,15 +37,15 @@ Elemental function (passing both `loc` and `scale`).
37
37
38
38
`loc`: optional argument has `intent(in)` and is a scalar of type `real` or `complex`.
39
39
40
-
`scale`: optional argument has `intent(in)` and is a scalar of type `real` or `complex`.
40
+
`scale`: optional argument has `intent(in)` and is a positive scalar of type `real` or `complex`.
41
41
42
42
`array_size`: optional argument has `intent(in)` and is a scalar of type `integer`.
43
43
44
44
`loc` and `scale` arguments must be of the same type.
45
45
46
46
### Return value
47
47
48
-
The result is a scalar or rank-1 array, with a size of `array_size`, and as the same type of`scale` and `loc`.
48
+
The result is a scalar or rank-1 array, with a size of `array_size`, and the same type as`scale` and `loc`. If `scale` is non-positive, the result is `NaN`.
49
49
50
50
### Example
51
51
@@ -89,7 +89,7 @@ All three arguments must have the same type.
89
89
90
90
### Return value
91
91
92
-
The result is a scalar or an array, with a shape conformable to the arguments, and of the same type as the input arguments. If `scale` is non-positive, the result is `NaN`.
92
+
The result is a scalar or an array, with a shape conformable to the arguments, and the same type as the input arguments. If `scale` is non-positive, the result is `NaN`.
93
93
94
94
### Example
95
95
@@ -135,7 +135,7 @@ All three arguments must have the same type.
135
135
136
136
### Return value
137
137
138
-
The result is a scalar or an array, with a shape conformable to arguments, as the same type of input arguments. If `scale` is non-positive, the result is `NaN`.
138
+
The result is a scalar or an array, with a shape conformable to the arguments, and the same type as the input arguments. If `scale` is non-positive, the result is `NaN`.
0 commit comments