Skip to content

Commit 8579ed0

Browse files
committed
refactor: apply suggestions from previous PRs
--- 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: passed - task: lint_package_json status: na - task: lint_repl_help status: na - task: lint_javascript_src status: passed - 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: missing_dependencies - task: lint_c_examples status: na - task: lint_c_benchmarks status: missing_dependencies - 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: passed - task: run_c_benchmarks status: passed - 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 01e1fd5 commit 8579ed0

File tree

5 files changed

+5
-7
lines changed

5 files changed

+5
-7
lines changed

lib/node_modules/@stdlib/stats/base/dists/arcsine/stdev/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -159,7 +159,7 @@ for ( i = 0; i < 10; i++ ) {
159159

160160
#### stdlib_base_dists_arcsine_stdev( a, b )
161161

162-
Returns the standard deviation of an arcsine distribution.
162+
Returns the [standard deviation][stdev] of an [arcsine][arcsine-distribution] distribution with parameters `a` (minimum support) and `b` (maximum support).
163163

164164
```c
165165
double out = stdlib_base_dists_arcsine_stdev( 4.0, 12.0 );

lib/node_modules/@stdlib/stats/base/dists/arcsine/stdev/benchmark/c/benchmark.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,11 +16,11 @@
1616
* limitations under the License.
1717
*/
1818

19-
#include <sys/time.h>
2019
#include "stdlib/stats/base/dists/arcsine/stdev.h"
2120
#include <stdio.h>
2221
#include <stdlib.h>
2322
#include <time.h>
23+
#include <sys/time.h>
2424

2525
#define NAME "arcsine-stdev"
2626
#define ITERATIONS 1000000

lib/node_modules/@stdlib/stats/base/dists/arcsine/stdev/lib/factory.js

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,6 @@
2222

2323
var constantFunction = require( '@stdlib/utils/constant-function' );
2424
var isnan = require( '@stdlib/math/base/assert/is-nan' );
25-
var sqrt = require( '@stdlib/math/base/special/sqrt' );
26-
var PI = require( '@stdlib/constants/float64/pi' );
2725

2826

2927
// VARIABLES //
@@ -43,7 +41,7 @@ var SQRT1OVER8 = 0.35355339059327373; // sqrt(1.0 / 8.0)
4341
* @example
4442
* var stdev = factory( 0.0, 10.0 );
4543
* var y = stdev();
46-
* // returns ~3.535
44+
* // returns ~3.536
4745
*/
4846
function factory( a, b ) {
4947
if (

lib/node_modules/@stdlib/stats/base/dists/arcsine/stdev/lib/native.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ var addon = require( './../src/addon.node' );
6262
* // returns NaN
6363
*/
6464
function stdev( a, b ) {
65-
return addon( a, b );
65+
return addon( a, b );
6666
}
6767

6868

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
*
2727
* @param a minimum support
2828
* @param b maximum support
29-
* @return standard deviation of the distribution, or NaN if inputs are invalid
29+
* @return standard deviation
3030
*
3131
* @example
3232
* double v = stdlib_base_dists_arcsine_stdev( 0.0, 1.0 );

0 commit comments

Comments
 (0)