Skip to content

feat: add stats/incr/nanmsumprod #6098

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 4 commits into
base: develop
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
chore: update copyright years
  • Loading branch information
stdlib-bot committed Apr 29, 2025
commit 7e105c8bea1bce8f7325650d560c8a72405f9560
2 changes: 1 addition & 1 deletion lib/node_modules/@stdlib/stats/incr/nanmsumprod/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

@license Apache-2.0

Copyright (c) 2018 The Stdlib Authors.
Copyright (c) 2025 The Stdlib Authors.

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/**
* @license Apache-2.0
*
* Copyright (c) 2018 The Stdlib Authors.
* Copyright (c) 2025 The Stdlib Authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/*
* @license Apache-2.0
*
* Copyright (c) 2019 The Stdlib Authors.
* Copyright (c) 2025 The Stdlib Authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
Expand Down Expand Up @@ -53,19 +53,19 @@
*
* sum = accumulator( 2.0, 3.0 );
* // returns 6.0
*

Check failure on line 56 in lib/node_modules/@stdlib/stats/incr/nanmsumprod/docs/types/index.d.ts

View workflow job for this annotation

GitHub Actions / Lint Changed Files

Trailing spaces not allowed
* sum = accumulator( NaN, 3.0 );
* // returns 6.0
*
* sum = accumulator( -5.0, 2.0 );
* // returns -4.0
*

Check failure on line 62 in lib/node_modules/@stdlib/stats/incr/nanmsumprod/docs/types/index.d.ts

View workflow job for this annotation

GitHub Actions / Lint Changed Files

Trailing spaces not allowed
* sum = accumulator( -5.0, NaN );
* // returns -4.0
*
* sum = accumulator( 3.0, -2.0 );
* // returns -10.0
*

Check failure on line 68 in lib/node_modules/@stdlib/stats/incr/nanmsumprod/docs/types/index.d.ts

View workflow job for this annotation

GitHub Actions / Lint Changed Files

Trailing spaces not allowed
* sum = accumulator( NaN, NaN );
* // returns -10.0
*
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/*
* @license Apache-2.0
*
* Copyright (c) 2019 The Stdlib Authors.
* Copyright (c) 2025 The Stdlib Authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/**
* @license Apache-2.0
*
* Copyright (c) 2018 The Stdlib Authors.
* Copyright (c) 2025 The Stdlib Authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/**
* @license Apache-2.0
*
* Copyright (c) 2018 The Stdlib Authors.
* Copyright (c) 2025 The Stdlib Authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/**
* @license Apache-2.0
*
* Copyright (c) 2018 The Stdlib Authors.
* Copyright (c) 2025 The Stdlib Authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
Expand Down Expand Up @@ -65,8 +65,8 @@
*/
function incrnanmsumprod( W ) {
var msumprod;

Check failure on line 68 in lib/node_modules/@stdlib/stats/incr/nanmsumprod/lib/main.js

View workflow job for this annotation

GitHub Actions / Lint Changed Files

Trailing spaces not allowed
msumprod = incrmsum( W );

Check failure on line 69 in lib/node_modules/@stdlib/stats/incr/nanmsumprod/lib/main.js

View workflow job for this annotation

GitHub Actions / Lint Changed Files

Multiple spaces found before 'incrmsum'
return accumulator;

/**
Expand All @@ -88,3 +88,3 @@

// EXPORTS //

Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/**
* @license Apache-2.0
*
* Copyright (c) 2018 The Stdlib Authors.
* Copyright (c) 2025 The Stdlib Authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
Expand Down
Loading