From 58793a1972e7e243afe6d69d0133b8c22143c195 Mon Sep 17 00:00:00 2001 From: Claude Date: Thu, 30 Apr 2026 16:34:52 +0000 Subject: [PATCH 1/4] docs: add REPL help for `math/base/tools/evalpoly-compile` Adds `docs/repl.txt` aligning with the `math/base/tools` namespace majority pattern (76% of siblings ship a REPL help file). Content is derived from the existing JSDoc and TypeScript declarations; no behavior changes. --- .../base/tools/evalpoly-compile/docs/repl.txt | 41 +++++++++++++++++++ 1 file changed, 41 insertions(+) create mode 100644 lib/node_modules/@stdlib/math/base/tools/evalpoly-compile/docs/repl.txt diff --git a/lib/node_modules/@stdlib/math/base/tools/evalpoly-compile/docs/repl.txt b/lib/node_modules/@stdlib/math/base/tools/evalpoly-compile/docs/repl.txt new file mode 100644 index 000000000000..0ffd680f7e2c --- /dev/null +++ b/lib/node_modules/@stdlib/math/base/tools/evalpoly-compile/docs/repl.txt @@ -0,0 +1,41 @@ + +{{alias}}( c[, options] ) + Compiles a module string containing an exported function for evaluating a + polynomial having coefficients `c`. + + The coefficients should be ordered in ascending degree, thus matching + summation notation. + + By default, the function assumes double-precision floating-point arithmetic. + To emulate single-precision floating-point arithmetic, set the `dtype` + option to `'float32'`. + + The function is intended for non-browser environments for the purpose of + generating module files. + + Parameters + ---------- + c: Array + Polynomial coefficients sorted in ascending degree. + + options: Object (optional) + Function options. + + options.dtype: string (optional) + Input value floating-point data type. Must be either 'float64' or + 'float32'. Default: 'float64'. + + Returns + ------- + out: string + Module string exporting a function for evaluating a polynomial. + + Examples + -------- + > var str = {{alias}}( [ 3.0, 2.0, 1.0 ] ) + + + + See Also + -------- + From a99dcfb455d1ff310c11bd7741f5ad81a6e427bb Mon Sep 17 00:00:00 2001 From: Claude Date: Thu, 30 Apr 2026 16:34:56 +0000 Subject: [PATCH 2/4] docs: add REPL help for `math/base/tools/evalpoly-compile-c` Adds `docs/repl.txt` aligning with the `math/base/tools` namespace majority pattern (76% of siblings ship a REPL help file). Content is derived from the existing JSDoc and TypeScript declarations; no behavior changes. --- .../tools/evalpoly-compile-c/docs/repl.txt | 44 +++++++++++++++++++ 1 file changed, 44 insertions(+) create mode 100644 lib/node_modules/@stdlib/math/base/tools/evalpoly-compile-c/docs/repl.txt diff --git a/lib/node_modules/@stdlib/math/base/tools/evalpoly-compile-c/docs/repl.txt b/lib/node_modules/@stdlib/math/base/tools/evalpoly-compile-c/docs/repl.txt new file mode 100644 index 000000000000..5133a0674102 --- /dev/null +++ b/lib/node_modules/@stdlib/math/base/tools/evalpoly-compile-c/docs/repl.txt @@ -0,0 +1,44 @@ + +{{alias}}( c[, options] ) + Compiles a C function string for evaluating a polynomial having + coefficients `c`. + + The coefficients should be ordered in ascending degree, thus matching + summation notation. + + By default, the function assumes double-precision floating-point arithmetic. + To emulate single-precision floating-point arithmetic, set the `dtype` + option to `'float'`. + + The function is intended for non-browser environments for the purpose of + generating C source files. + + Parameters + ---------- + c: Array + Polynomial coefficients sorted in ascending degree. + + options: Object (optional) + Function options. + + options.dtype: string (optional) + Input value floating-point data type. Must be either 'double' or + 'float'. Default: 'double'. + + options.name: string (optional) + Function name. Default: 'evalpoly'. + + Returns + ------- + out: string + Function string for evaluating a polynomial. + + Examples + -------- + > var str = {{alias}}( [ 3.0, 2.0, 1.0 ] ) + + + + See Also + -------- + From da408220d0fea8f02173937ed606c99b3357c7ef Mon Sep 17 00:00:00 2001 From: Claude Date: Thu, 30 Apr 2026 16:35:01 +0000 Subject: [PATCH 3/4] docs: add REPL help for `math/base/tools/evalrational-compile` Adds `docs/repl.txt` aligning with the `math/base/tools` namespace majority pattern (76% of siblings ship a REPL help file). Content is derived from the existing JSDoc and TypeScript declarations; no behavior changes. --- .../tools/evalrational-compile/docs/repl.txt | 47 +++++++++++++++++++ 1 file changed, 47 insertions(+) create mode 100644 lib/node_modules/@stdlib/math/base/tools/evalrational-compile/docs/repl.txt diff --git a/lib/node_modules/@stdlib/math/base/tools/evalrational-compile/docs/repl.txt b/lib/node_modules/@stdlib/math/base/tools/evalrational-compile/docs/repl.txt new file mode 100644 index 000000000000..1f08abf47a3b --- /dev/null +++ b/lib/node_modules/@stdlib/math/base/tools/evalrational-compile/docs/repl.txt @@ -0,0 +1,47 @@ + +{{alias}}( P, Q[, options] ) + Compiles a module string containing an exported function for evaluating a + rational function having numerator coefficients `P` and denominator + coefficients `Q`. + + The coefficients should be ordered in ascending degree, thus matching + summation notation. + + By default, the function assumes double-precision floating-point arithmetic. + To emulate single-precision floating-point arithmetic, set the `dtype` + option to `'float32'`. + + The function is intended for non-browser environments for the purpose of + generating module files. + + Parameters + ---------- + P: Array + Numerator polynomial coefficients sorted in ascending degree. + + Q: Array + Denominator polynomial coefficients sorted in ascending degree. + + options: Object (optional) + Function options. + + options.dtype: string (optional) + Input value floating-point data type. Must be either 'float64' or + 'float32'. Default: 'float64'. + + Returns + ------- + out: string + Module string exporting a function for evaluating a rational function. + + Examples + -------- + > var P = [ -6.0, -5.0 ]; + > var Q = [ 3.0, 0.5 ]; + > var str = {{alias}}( P, Q ) + + + + See Also + -------- + From 56df58a7fb240b6d1e809d28f0149f52e31cb371 Mon Sep 17 00:00:00 2001 From: Claude Date: Thu, 30 Apr 2026 16:35:05 +0000 Subject: [PATCH 4/4] docs: add REPL help for `math/base/tools/evalrational-compile-c` Adds `docs/repl.txt` aligning with the `math/base/tools` namespace majority pattern (76% of siblings ship a REPL help file). Content is derived from the existing JSDoc and TypeScript declarations; no behavior changes. --- .../evalrational-compile-c/docs/repl.txt | 49 +++++++++++++++++++ 1 file changed, 49 insertions(+) create mode 100644 lib/node_modules/@stdlib/math/base/tools/evalrational-compile-c/docs/repl.txt diff --git a/lib/node_modules/@stdlib/math/base/tools/evalrational-compile-c/docs/repl.txt b/lib/node_modules/@stdlib/math/base/tools/evalrational-compile-c/docs/repl.txt new file mode 100644 index 000000000000..ab49438b6263 --- /dev/null +++ b/lib/node_modules/@stdlib/math/base/tools/evalrational-compile-c/docs/repl.txt @@ -0,0 +1,49 @@ + +{{alias}}( P, Q[, options] ) + Compiles a C function string for evaluating a rational function having + numerator coefficients `P` and denominator coefficients `Q`. + + The coefficients should be ordered in ascending degree, thus matching + summation notation. + + By default, the function assumes double-precision floating-point arithmetic. + To emulate single-precision floating-point arithmetic, set the `dtype` + option to `'float'`. + + The function is intended for non-browser environments for the purpose of + generating C source files. + + Parameters + ---------- + P: Array + Numerator polynomial coefficients sorted in ascending degree. + + Q: Array + Denominator polynomial coefficients sorted in ascending degree. + + options: Object (optional) + Function options. + + options.dtype: string (optional) + Input value floating-point data type. Must be either 'double' or + 'float'. Default: 'double'. + + options.name: string (optional) + Function name. Default: 'evalrational'. + + Returns + ------- + out: string + Function string for evaluating a rational function. + + Examples + -------- + > var P = [ -6.0, -5.0 ]; + > var Q = [ 3.0, 0.5 ]; + > var str = {{alias}}( P, Q ) + + + + See Also + -------- +