Skip to content

Commit 1febb56

Browse files
committed
Auto-generated commit
1 parent 280e700 commit 1febb56

3 files changed

Lines changed: 123 additions & 68 deletions

File tree

CHANGELOG.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,12 +4,13 @@
44

55
<section class="release" id="unreleased">
66

7-
## Unreleased (2026-05-15)
7+
## Unreleased (2026-05-17)
88

99
<section class="features">
1010

1111
### Features
1212

13+
- [`a615900`](https://github.com/stdlib-js/stdlib/commit/a615900caf19b4bb54ff0778986c44e6136494f7) - update `math/base/tools` TypeScript declarations [(#12165)](https://github.com/stdlib-js/stdlib/pull/12165)
1314
- [`2e36fdf`](https://github.com/stdlib-js/stdlib/commit/2e36fdf188f8fe891f93ad0294059ef480e5aec2) - add `chebyshevSeriesf` to namespace
1415
- [`2d1c3d6`](https://github.com/stdlib-js/stdlib/commit/2d1c3d6758dc3f7caffc15550ba945580625438d) - add `math/base/tools/chebyshev-seriesf` [(#11564)](https://github.com/stdlib-js/stdlib/pull/11564)
1516
- [`66bc5bb`](https://github.com/stdlib-js/stdlib/commit/66bc5bb35ab356d41bf84072b5048663e1fb11c5) - add `chebyshevSeries` to namespace
@@ -732,6 +733,7 @@ A total of 100 issues were closed in this release:
732733

733734
<details>
734735

736+
- [`a615900`](https://github.com/stdlib-js/stdlib/commit/a615900caf19b4bb54ff0778986c44e6136494f7) - **feat:** update `math/base/tools` TypeScript declarations [(#12165)](https://github.com/stdlib-js/stdlib/pull/12165) _(by stdlib-bot)_
735737
- [`622d150`](https://github.com/stdlib-js/stdlib/commit/622d15033aa18a95fedfe4bfa1f66ac5799ef3f2) - **docs:** update related packages sections [(#12139)](https://github.com/stdlib-js/stdlib/pull/12139) _(by stdlib-bot)_
736738
- [`f797ee0`](https://github.com/stdlib-js/stdlib/commit/f797ee08c2803353aba4a15f22b866327488dd9b) - **chore:** fix JavaScript lint errors [(#12134)](https://github.com/stdlib-js/stdlib/pull/12134) _(by Syed Ishmum Ahnaf)_
737739
- [`508cffa`](https://github.com/stdlib-js/stdlib/commit/508cffaabd50a383412af306e36e4f2523cd7fa2) - **docs:** update related packages sections [(#12106)](https://github.com/stdlib-js/stdlib/pull/12106) _(by stdlib-bot)_

LICENSE

Lines changed: 62 additions & 67 deletions
Original file line numberDiff line numberDiff line change
@@ -220,41 +220,59 @@ comes with no support or guarantee.
220220
Stephen L. Moshier
221221
moshier@na-net.ornl.gov
222222

223-
* SpecialFunctions.jl <https://raw.githubusercontent.com/JuliaMath/
224-
SpecialFunctions.jl/02a173fbe24a61c4b392aec17a9764ac5727feb1/LICENSE>
225-
226-
The MIT License (MIT)
227-
228-
Copyright (c) 2017 Jeff Bezanson, Stefan Karpinski, Viral B. Shah, and others:
223+
* FreeBSD <https://svnweb.freebsd.org/>
229224

230-
https://github.com/JuliaMath/SpecialFunctions.jl/graphs/contributors
225+
Copyright (C) 1993-2004 by Sun Microsystems, Inc. All rights reserved.
231226

232-
Permission is hereby granted, free of charge, to any person obtaining a copy
233-
of this software and associated documentation files (the "Software"), to deal
234-
in the Software without restriction, including without limitation the rights
235-
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
236-
copies of the Software, and to permit persons to whom the Software is
237-
furnished to do so, subject to the following conditions:
227+
Developed at SunPro, a Sun Microsystems, Inc. business.
228+
Permission to use, copy, modify, and distribute this
229+
software is freely granted, provided that this notice
230+
is preserved.
238231

239-
The above copyright notice and this permission notice shall be included in all
240-
copies or substantial portions of the Software.
232+
* FDLIBM <http://www.netlib.org/fdlibm/>
241233

242-
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
243-
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
244-
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
245-
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
246-
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
247-
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
248-
SOFTWARE.
234+
Copyright (C) 2004 by Sun Microsystems, Inc. All rights reserved.
249235

250-
* FreeBSD <https://svnweb.freebsd.org/>
236+
* SLATEC Common Mathematical Library <https://netlib.org/slatec/>
251237

252-
Copyright (C) 1993-2004 by Sun Microsystems, Inc. All rights reserved.
238+
Public domain.
253239

254240
Developed at SunPro, a Sun Microsystems, Inc. business.
255241
Permission to use, copy, modify, and distribute this
256242
software is freely granted, provided that this notice
257243
is preserved.
244+
Apache License
245+
Version 2.0, January 2004
246+
http://www.apache.org/licenses/
247+
248+
Stephen L. Moshier
249+
moshier@na-net.ornl.gov
250+
Apache License
251+
Version 2.0, January 2004
252+
http://www.apache.org/licenses/
253+
254+
* Faddeeva <http://ab-initio.mit.edu/wiki/index.php/Faddeeva_Package#License>
255+
256+
Copyright (c) 2012 Massachusetts Institute of Technology
257+
258+
Permission is hereby granted, free of charge, to any person obtaining
259+
a copy of this software and associated documentation files (the
260+
"Software"), to deal in the Software without restriction, including
261+
without limitation the rights to use, copy, modify, merge, publish,
262+
distribute, sublicense, and/or sell copies of the Software, and to
263+
permit persons to whom the Software is furnished to do so, subject to
264+
the following conditions:
265+
266+
The above copyright notice and this permission notice shall be
267+
included in all copies or substantial portions of the Software.
268+
269+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
270+
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
271+
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
272+
NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
273+
LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
274+
OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
275+
WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
258276

259277
* Go <https://raw.githubusercontent.com/golang/go/master/LICENSE>
260278

@@ -286,53 +304,30 @@ THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
286304
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
287305
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
288306

289-
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
290-
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
291-
FITNESS FOR A PARTICULAR PURPOSE, TITLE AND NON-INFRINGEMENT. IN NO EVENT
292-
SHALL THE COPYRIGHT HOLDERS OR ANYONE DISTRIBUTING THE SOFTWARE BE LIABLE
293-
FOR ANY DAMAGES OR OTHER LIABILITY, WHETHER IN CONTRACT, TORT OR OTHERWISE,
294-
ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
295-
DEALINGS IN THE SOFTWARE.
296-
Apache License
297-
Version 2.0, January 2004
298-
http://www.apache.org/licenses/
299-
300-
* FDLIBM <http://www.netlib.org/fdlibm/>
301-
302-
Copyright (C) 2004 by Sun Microsystems, Inc. All rights reserved.
303-
304-
Developed at SunPro, a Sun Microsystems, Inc. business.
305-
Permission to use, copy, modify, and distribute this
306-
software is freely granted, provided that this notice
307-
is preserved.
308-
Apache License
309-
Version 2.0, January 2004
310-
http://www.apache.org/licenses/
311-
312-
* SLATEC Common Mathematical Library <https://netlib.org/slatec/>
307+
* SpecialFunctions.jl <https://raw.githubusercontent.com/JuliaMath/
308+
SpecialFunctions.jl/02a173fbe24a61c4b392aec17a9764ac5727feb1/LICENSE>
313309

314-
Public domain.
310+
The MIT License (MIT)
315311

316-
* Faddeeva <http://ab-initio.mit.edu/wiki/index.php/Faddeeva_Package#License>
312+
Copyright (c) 2017 Jeff Bezanson, Stefan Karpinski, Viral B. Shah, and others:
317313

318-
Copyright (c) 2012 Massachusetts Institute of Technology
314+
https://github.com/JuliaMath/SpecialFunctions.jl/graphs/contributors
319315

320-
Permission is hereby granted, free of charge, to any person obtaining
321-
a copy of this software and associated documentation files (the
322-
"Software"), to deal in the Software without restriction, including
323-
without limitation the rights to use, copy, modify, merge, publish,
324-
distribute, sublicense, and/or sell copies of the Software, and to
325-
permit persons to whom the Software is furnished to do so, subject to
326-
the following conditions:
316+
Permission is hereby granted, free of charge, to any person obtaining a copy
317+
of this software and associated documentation files (the "Software"), to deal
318+
in the Software without restriction, including without limitation the rights
319+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
320+
copies of the Software, and to permit persons to whom the Software is
321+
furnished to do so, subject to the following conditions:
327322

328-
The above copyright notice and this permission notice shall be
329-
included in all copies or substantial portions of the Software.
323+
The above copyright notice and this permission notice shall be included in all
324+
copies or substantial portions of the Software.
330325

331-
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
332-
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
333-
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
334-
NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
335-
LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
336-
OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
337-
WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
326+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
327+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
328+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
329+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
330+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
331+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
332+
SOFTWARE.
338333

base/tools/docs/types/index.d.ts

Lines changed: 58 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,8 @@
2020

2121
/* eslint-disable max-lines */
2222

23+
import chebyshevSeries = require( './../../../../base/tools/chebyshev-series' );
24+
import chebyshevSeriesf = require( './../../../../base/tools/chebyshev-seriesf' );
2325
import continuedFraction = require( './../../../../base/tools/continued-fraction' );
2426
import evalpoly = require( './../../../../base/tools/evalpoly' );
2527
import evalpolyf = require( './../../../../base/tools/evalpolyf' );
@@ -36,6 +38,62 @@ import sumSeries = require( './../../../../base/tools/sum-series' );
3638
* Interface describing the `tools` namespace.
3739
*/
3840
interface Namespace {
41+
/**
42+
* Evaluates a Chebyshev series using double-precision floating-point arithmetic.
43+
*
44+
* ## Notes
45+
*
46+
* - The implementation uses [Clenshaw's recurrence algorithm][clenshaw].
47+
* - The function evaluates Chebyshev polynomials at `x/2`.
48+
*
49+
* [clenshaw]: https://en.wikipedia.org/wiki/Clenshaw_algorithm
50+
*
51+
* @param x - value at which to evaluate the Chebyshev series (expected to be in `[-2, 2]`)
52+
* @param c - Chebyshev series coefficients ordered in descending degree
53+
* @returns evaluated Chebyshev series
54+
*
55+
* @example
56+
* var v = ns.chebyshevSeries( 1.0, [ 1.0, 0.5 ] ); // 1*T_0(1/2) + 0.5*T_1(1/2)
57+
* // returns 0.75
58+
*
59+
* @example
60+
* var evaluate = ns.chebyshevSeries.factory( [ 1.0, 0.5 ] ); // 1*T_0(1/2) + 0.5*T_1(1/2)
61+
*
62+
* var v = evaluate( 1.0 );
63+
* // returns 0.75
64+
*/
65+
chebyshevSeries: typeof chebyshevSeries;
66+
67+
/**
68+
* Evaluates a Chebyshev series using single-precision floating-point arithmetic.
69+
*
70+
* ## Notes
71+
*
72+
* - The implementation uses [Clenshaw's recurrence algorithm][clenshaw].
73+
* - The function evaluates Chebyshev polynomials at `x/2`.
74+
*
75+
* [clenshaw]: https://en.wikipedia.org/wiki/Clenshaw_algorithm
76+
*
77+
* @param x - value at which to evaluate the Chebyshev series (expected to be in `[-2, 2]`)
78+
* @param c - Chebyshev series coefficients ordered in descending degree
79+
* @returns evaluated Chebyshev series
80+
*
81+
* @example
82+
* var Float32Array = require( '@stdlib/array/float32' );
83+
*
84+
* var v = ns.chebyshevSeriesf( 1.0, new Float32Array( [ 1.0, 0.5 ] ) ); // 1*T_0(1/2) + 0.5*T_1(1/2)
85+
* // returns 0.75
86+
*
87+
* @example
88+
* var Float32Array = require( '@stdlib/array/float32' );
89+
*
90+
* var evaluate = ns.chebyshevSeriesf.factory( new Float32Array( [ 1.0, 0.5 ] ) ); // 1*T_0(1/2) + 0.5*T_1(1/2)
91+
*
92+
* var v = evaluate( 1.0 );
93+
* // returns 0.75
94+
*/
95+
chebyshevSeriesf: typeof chebyshevSeriesf;
96+
3997
/**
4098
* Evaluates the continued fraction approximation for the supplied series generator using the modified Lentz algorithm.
4199
*

0 commit comments

Comments
 (0)