Skip to content

Commit a6f5fa0

Browse files
committed
docs: update README with proper print info in examples
--- type: pre_push_report description: Results of running various checks prior to pushing changes. report: - task: run_javascript_examples status: na - task: run_c_examples status: na - task: run_cpp_examples status: na - task: run_javascript_readme_examples status: na - task: run_c_benchmarks status: na - task: run_cpp_benchmarks status: na - task: run_fortran_benchmarks status: na - task: run_javascript_benchmarks status: na - task: run_julia_benchmarks status: na - task: run_python_benchmarks status: na - task: run_r_benchmarks status: na - task: run_javascript_tests status: na ---
1 parent 60f110c commit a6f5fa0

File tree

1 file changed

+2
-3
lines changed
  • lib/node_modules/@stdlib/stats/base/dists/chisquare/mgf

1 file changed

+2
-3
lines changed

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

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -179,8 +179,7 @@ for ( i = 0; i < 10; i++ ) {
179179

180180
#### stdlib_base_dists_chisquare_mgf( t, k )
181181

182-
Evaluates the moment-generating function (MGF) for a chi-squared distribution
183-
* with degrees of freedom `k` at a value `t`.
182+
Evaluates the moment-generating function (MGF) for a chi-squared distribution with degrees of freedom `k` at a value `t`.
184183

185184
```c
186185
double out = stdlib_base_dists_chisquare_mgf( 0.4, 2.0 );
@@ -236,7 +235,7 @@ int main( void ) {
236235
237236
result = stdlib_base_dists_chisquare_mgf( t, k );
238237
239-
printf( "t: %lf, k: %lf, MGF: %lf \n", t, k, result );
238+
printf( "t: %lf, k: %lf, M_X(t;k): %lf \n", t, k, result );
240239
}
241240
242241
return 0;

0 commit comments

Comments
 (0)