Skip to content

Commit ba0c854

Browse files
committed
docs: fix function names in C example code
--- type: pre_commit_static_analysis_report description: Results of running static analysis checks when committing changes. report: - task: lint_filenames status: passed - task: lint_editorconfig status: passed - task: lint_markdown status: na - task: lint_package_json status: na - task: lint_repl_help status: na - task: lint_javascript_src status: na - task: lint_javascript_cli status: na - task: lint_javascript_examples status: na - task: lint_javascript_tests status: na - task: lint_javascript_benchmarks status: na - task: lint_python status: na - task: lint_r status: na - task: lint_c_src status: passed - task: lint_c_examples status: na - task: lint_c_benchmarks status: na - task: lint_c_tests_fixtures status: na - task: lint_shell status: na - task: lint_typescript_declarations status: na - task: lint_typescript_tests status: na - task: lint_license_headers status: passed --- --- 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 58e26cb commit ba0c854

File tree

8 files changed

+9
-9
lines changed

8 files changed

+9
-9
lines changed

lib/node_modules/@stdlib/math/base/special/boxcox1pinv/src/main.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@
3030
* @return inverse of the Box-Cox transformation
3131
*
3232
* @example
33-
* double v = boxcox1pinv( 1.0, 2.5 );
33+
* double v = stdlib_base_boxcox1pinv( 1.0, 2.5 );
3434
* // returns ~0.6505
3535
*/
3636
double stdlib_base_boxcox1pinv( const double y, const double lambda ) {

lib/node_modules/@stdlib/math/base/special/boxcoxinv/src/main.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929
* @return inverse of the Box-Cox transformation
3030
*
3131
* @example
32-
* double v = boxcoxinv( 1.0, 2.5 );
32+
* double v = stdlib_base_boxcoxinv( 1.0, 2.5 );
3333
* // returns ~1.6505
3434
*/
3535
double stdlib_base_boxcoxinv( const double y, const double lambda ) {

lib/node_modules/@stdlib/math/base/special/gammasgn/src/main.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727
* @return sign of the gamma function
2828
*
2929
* @example
30-
* double v = gammasgn( 1.0 );
30+
* double v = stdlib_base_gammasgn( 1.0 );
3131
* // returns 1.0
3232
*/
3333
double stdlib_base_gammasgn( const double x ) {

lib/node_modules/@stdlib/math/base/special/rampf/src/rampf.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,11 +26,11 @@
2626
* @return function value
2727
*
2828
* @example
29-
* float v = rampf( 3.14 );
29+
* float v = stdlib_base_rampf( 3.14 );
3030
* // returns 3.14
3131
*
3232
* @example
33-
* float v = rampf( -3.14 );
33+
* float v = stdlib_base_rampf( -3.14 );
3434
* // returns 0.0
3535
*/
3636
float stdlib_base_rampf( const float x ) {

lib/node_modules/@stdlib/stats/base/dists/arcsine/mode/src/main.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727
* @return mode
2828
*
2929
* @example
30-
* double v = mode( -4.0, 4.0 );
30+
* double v = stdlib_base_dists_arcsine_mode( -4.0, 4.0 );
3131
* // returns -4.0
3232
*/
3333
double stdlib_base_dists_arcsine_mode( const double a, const double b ) {

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
* @return expected value
2727
*
2828
* @example
29-
* double v = mean( 9.0 );
29+
* double v = stdlib_base_dists_poisson_mean( 9.0 );
3030
* // returns 9.0
3131
*/
3232
double stdlib_base_dists_poisson_mean( const double lambda ) {

lib/node_modules/@stdlib/stats/base/dists/uniform/entropy/src/main.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828
* @return differential entropy
2929
*
3030
* @example
31-
* double v = entropy( 0.0, 1.0 );
31+
* double v = stdlib_base_dists_uniform_entropy( 0.0, 1.0 );
3232
* // returns 0.0
3333
*/
3434
double stdlib_base_dists_uniform_entropy( const double a, const double b ) {

lib/node_modules/@stdlib/stats/base/dists/uniform/pdf/src/main.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828
* @return evaluated PDF
2929
*
3030
* @example
31-
* double y = pdf( 2.0, 0.0, 4.0 );
31+
* double y = stdlib_base_dists_uniform_pdf( 2.0, 0.0, 4.0 );
3232
* // returns 0.25
3333
*/
3434
double stdlib_base_dists_uniform_pdf( const double x, const double a, const double b ) {

0 commit comments

Comments
 (0)