Skip to content

Commit 2b1d807

Browse files
feat: add new package to the stats/incr/* namespace: @stdlib/stats/incr/nanmpcorrdist
--- 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: na - 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: passed - task: lint_typescript_tests status: passed - task: lint_license_headers status: passed ---
1 parent f9ec4ac commit 2b1d807

File tree

2 files changed

+38
-38
lines changed

2 files changed

+38
-38
lines changed

lib/node_modules/@stdlib/stats/incr/nanmpcorrdist/docs/types/index.d.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ type accumulator = ( x?: number, y?: number ) => number | null;
4949
* @returns accumulator function
5050
*
5151
* @example
52-
* var accumulator = incrmpcorrdist( 3, -2.0, 10.0 );
52+
* var accumulator = incrnanmpcorrdist( 3, -2.0, 10.0 );
5353
*/
5454
declare function incrnanmpcorrdist( W: number, meanx: number, meany: number ): accumulator;
5555

@@ -66,7 +66,7 @@ declare function incrnanmpcorrdist( W: number, meanx: number, meany: number ): a
6666
* @returns accumulator function
6767
*
6868
* @example
69-
* var accumulator = incrmpcorrdist( 3 );
69+
* var accumulator = incrnanmpcorrdist( 3 );
7070
*
7171
* var d = accumulator();
7272
* // returns null

lib/node_modules/@stdlib/stats/incr/nanmpcorrdist/docs/types/test.ts

Lines changed: 36 additions & 36 deletions
Original file line numberDiff line numberDiff line change
@@ -16,73 +16,73 @@
1616
* limitations under the License.
1717
*/
1818

19-
import incrmpcorrdist = require( './index' );
19+
import incrnanmpcorrdist = require( './index' );
2020

2121

2222
// TESTS //
2323

2424
// The function returns an accumulator function...
2525
{
26-
incrmpcorrdist( 3 ); // $ExpectType accumulator
27-
incrmpcorrdist( 3, 2.5, 4.5 ); // $ExpectType accumulator
26+
incrnanmpcorrdist( 3 ); // $ExpectType accumulator
27+
incrnanmpcorrdist( 3, 2.5, 4.5 ); // $ExpectType accumulator
2828
}
2929

3030
// The compiler throws an error if the function is provided non-numeric arguments...
3131
{
32-
incrmpcorrdist( 2, '5' ); // $ExpectError
33-
incrmpcorrdist( 2, true ); // $ExpectError
34-
incrmpcorrdist( 2, false ); // $ExpectError
35-
incrmpcorrdist( 2, null ); // $ExpectError
36-
incrmpcorrdist( 2, undefined ); // $ExpectError
37-
incrmpcorrdist( 2, [] ); // $ExpectError
38-
incrmpcorrdist( 2, {} ); // $ExpectError
39-
incrmpcorrdist( 2, ( x: number ): number => x ); // $ExpectError
40-
41-
incrmpcorrdist( '5', 4 ); // $ExpectError
42-
incrmpcorrdist( true, 4 ); // $ExpectError
43-
incrmpcorrdist( false, 4 ); // $ExpectError
44-
incrmpcorrdist( null, 4 ); // $ExpectError
45-
incrmpcorrdist( undefined, 4 ); // $ExpectError
46-
incrmpcorrdist( [], 4 ); // $ExpectError
47-
incrmpcorrdist( {}, 4 ); // $ExpectError
48-
incrmpcorrdist( ( x: number ): number => x, 4 ); // $ExpectError
49-
50-
incrmpcorrdist( '5', 2.5, 3.5 ); // $ExpectError
51-
incrmpcorrdist( true, 2.5, 3.5 ); // $ExpectError
52-
incrmpcorrdist( false, 2.5, 3.5 ); // $ExpectError
53-
incrmpcorrdist( null, 2.5, 3.5 ); // $ExpectError
54-
incrmpcorrdist( undefined, 2.5, 3.5 ); // $ExpectError
55-
incrmpcorrdist( [], 2.5, 3.5 ); // $ExpectError
56-
incrmpcorrdist( {}, 2.5, 3.5 ); // $ExpectError
57-
incrmpcorrdist( ( x: number ): number => x, 2.5, 3.5 ); // $ExpectError
32+
incrnanmpcorrdist( 2, '5' ); // $ExpectError
33+
incrnanmpcorrdist( 2, true ); // $ExpectError
34+
incrnanmpcorrdist( 2, false ); // $ExpectError
35+
incrnanmpcorrdist( 2, null ); // $ExpectError
36+
incrnanmpcorrdist( 2, undefined ); // $ExpectError
37+
incrnanmpcorrdist( 2, [] ); // $ExpectError
38+
incrnanmpcorrdist( 2, {} ); // $ExpectError
39+
incrnanmpcorrdist( 2, ( x: number ): number => x ); // $ExpectError
40+
41+
incrnanmpcorrdist( '5', 4 ); // $ExpectError
42+
incrnanmpcorrdist( true, 4 ); // $ExpectError
43+
incrnanmpcorrdist( false, 4 ); // $ExpectError
44+
incrnanmpcorrdist( null, 4 ); // $ExpectError
45+
incrnanmpcorrdist( undefined, 4 ); // $ExpectError
46+
incrnanmpcorrdist( [], 4 ); // $ExpectError
47+
incrnanmpcorrdist( {}, 4 ); // $ExpectError
48+
incrnanmpcorrdist( ( x: number ): number => x, 4 ); // $ExpectError
49+
50+
incrnanmpcorrdist( '5', 2.5, 3.5 ); // $ExpectError
51+
incrnanmpcorrdist( true, 2.5, 3.5 ); // $ExpectError
52+
incrnanmpcorrdist( false, 2.5, 3.5 ); // $ExpectError
53+
incrnanmpcorrdist( null, 2.5, 3.5 ); // $ExpectError
54+
incrnanmpcorrdist( undefined, 2.5, 3.5 ); // $ExpectError
55+
incrnanmpcorrdist( [], 2.5, 3.5 ); // $ExpectError
56+
incrnanmpcorrdist( {}, 2.5, 3.5 ); // $ExpectError
57+
incrnanmpcorrdist( ( x: number ): number => x, 2.5, 3.5 ); // $ExpectError
5858
}
5959

6060
// The compiler throws an error if the function is provided an invalid number of arguments...
6161
{
62-
incrmpcorrdist(); // $ExpectError
63-
incrmpcorrdist( 2, 2 ); // $ExpectError
64-
incrmpcorrdist( 2, 2, 3, 4 ); // $ExpectError
62+
incrnanmpcorrdist(); // $ExpectError
63+
incrnanmpcorrdist( 2, 2 ); // $ExpectError
64+
incrnanmpcorrdist( 2, 2, 3, 4 ); // $ExpectError
6565
}
6666

6767
// The function returns an accumulator function which returns an accumulated result...
6868
{
69-
const acc = incrmpcorrdist( 3 );
69+
const acc = incrnanmpcorrdist( 3 );
7070

7171
acc(); // $ExpectType number | null
7272
acc( 3.14, 2.0 ); // $ExpectType number | null
7373
}
7474

7575
// The function returns an accumulator function which returns an accumulated result (known means)...
7676
{
77-
const acc = incrmpcorrdist( 3, 2, -3 );
77+
const acc = incrnanmpcorrdist( 3, 2, -3 );
7878

7979
acc(); // $ExpectType number | null
8080
acc( 3.14, 2.0 ); // $ExpectType number | null
8181
}
8282

8383
// The compiler throws an error if the returned accumulator function is provided invalid arguments...
8484
{
85-
const acc = incrmpcorrdist( 3 );
85+
const acc = incrnanmpcorrdist( 3 );
8686

8787
acc( '5', 1.0 ); // $ExpectError
8888
acc( true, 1.0 ); // $ExpectError
@@ -103,7 +103,7 @@ import incrmpcorrdist = require( './index' );
103103

104104
// The compiler throws an error if the returned accumulator function is provided invalid arguments (known means)...
105105
{
106-
const acc = incrmpcorrdist( 3, 2, -3 );
106+
const acc = incrnanmpcorrdist( 3, 2, -3 );
107107

108108
acc( '5', 1.0 ); // $ExpectError
109109
acc( true, 1.0 ); // $ExpectError

0 commit comments

Comments
 (0)