File tree 3 files changed +3
-3
lines changed
lib/node_modules/@stdlib/stats/base/dists/chi/entropy
3 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -144,7 +144,7 @@ for ( i = 0; i < 10; i++ ) {
144
144
145
145
#### stdlib_base_dists_chi_entropy( k )
146
146
147
- Returns the differential entropy of a chi distribution.
147
+ Returns the [ differential entropy] [ entropy ] of a [ chi] [ chi-distribution ] distribution with degrees of freedom ` k ` (in [ nats ] [ nats ] ) .
148
148
149
149
``` c
150
150
double out = stdlib_base_dists_chi_entropy( 9.0 );
Original file line number Diff line number Diff line change 16
16
* limitations under the License.
17
17
*/
18
18
19
- #include <sys/time.h>
20
19
#include "stdlib/stats/base/dists/chi/entropy.h"
21
20
#include <math.h>
22
21
#include <stdio.h>
23
22
#include <stdlib.h>
24
23
#include <time.h>
24
+ #include <sys/time.h>
25
25
26
26
#define NAME "chi-entropy"
27
27
#define ITERATIONS 1000000
Original file line number Diff line number Diff line change 25
25
* Returns the differential entropy of a chi distribution.
26
26
*
27
27
* @param k degrees of freedom (must be positive)
28
- * @return entropy, or NaN if input is invalid
28
+ * @return entropy
29
29
*
30
30
* @example
31
31
* double v = stdlib_base_dists_chi_entropy( 9.0 );
You can’t perform that action at this time.
0 commit comments