Skip to content

Commit cf7e3ae

Browse files
chore: minor clean up
1 parent 0777263 commit cf7e3ae

File tree

4 files changed

+5
-13
lines changed

4 files changed

+5
-13
lines changed

lib/node_modules/@stdlib/stats/base/dists/chisquare/mean/README.md

Lines changed: 1 addition & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -144,20 +144,11 @@ for ( i = 0; i < 10; i++ ) {
144144

145145
#### stdlib_base_dists_chisquare_mean( k )
146146

147-
Evaluates the expected value of a chi-squared distribution with degerees of freedom `k`.
147+
Returns the expected value of a chi-squared distribution with degerees of freedom `k`.
148148

149149
```c
150150
double y = stdlib_base_dists_chisquare_mean( 9.0 );
151151
// returns ~9.0
152-
153-
y = stdlib_base_dists_chisquare_mean( 1.0 );
154-
// returns ~1.0
155-
156-
y = stdlib_base_dists_chisquare_mean( -0.2 );
157-
// returns NaN
158-
159-
y = stdlib_base_dists_chisquare_mean( NaN );
160-
// returns NaN
161152
```
162153

163154
The function accepts the following arguments:

lib/node_modules/@stdlib/stats/base/dists/chisquare/mean/include/stdlib/stats/base/dists/chisquare/mean.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ extern "C" {
2727
#endif
2828

2929
/**
30-
* Evaluates the expected value of a chi-squared distribution with degerees of freedom `k`.
30+
* Returns the expected value of a chi-squared distribution with degerees of freedom `k`.
3131
*/
3232
double stdlib_base_dists_chisquare_mean( const double k );
3333

lib/node_modules/@stdlib/stats/base/dists/chisquare/mean/src/addon.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
/**
22
* @license Apache-2.0
33
*
4-
* Copyright (c) 2024 The Stdlib Authors.
4+
* Copyright (c) 2025 The Stdlib Authors.
55
*
66
* Licensed under the Apache License, Version 2.0 (the "License");
77
* you may not use this file except in compliance with the License.

lib/node_modules/@stdlib/stats/base/dists/chisquare/mean/src/main.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
/**
22
* @license Apache-2.0
33
*
4-
* Copyright (c) 2024 The Stdlib Authors.
4+
* Copyright (c) 2025 The Stdlib Authors.
55
*
66
* Licensed under the Apache License, Version 2.0 (the "License");
77
* you may not use this file except in compliance with the License.
@@ -16,6 +16,7 @@
1616
* limitations under the License.
1717
*/
1818

19+
#include "stdlib/stats/base/dists/chisquare/mean.h"
1920
#include "stdlib/math/base/assert/is_nan.h"
2021

2122
/**

0 commit comments

Comments
 (0)