Skip to content

Commit d107953

Browse files
committed
fix: apply suggestion from code review
--- 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: 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: 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: na - task: lint_license_headers status: passed ---
1 parent 1cf43b0 commit d107953

File tree

2 files changed

+8
-0
lines changed

2 files changed

+8
-0
lines changed

lib/node_modules/@stdlib/blas/ext/base/gvander/lib/accessors.js

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,10 @@ var gfill = require( '@stdlib/blas/ext/base/gfill' ).ndarray;
2929
/**
3030
* Generates a Vandermonde matrix using accessor arrays.
3131
*
32+
* ## Notes
33+
*
34+
* - The implementation uses recursive multiplication to generate successive powers, which carries risk of additional accumulated floating-point error; however, for most use cases, such additional error should be negligible and not problematic.
35+
*
3236
* @private
3337
* @param {integer} mode - mode indicating whether to generate increasing or decreasing powers
3438
* @param {NonNegativeInteger} M - number of rows in `out`

lib/node_modules/@stdlib/blas/ext/base/gvander/lib/base.js

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,10 @@ var accessors = require( './accessors.js' );
3333
/**
3434
* Generates a Vandermonde matrix using alternative indexing semantics.
3535
*
36+
* ## Notes
37+
*
38+
* - The implementation uses recursive multiplication to generate successive powers, which carries risk of additional accumulated floating-point error; however, for most use cases, such additional error should be negligible and not problematic.
39+
*
3640
* @private
3741
* @param {integer} mode - mode indicating whether to generate increasing or decreasing powers
3842
* @param {NonNegativeInteger} M - number of rows in `out`

0 commit comments

Comments
 (0)