Skip to content

Commit beb375b

Browse files
committed
feat: update math/base/tools TypeScript declarations
--- 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: na - task: lint_license_headers status: passed ---
1 parent 0c12692 commit beb375b

File tree

1 file changed

+20
-0
lines changed
  • lib/node_modules/@stdlib/math/base/tools/docs/types

1 file changed

+20
-0
lines changed

lib/node_modules/@stdlib/math/base/tools/docs/types/index.d.ts

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@ import fibpoly = require( '@stdlib/math/base/tools/fibpoly' );
2929
import hermitepoly = require( '@stdlib/math/base/tools/hermitepoly' );
3030
import lucaspoly = require( '@stdlib/math/base/tools/lucaspoly' );
3131
import normhermitepoly = require( '@stdlib/math/base/tools/normhermitepoly' );
32+
import normhermitepolyf = require( '@stdlib/math/base/tools/normhermitepolyf' );
3233
import sumSeries = require( '@stdlib/math/base/tools/sum-series' );
3334

3435
/**
@@ -289,6 +290,25 @@ interface Namespace {
289290
*/
290291
normhermitepoly: typeof normhermitepoly;
291292

293+
/**
294+
* Evaluates a normalized Hermite polynomial using single-precision floating-point arithmetic.
295+
*
296+
* @param n - nonnegative polynomial degree
297+
* @param x - evaluation point
298+
* @returns function value
299+
*
300+
* @example
301+
* var v = ns.normhermitepolyf( 1, 0.5 );
302+
* // returns 0.5
303+
*
304+
* @example
305+
* var polyval = ns.normhermitepolyf.factory( 2 );
306+
*
307+
* var v = polyval( 0.5 );
308+
* // returns -0.75
309+
*/
310+
normhermitepolyf: typeof normhermitepolyf;
311+
292312
/**
293313
* Sum the elements of the series given by the supplied function.
294314
*

0 commit comments

Comments
 (0)