File tree Expand file tree Collapse file tree 4 files changed +5
-13
lines changed
lib/node_modules/@stdlib/stats/base/dists/chisquare/mean
include/stdlib/stats/base/dists/chisquare Expand file tree Collapse file tree 4 files changed +5
-13
lines changed Original file line number Diff line number Diff 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
150150double 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
163154The function accepts the following arguments:
Original file line number Diff line number Diff 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*/
3232double stdlib_base_dists_chisquare_mean ( const double k );
3333
Original file line number Diff line number Diff line change 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.
Original file line number Diff line number Diff line change 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.
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/**
You can’t perform that action at this time.
0 commit comments