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
+5-5Lines changed: 5 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -14,7 +14,7 @@ Experimental
14
14
15
15
### Description
16
16
17
-
A normal continuous random variate distribution, also known as Gaussian, or Gauss or Laplace-Gauss distribution. The location `loc` specifies the mean or expectation ($\mu$). The `scale` specifies the standard deviation ($\sigma$).
17
+
A normal continuous random variate distribution, also known as Gaussian, or Gauss or Laplace-Gauss distribution. The location `loc` specifies the mean or expectation ($\mu$). The `scale` specifies the standard deviation ($\sigma$).
18
18
19
19
Without argument, the function returns a standard normal distributed random variate $N(0,1)$.
20
20
@@ -82,13 +82,13 @@ Elemental function
82
82
83
83
`loc`: has `intent(in)` and is a scalar of type `real` or `complex`.
84
84
85
-
`scale`: has `intent(in)` and is a scalar of type `real` or `complex`.
85
+
`scale`: has `intent(in)` and is a positive scalar of type `real` or `complex`.
86
86
87
87
All three arguments must have the same type.
88
88
89
89
### Return value
90
90
91
-
The result is a scalar or an array, with a shape conformable to the arguments, and of the same type as the input arguments.
91
+
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
92
93
93
### Example
94
94
@@ -128,13 +128,13 @@ Elemental function
128
128
129
129
`loc`: has `intent(in)` and is a scalar of type `real` or `complex`.
130
130
131
-
`scale`: has `intent(in)` and is a scalar of type `real` or `complex`.
131
+
`scale`: has `intent(in)` and is a positive scalar of type `real` or `complex`.
132
132
133
133
All three arguments must have the same type.
134
134
135
135
### Return value
136
136
137
-
The result is a scalar or an array, with a shape conformable to arguments, as the same type of input arguments.
137
+
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`.
0 commit comments