Skip to content

Commit a52a088

Browse files
committed
Merge branch 'stats-distribution-normal' of github.com:HugoMVale/stdlib into stats-distribution-normal
2 parents 32dfb47 + 268ca2b commit a52a088

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

doc/specs/stdlib_stats_distribution_normal.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -37,15 +37,15 @@ Elemental function (passing both `loc` and `scale`).
3737

3838
`loc`: optional argument has `intent(in)` and is a scalar of type `real` or `complex`.
3939

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`.
4141

4242
`array_size`: optional argument has `intent(in)` and is a scalar of type `integer`.
4343

4444
`loc` and `scale` arguments must be of the same type.
4545

4646
### Return value
4747

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`.
4949

5050
### Example
5151

@@ -89,7 +89,7 @@ All three arguments must have the same type.
8989

9090
### Return value
9191

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`.
9393

9494
### Example
9595

@@ -135,7 +135,7 @@ All three arguments must have the same type.
135135

136136
### Return value
137137

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`.
139139

140140
### Example
141141

0 commit comments

Comments
 (0)