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
@@ -29,7 +29,7 @@ The scaling can be changed with the logical argument `corrected`. If `corrected`
29
29
30
30
### Arguments
31
31
32
-
`array`: Shall be a 1-rank or a 2-rank array of type `integer`, `real`, or `complex`.
32
+
`array`: Shall be a rank-1 or a rank-2 array of type `integer`, `real`, or `complex`.
33
33
34
34
`dim`: Shall be a scalar of type `integer` with a value in the range from 1 to n, where n is the rank of `array`.
35
35
@@ -39,14 +39,15 @@ The scaling can be changed with the logical argument `corrected`. If `corrected`
39
39
40
40
### Return value
41
41
42
-
If `array` is of rank 1 and of type `real` or `complex`, the result is of the same type `real` corresponding to the type of `array`.
42
+
If `array` is of rank 1 and of type `real` or `complex`, the result is of type `real` corresponding to the type of `array`.
43
43
If `array` is of rank 2 and of type `real` or `complex`, the result is of the same type as `array`.
44
44
If `array` is of type `integer`, the result is of type `real(dp)`.
45
45
46
46
If `array` is of rank 1, a scalar with the covariance (that is the variance) of all elements in `array` is returned.
47
-
If `array` is of rank 2, a 2-rank array is returned.
47
+
If `array` is of rank 2, a rank-2 array is returned.
48
48
49
49
If `mask` is specified, the result is the covariance of all elements of `array` corresponding to `true` elements of `mask`. If every element of `mask` is `false`, the result is IEEE `NaN`.
0 commit comments