@stdlib/math-base-tools 0.0.6 → 0.2.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/LICENSE CHANGED
@@ -1,4 +1,3 @@
1
-
2
1
  Apache License
3
2
  Version 2.0, January 2004
4
3
  http://www.apache.org/licenses/
@@ -176,98 +175,12 @@
176
175
 
177
176
  END OF TERMS AND CONDITIONS
178
177
 
178
+ DEPENDENCIES & ATTRIBUTION
179
179
 
180
-
181
- Boost Software License - Version 1.0 - August 17th, 2003
182
-
183
- Permission is hereby granted, free of charge, to any person or organization
184
- obtaining a copy of the software and accompanying documentation covered by this
185
- license (the "Software") to use, reproduce, display, distribute, execute, and
186
- transmit the Software, and to prepare derivative works of the Software, and to
187
- permit third-parties to whom the Software is furnished to do so, all subject to
188
- the following:
189
-
190
- The copyright notices in the Software and this entire statement, including the
191
- above license grant, this restriction and the following disclaimer, must be
192
- included in all copies of the Software, in whole or in part, and all derivative
193
- works of the Software, unless such copies or derivative works are solely in the
194
- form of machine-executable object code generated by a source language processor.
195
-
196
- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
197
- IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
198
- FOR A PARTICULAR PURPOSE, TITLE AND NON-INFRINGEMENT. IN NO EVENT SHALL THE
199
- COPYRIGHT HOLDERS OR ANYONE DISTRIBUTING THE SOFTWARE BE LIABLE FOR ANY DAMAGES
200
- OR OTHER LIABILITY, WHETHER IN CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF
201
- OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
202
-
203
-
204
-
205
-
206
- DEPENDENCIES
207
-
208
- The library links against the following external libraries, which have their own
180
+ The library links against the following external libraries or contains
181
+ implementations from the following external libraries, which have their own
209
182
  licenses:
210
183
 
211
- * OpenBLAS <https://raw.githubusercontent.com/xianyi/OpenBLAS/
212
- def146efed8d5908ea04e22668feeab7099599a0/LICENSE>
213
-
214
- Copyright (c) 2011-2014, The OpenBLAS Project
215
- All rights reserved.
216
-
217
- Redistribution and use in source and binary forms, with or without
218
- modification, are permitted provided that the following conditions are
219
- met:
220
-
221
- 1. Redistributions of source code must retain the above copyright
222
- notice, this list of conditions and the following disclaimer.
223
-
224
- 2. Redistributions in binary form must reproduce the above copyright
225
- notice, this list of conditions and the following disclaimer in
226
- the documentation and/or other materials provided with the
227
- distribution.
228
-
229
- 3. Neither the name of the OpenBLAS project nor the names of
230
- its contributors may be used to endorse or promote products
231
- derived from this software without specific prior written
232
- permission.
233
-
234
- THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
235
- AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
236
- IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
237
- ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
238
- LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
239
- CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE
240
- GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
241
- HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
242
- LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF
243
- THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
244
-
245
-
246
- * Electron <https://raw.githubusercontent.com/electron/electron/
247
- c4cfb3e7110266b9d7ad80e1ae097c4db564501c/LICENSE>
248
-
249
- Copyright (c) 2013-2017 GitHub Inc.
250
-
251
- Permission is hereby granted, free of charge, to any person obtaining
252
- a copy of this software and associated documentation files (the
253
- "Software"), to deal in the Software without restriction, including
254
- without limitation the rights to use, copy, modify, merge, publish,
255
- distribute, sublicense, and/or sell copies of the Software, and to
256
- permit persons to whom the Software is furnished to do so, subject to
257
- the following conditions:
258
-
259
- The above copyright notice and this permission notice shall be
260
- included in all copies or substantial portions of the Software.
261
-
262
- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
263
- EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
264
- MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
265
- NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
266
- LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
267
- OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
268
- WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
269
-
270
-
271
184
  * Boost <http://www.boost.org/LICENSE_1_0.txt>
272
185
 
273
186
  Boost Software License - Version 1.0 - August 17th, 2003
@@ -294,188 +207,3 @@ FOR ANY DAMAGES OR OTHER LIABILITY, WHETHER IN CONTRACT, TORT OR OTHERWISE,
294
207
  ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
295
208
  DEALINGS IN THE SOFTWARE.
296
209
 
297
-
298
- * Cephes <http://www.netlib.org/cephes/readme>
299
-
300
- Copyright (c) 1984-2000 Stephen L. Moshier
301
-
302
- Some software in this archive may be from the book _Methods and Programs for
303
- Mathematical Functions_ (Prentice-Hall or Simon & Schuster International, 1989)
304
- or from the Cephes Mathematical Library, a commercial product. In either event,
305
- it is copyrighted by the author. What you see here may be used freely but it
306
- comes with no support or guarantee.
307
-
308
- Stephen L. Moshier
309
- moshier@na-net.ornl.gov
310
-
311
-
312
-
313
- ATTRIBUTION
314
-
315
- The library contains implementations from the following external libraries,
316
- which have their own licenses:
317
-
318
- * FreeBSD <https://svnweb.freebsd.org/>
319
-
320
- Copyright (C) 1993-2004 by Sun Microsystems, Inc. All rights reserved.
321
-
322
- Developed at SunPro, a Sun Microsystems, Inc. business.
323
- Permission to use, copy, modify, and distribute this
324
- software is freely granted, provided that this notice
325
- is preserved.
326
-
327
-
328
- * FDLIBM <http://www.netlib.org/fdlibm/>
329
-
330
- Copyright (C) 2004 by Sun Microsystems, Inc. All rights reserved.
331
-
332
- Developed at SunPro, a Sun Microsystems, Inc. business.
333
- Permission to use, copy, modify, and distribute this
334
- software is freely granted, provided that this notice
335
- is preserved.
336
-
337
-
338
- * Go <https://raw.githubusercontent.com/golang/go/master/LICENSE>
339
-
340
- Copyright (c) 2009 The Go Authors. All rights reserved.
341
-
342
- Redistribution and use in source and binary forms, with or without
343
- modification, are permitted provided that the following conditions are
344
- met:
345
-
346
- * Redistributions of source code must retain the above copyright
347
- notice, this list of conditions and the following disclaimer.
348
- * Redistributions in binary form must reproduce the above
349
- copyright notice, this list of conditions and the following disclaimer
350
- in the documentation and/or other materials provided with the
351
- distribution.
352
- * Neither the name of Google Inc. nor the names of its
353
- contributors may be used to endorse or promote products derived from
354
- this software without specific prior written permission.
355
-
356
- THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
357
- "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
358
- LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
359
- A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
360
- OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
361
- SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
362
- LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
363
- DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
364
- THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
365
- (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
366
- OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
367
-
368
-
369
- * SLATEC Common Mathematical Library <http://www.netlib.no/netlib/slatec/>
370
-
371
- Public domain.
372
-
373
-
374
- * ESLint <https://raw.githubusercontent.com/eslint/eslint/master/LICENSE>
375
-
376
- Copyright JS Foundation and other contributors, https://js.foundation
377
-
378
- Permission is hereby granted, free of charge, to any person obtaining a copy
379
- of this software and associated documentation files (the "Software"), to deal
380
- in the Software without restriction, including without limitation the rights
381
- to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
382
- copies of the Software, and to permit persons to whom the Software is
383
- furnished to do so, subject to the following conditions:
384
-
385
- The above copyright notice and this permission notice shall be included in
386
- all copies or substantial portions of the Software.
387
-
388
- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
389
- IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
390
- FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
391
- AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
392
- LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
393
- OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
394
- THE SOFTWARE.
395
-
396
-
397
- * StatsFuns.jl <https://raw.githubusercontent.com/JuliaStats/StatsFuns.jl/
398
- e66dd973650c375bc1739c820e5b96bb5bd000a8/LICENSE.md>
399
-
400
- Copyright (c) 2015: Dahua Lin.
401
-
402
- Permission is hereby granted, free of charge, to any person obtaining
403
- a copy of this software and associated documentation files (the
404
- "Software"), to deal in the Software without restriction, including
405
- without limitation the rights to use, copy, modify, merge, publish,
406
- distribute, sublicense, and/or sell copies of the Software, and to
407
- permit persons to whom the Software is furnished to do so, subject to
408
- the following conditions:
409
-
410
- The above copyright notice and this permission notice shall be
411
- included in all copies or substantial portions of the Software.
412
-
413
- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
414
- EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
415
- MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
416
- IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
417
- CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
418
- TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
419
- SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
420
-
421
-
422
- * SpecialFunctions.jl <https://raw.githubusercontent.com/JuliaMath/
423
- SpecialFunctions.jl/02a173fbe24a61c4b392aec17a9764ac5727feb1/LICENSE>
424
-
425
- The MIT License (MIT)
426
-
427
- Copyright (c) 2017 Jeff Bezanson, Stefan Karpinski, Viral B. Shah, and others:
428
-
429
- https://github.com/JuliaMath/SpecialFunctions.jl/graphs/contributors
430
-
431
- Permission is hereby granted, free of charge, to any person obtaining a copy
432
- of this software and associated documentation files (the "Software"), to deal
433
- in the Software without restriction, including without limitation the rights
434
- to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
435
- copies of the Software, and to permit persons to whom the Software is
436
- furnished to do so, subject to the following conditions:
437
-
438
- The above copyright notice and this permission notice shall be included in all
439
- copies or substantial portions of the Software.
440
-
441
- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
442
- IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
443
- FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
444
- AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
445
- LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
446
- OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
447
- SOFTWARE.
448
-
449
-
450
- * MT19937 <http://www.math.sci.hiroshima-u.ac.jp/~m-mat/MT/MT2002/CODES/
451
- mt19937ar.c>
452
-
453
- Copyright (C) 1997 - 2002, Makoto Matsumoto and Takuji Nishimura,
454
- All rights reserved.
455
-
456
- Redistribution and use in source and binary forms, with or without
457
- modification, are permitted provided that the following conditions
458
- are met:
459
-
460
- 1. Redistributions of source code must retain the above copyright
461
- notice, this list of conditions and the following disclaimer.
462
-
463
- 2. Redistributions in binary form must reproduce the above copyright
464
- notice, this list of conditions and the following disclaimer in the
465
- documentation and/or other materials provided with the distribution.
466
-
467
- 3. The names of its contributors may not be used to endorse or promote
468
- products derived from this software without specific prior written
469
- permission.
470
-
471
- THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
472
- "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
473
- LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
474
- A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
475
- OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
476
- SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
477
- LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
478
- DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
479
- THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
480
- (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
481
- OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
package/NOTICE CHANGED
@@ -1 +1 @@
1
- Copyright (c) 2016-2022 The Stdlib Authors.
1
+ Copyright (c) 2016-2024 The Stdlib Authors.
package/README.md CHANGED
@@ -18,6 +18,17 @@ limitations under the License.
18
18
 
19
19
  -->
20
20
 
21
+
22
+ <details>
23
+ <summary>
24
+ About stdlib...
25
+ </summary>
26
+ <p>We believe in a future in which the web is a preferred environment for numerical computation. To help realize this future, we've built stdlib. stdlib is a standard library, with an emphasis on numerical and scientific computation, written in JavaScript (and C) for execution in browsers and in Node.js.</p>
27
+ <p>The library is fully decomposable, being architected in such a way that you can swap out and mix and match APIs and functionality to cater to your exact preferences and use cases.</p>
28
+ <p>When you use stdlib, you can be absolutely certain that you are using the most thorough, rigorous, well-written, studied, documented, tested, measured, and high-quality code out there.</p>
29
+ <p>To join us in bringing numerical computing to the web, get started by checking us out on <a href="https://github.com/stdlib-js/stdlib">GitHub</a>, and please consider <a href="https://opencollective.com/stdlib">financially supporting stdlib</a>. We greatly appreciate your continued support!</p>
30
+ </details>
31
+
21
32
  # Tools
22
33
 
23
34
  [![NPM version][npm-image]][npm-url] [![Build Status][test-image]][test-url] [![Coverage Status][coverage-image]][coverage-url] <!-- [![dependencies][dependencies-image]][dependencies-url] -->
@@ -125,7 +136,7 @@ See [LICENSE][stdlib-license].
125
136
 
126
137
  ## Copyright
127
138
 
128
- Copyright &copy; 2016-2022. The Stdlib [Authors][stdlib-authors].
139
+ Copyright &copy; 2016-2024. The Stdlib [Authors][stdlib-authors].
129
140
 
130
141
  </section>
131
142
 
@@ -138,8 +149,8 @@ Copyright &copy; 2016-2022. The Stdlib [Authors][stdlib-authors].
138
149
  [npm-image]: http://img.shields.io/npm/v/@stdlib/math-base-tools.svg
139
150
  [npm-url]: https://npmjs.org/package/@stdlib/math-base-tools
140
151
 
141
- [test-image]: https://github.com/stdlib-js/math-base-tools/actions/workflows/test.yml/badge.svg
142
- [test-url]: https://github.com/stdlib-js/math-base-tools/actions/workflows/test.yml
152
+ [test-image]: https://github.com/stdlib-js/math-base-tools/actions/workflows/test.yml/badge.svg?branch=v0.2.0
153
+ [test-url]: https://github.com/stdlib-js/math-base-tools/actions/workflows/test.yml?query=branch:v0.2.0
143
154
 
144
155
  [coverage-image]: https://img.shields.io/codecov/c/github/stdlib-js/math-base-tools/main.svg
145
156
  [coverage-url]: https://codecov.io/github/stdlib-js/math-base-tools?branch=main
@@ -151,19 +162,23 @@ Copyright &copy; 2016-2022. The Stdlib [Authors][stdlib-authors].
151
162
 
152
163
  -->
153
164
 
165
+ [chat-image]: https://img.shields.io/gitter/room/stdlib-js/stdlib.svg
166
+ [chat-url]: https://app.gitter.im/#/room/#stdlib-js_stdlib:gitter.im
167
+
168
+ [stdlib]: https://github.com/stdlib-js/stdlib
169
+
170
+ [stdlib-authors]: https://github.com/stdlib-js/stdlib/graphs/contributors
171
+
154
172
  [umd]: https://github.com/umdjs/umd
155
173
  [es-module]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Guide/Modules
156
174
 
157
175
  [deno-url]: https://github.com/stdlib-js/math-base-tools/tree/deno
176
+ [deno-readme]: https://github.com/stdlib-js/math-base-tools/blob/deno/README.md
158
177
  [umd-url]: https://github.com/stdlib-js/math-base-tools/tree/umd
178
+ [umd-readme]: https://github.com/stdlib-js/math-base-tools/blob/umd/README.md
159
179
  [esm-url]: https://github.com/stdlib-js/math-base-tools/tree/esm
160
-
161
- [chat-image]: https://img.shields.io/gitter/room/stdlib-js/stdlib.svg
162
- [chat-url]: https://gitter.im/stdlib-js/stdlib/
163
-
164
- [stdlib]: https://github.com/stdlib-js/stdlib
165
-
166
- [stdlib-authors]: https://github.com/stdlib-js/stdlib/graphs/contributors
180
+ [esm-readme]: https://github.com/stdlib-js/math-base-tools/blob/esm/README.md
181
+ [branches-url]: https://github.com/stdlib-js/math-base-tools/blob/main/branches.md
167
182
 
168
183
  [stdlib-license]: https://raw.githubusercontent.com/stdlib-js/math-base-tools/main/LICENSE
169
184
 
package/SECURITY.md ADDED
@@ -0,0 +1,5 @@
1
+ # Security
2
+
3
+ > Policy for reporting security vulnerabilities.
4
+
5
+ See the security policy [in the main project repository](https://github.com/stdlib-js/stdlib/security).
@@ -0,0 +1,3 @@
1
+ /// <reference path="../docs/types/index.d.ts" />
2
+ import ns from '../docs/types/index';
3
+ export = ns;
package/dist/index.js ADDED
@@ -0,0 +1,3 @@
1
+ "use strict";var r=require('@stdlib/utils-define-read-only-property/dist'),e={};r(e,"continuedFraction",require('@stdlib/math-base-tools-continued-fraction/dist'));r(e,"evalpoly",require('@stdlib/math-base-tools-evalpoly/dist'));r(e,"evalrational",require('@stdlib/math-base-tools-evalrational/dist'));r(e,"fibpoly",require('@stdlib/math-base-tools-fibpoly/dist'));r(e,"hermitepoly",require('@stdlib/math-base-tools-hermitepoly/dist'));r(e,"lucaspoly",require('@stdlib/math-base-tools-lucaspoly/dist'));r(e,"normhermitepoly",require('@stdlib/math-base-tools-normhermitepoly/dist'));r(e,"sumSeries",require('@stdlib/math-base-tools-sum-series/dist'));module.exports=e;
2
+ /** @license Apache-2.0 */
3
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1,7 @@
1
+ {
2
+ "version": 3,
3
+ "sources": ["../lib/index.js"],
4
+ "sourcesContent": ["/**\n* @license Apache-2.0\n*\n* Copyright (c) 2018 The Stdlib Authors.\n*\n* Licensed under the Apache License, Version 2.0 (the \"License\");\n* you may not use this file except in compliance with the License.\n* You may obtain a copy of the License at\n*\n* http://www.apache.org/licenses/LICENSE-2.0\n*\n* Unless required by applicable law or agreed to in writing, software\n* distributed under the License is distributed on an \"AS IS\" BASIS,\n* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n* See the License for the specific language governing permissions and\n* limitations under the License.\n*/\n\n'use strict';\n\n/*\n* When adding modules to the namespace, ensure that they are added in alphabetical order according to module name.\n*/\n\n/*\n* The following modules are intentionally not exported: evalpoly-compile, evalpoly-compile-c, evalrational-compile, evalrational-compile-c\n*/\n\n// MODULES //\n\nvar setReadOnly = require( '@stdlib/utils-define-read-only-property' );\n\n\n// MAIN //\n\n/**\n* Top-level namespace.\n*\n* @namespace ns\n*/\nvar ns = {};\n\n/**\n* @name continuedFraction\n* @memberof ns\n* @readonly\n* @type {Function}\n* @see {@link module:@stdlib/math/base/tools/continued-fraction}\n*/\nsetReadOnly( ns, 'continuedFraction', require( '@stdlib/math-base-tools-continued-fraction' ) );\n\n/**\n* @name evalpoly\n* @memberof tools\n* @readonly\n* @type {Function}\n* @see {@link module:@stdlib/math/base/tools/evalpoly}\n*/\nsetReadOnly( ns, 'evalpoly', require( '@stdlib/math-base-tools-evalpoly' ) );\n\n/**\n* @name evalrational\n* @memberof ns\n* @readonly\n* @type {Function}\n* @see {@link module:@stdlib/math/base/tools/evalrational}\n*/\nsetReadOnly( ns, 'evalrational', require( '@stdlib/math-base-tools-evalrational' ) );\n\n/**\n* @name fibpoly\n* @memberof ns\n* @readonly\n* @type {Function}\n* @see {@link module:@stdlib/math/base/tools/fibpoly}\n*/\nsetReadOnly( ns, 'fibpoly', require( '@stdlib/math-base-tools-fibpoly' ) );\n\n/**\n* @name hermitepoly\n* @memberof ns\n* @readonly\n* @type {Function}\n* @see {@link module:@stdlib/math/base/tools/hermitepoly}\n*/\nsetReadOnly( ns, 'hermitepoly', require( '@stdlib/math-base-tools-hermitepoly' ) );\n\n/**\n* @name lucaspoly\n* @memberof ns\n* @readonly\n* @type {Function}\n* @see {@link module:@stdlib/math/base/tools/lucaspoly}\n*/\nsetReadOnly( ns, 'lucaspoly', require( '@stdlib/math-base-tools-lucaspoly' ) );\n\n/**\n* @name normhermitepoly\n* @memberof ns\n* @readonly\n* @type {Function}\n* @see {@link module:@stdlib/math/base/tools/normhermitepoly}\n*/\nsetReadOnly( ns, 'normhermitepoly', require( '@stdlib/math-base-tools-normhermitepoly' ) );\n\n/**\n* @name sumSeries\n* @memberof ns\n* @readonly\n* @type {Function}\n* @see {@link module:@stdlib/math/base/tools/sum-series}\n*/\nsetReadOnly( ns, 'sumSeries', require( '@stdlib/math-base-tools-sum-series' ) );\n\n\n// EXPORTS //\n\nmodule.exports = ns;\n"],
5
+ "mappings": "aA8BA,IAAIA,EAAc,QAAS,yCAA0C,EAUjEC,EAAK,CAAC,EASVD,EAAaC,EAAI,oBAAqB,QAAS,4CAA6C,CAAE,EAS9FD,EAAaC,EAAI,WAAY,QAAS,kCAAmC,CAAE,EAS3ED,EAAaC,EAAI,eAAgB,QAAS,sCAAuC,CAAE,EASnFD,EAAaC,EAAI,UAAW,QAAS,iCAAkC,CAAE,EASzED,EAAaC,EAAI,cAAe,QAAS,qCAAsC,CAAE,EASjFD,EAAaC,EAAI,YAAa,QAAS,mCAAoC,CAAE,EAS7ED,EAAaC,EAAI,kBAAmB,QAAS,yCAA0C,CAAE,EASzFD,EAAaC,EAAI,YAAa,QAAS,oCAAqC,CAAE,EAK9E,OAAO,QAAUA",
6
+ "names": ["setReadOnly", "ns"]
7
+ }
@@ -16,10 +16,9 @@
16
16
  * limitations under the License.
17
17
  */
18
18
 
19
- // TypeScript Version: 2.0
19
+ // TypeScript Version: 4.1
20
20
 
21
- /* tslint:disable:max-line-length */
22
- /* tslint:disable:max-file-line-count */
21
+ /* eslint-disable max-lines */
23
22
 
24
23
  import continuedFraction = require( '@stdlib/math-base-tools-continued-fraction' );
25
24
  import evalpoly = require( '@stdlib/math-base-tools-evalpoly' );
@@ -227,7 +226,7 @@ interface Namespace {
227
226
  * @returns sum of all series terms
228
227
  *
229
228
  * @example
230
- * var pow = require( `@stdlib/math/base/special/pow` );
229
+ * var pow = require( '@stdlib/math-base-special-pow' );
231
230
  * var gen = geometricSeriesGenerator( 0.9 );
232
231
  * var out = ns.sumSeries( gen );
233
232
  * // returns 10.0
package/lib/index.js CHANGED
@@ -22,6 +22,10 @@
22
22
  * When adding modules to the namespace, ensure that they are added in alphabetical order according to module name.
23
23
  */
24
24
 
25
+ /*
26
+ * The following modules are intentionally not exported: evalpoly-compile, evalpoly-compile-c, evalrational-compile, evalrational-compile-c
27
+ */
28
+
25
29
  // MODULES //
26
30
 
27
31
  var setReadOnly = require( '@stdlib/utils-define-read-only-property' );
@@ -32,18 +36,18 @@ var setReadOnly = require( '@stdlib/utils-define-read-only-property' );
32
36
  /**
33
37
  * Top-level namespace.
34
38
  *
35
- * @namespace tools
39
+ * @namespace ns
36
40
  */
37
- var tools = {};
41
+ var ns = {};
38
42
 
39
43
  /**
40
44
  * @name continuedFraction
41
- * @memberof tools
45
+ * @memberof ns
42
46
  * @readonly
43
47
  * @type {Function}
44
48
  * @see {@link module:@stdlib/math/base/tools/continued-fraction}
45
49
  */
46
- setReadOnly( tools, 'continuedFraction', require( '@stdlib/math-base-tools-continued-fraction' ) );
50
+ setReadOnly( ns, 'continuedFraction', require( '@stdlib/math-base-tools-continued-fraction' ) );
47
51
 
48
52
  /**
49
53
  * @name evalpoly
@@ -52,63 +56,63 @@ setReadOnly( tools, 'continuedFraction', require( '@stdlib/math-base-tools-conti
52
56
  * @type {Function}
53
57
  * @see {@link module:@stdlib/math/base/tools/evalpoly}
54
58
  */
55
- setReadOnly( tools, 'evalpoly', require( '@stdlib/math-base-tools-evalpoly' ) );
59
+ setReadOnly( ns, 'evalpoly', require( '@stdlib/math-base-tools-evalpoly' ) );
56
60
 
57
61
  /**
58
62
  * @name evalrational
59
- * @memberof tools
63
+ * @memberof ns
60
64
  * @readonly
61
65
  * @type {Function}
62
66
  * @see {@link module:@stdlib/math/base/tools/evalrational}
63
67
  */
64
- setReadOnly( tools, 'evalrational', require( '@stdlib/math-base-tools-evalrational' ) );
68
+ setReadOnly( ns, 'evalrational', require( '@stdlib/math-base-tools-evalrational' ) );
65
69
 
66
70
  /**
67
71
  * @name fibpoly
68
- * @memberof tools
72
+ * @memberof ns
69
73
  * @readonly
70
74
  * @type {Function}
71
75
  * @see {@link module:@stdlib/math/base/tools/fibpoly}
72
76
  */
73
- setReadOnly( tools, 'fibpoly', require( '@stdlib/math-base-tools-fibpoly' ) );
77
+ setReadOnly( ns, 'fibpoly', require( '@stdlib/math-base-tools-fibpoly' ) );
74
78
 
75
79
  /**
76
80
  * @name hermitepoly
77
- * @memberof tools
81
+ * @memberof ns
78
82
  * @readonly
79
83
  * @type {Function}
80
84
  * @see {@link module:@stdlib/math/base/tools/hermitepoly}
81
85
  */
82
- setReadOnly( tools, 'hermitepoly', require( '@stdlib/math-base-tools-hermitepoly' ) );
86
+ setReadOnly( ns, 'hermitepoly', require( '@stdlib/math-base-tools-hermitepoly' ) );
83
87
 
84
88
  /**
85
89
  * @name lucaspoly
86
- * @memberof tools
90
+ * @memberof ns
87
91
  * @readonly
88
92
  * @type {Function}
89
93
  * @see {@link module:@stdlib/math/base/tools/lucaspoly}
90
94
  */
91
- setReadOnly( tools, 'lucaspoly', require( '@stdlib/math-base-tools-lucaspoly' ) );
95
+ setReadOnly( ns, 'lucaspoly', require( '@stdlib/math-base-tools-lucaspoly' ) );
92
96
 
93
97
  /**
94
98
  * @name normhermitepoly
95
- * @memberof tools
99
+ * @memberof ns
96
100
  * @readonly
97
101
  * @type {Function}
98
102
  * @see {@link module:@stdlib/math/base/tools/normhermitepoly}
99
103
  */
100
- setReadOnly( tools, 'normhermitepoly', require( '@stdlib/math-base-tools-normhermitepoly' ) );
104
+ setReadOnly( ns, 'normhermitepoly', require( '@stdlib/math-base-tools-normhermitepoly' ) );
101
105
 
102
106
  /**
103
107
  * @name sumSeries
104
- * @memberof tools
108
+ * @memberof ns
105
109
  * @readonly
106
110
  * @type {Function}
107
111
  * @see {@link module:@stdlib/math/base/tools/sum-series}
108
112
  */
109
- setReadOnly( tools, 'sumSeries', require( '@stdlib/math-base-tools-sum-series' ) );
113
+ setReadOnly( ns, 'sumSeries', require( '@stdlib/math-base-tools-sum-series' ) );
110
114
 
111
115
 
112
116
  // EXPORTS //
113
117
 
114
- module.exports = tools;
118
+ module.exports = ns;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@stdlib/math-base-tools",
3
- "version": "0.0.6",
3
+ "version": "0.2.0",
4
4
  "description": "Base math tools.",
5
5
  "license": "Apache-2.0",
6
6
  "author": {
@@ -36,53 +36,56 @@
36
36
  "url": "https://github.com/stdlib-js/stdlib/issues"
37
37
  },
38
38
  "dependencies": {
39
- "@stdlib/math-base-tools-continued-fraction": "^0.0.x",
40
- "@stdlib/math-base-tools-evalpoly": "^0.0.x",
41
- "@stdlib/math-base-tools-evalrational": "^0.0.x",
42
- "@stdlib/math-base-tools-fibpoly": "^0.0.x",
43
- "@stdlib/math-base-tools-hermitepoly": "^0.0.x",
44
- "@stdlib/math-base-tools-lucaspoly": "^0.0.x",
45
- "@stdlib/math-base-tools-normhermitepoly": "^0.0.x",
46
- "@stdlib/math-base-tools-sum-series": "^0.0.x",
47
- "@stdlib/utils-define-read-only-property": "^0.0.x"
39
+ "@stdlib/math-base-tools-continued-fraction": "^0.2.0",
40
+ "@stdlib/math-base-tools-evalpoly": "^0.2.0",
41
+ "@stdlib/math-base-tools-evalrational": "^0.2.0",
42
+ "@stdlib/math-base-tools-fibpoly": "^0.2.0",
43
+ "@stdlib/math-base-tools-hermitepoly": "^0.2.0",
44
+ "@stdlib/math-base-tools-lucaspoly": "^0.2.0",
45
+ "@stdlib/math-base-tools-normhermitepoly": "^0.2.0",
46
+ "@stdlib/math-base-tools-sum-series": "^0.2.0",
47
+ "@stdlib/utils-define-read-only-property": "^0.2.0"
48
48
  },
49
49
  "devDependencies": {
50
- "@stdlib/array-float64": "^0.0.x",
51
- "@stdlib/assert-has-generator-support": "^0.0.x",
52
- "@stdlib/assert-is-browser": "^0.0.x",
53
- "@stdlib/assert-is-integer": "^0.0.x",
54
- "@stdlib/assert-is-string": "^0.0.x",
55
- "@stdlib/bench": "^0.0.x",
56
- "@stdlib/constants-float32-smallest-normal": "^0.0.x",
57
- "@stdlib/constants-float64-eps": "^0.0.x",
58
- "@stdlib/constants-float64-sqrt-two": "^0.0.x",
59
- "@stdlib/fs-read-file": "^0.0.x",
60
- "@stdlib/math-base-assert-is-integer": "^0.0.x",
61
- "@stdlib/math-base-assert-is-nan": "^0.0.x",
62
- "@stdlib/math-base-special-abs": "^0.0.x",
63
- "@stdlib/math-base-special-binomcoef": "^0.0.x",
64
- "@stdlib/math-base-special-ceil": "^0.0.x",
65
- "@stdlib/math-base-special-fibonacci": "^0.0.x",
66
- "@stdlib/math-base-special-floor": "^0.0.x",
67
- "@stdlib/math-base-special-log1p": "^0.0.x",
68
- "@stdlib/math-base-special-lucas": "^0.0.x",
69
- "@stdlib/math-base-special-negafibonacci": "^0.0.x",
70
- "@stdlib/math-base-special-negalucas": "^0.0.x",
71
- "@stdlib/math-base-special-pow": "^0.0.x",
72
- "@stdlib/math-base-special-round": "^0.0.x",
73
- "@stdlib/math-base-special-tan": "^0.0.x",
74
- "@stdlib/random-base-discrete-uniform": "^0.0.x",
75
- "@stdlib/random-base-randu": "^0.0.x",
76
- "@stdlib/string-replace": "^0.0.x",
77
- "@stdlib/utils-constant-function": "^0.0.x",
78
- "@stdlib/utils-define-nonenumerable-read-only-property": "^0.0.x",
79
- "@stdlib/utils-eval": "^0.0.x",
80
- "@stdlib/utils-keys": "^0.0.x",
81
- "@stdlib/utils-try-require": "^0.0.x",
50
+ "@stdlib/array-float64": "^0.1.1",
51
+ "@stdlib/assert-has-generator-support": "^0.1.1",
52
+ "@stdlib/assert-is-browser": "^0.1.1",
53
+ "@stdlib/assert-is-integer": "^0.1.0",
54
+ "@stdlib/assert-is-string": "^0.1.1",
55
+ "@stdlib/constants-float32-smallest-normal": "^0.2.0",
56
+ "@stdlib/constants-float64-eps": "^0.1.1",
57
+ "@stdlib/constants-float64-sqrt-two": "^0.2.0",
58
+ "@stdlib/fs-read-file": "^0.1.1",
59
+ "@stdlib/function-ctor": "^0.2.0",
60
+ "@stdlib/math-base-assert-is-integer": "^0.1.1",
61
+ "@stdlib/math-base-assert-is-nan": "^0.1.1",
62
+ "@stdlib/math-base-special-abs": "^0.1.1",
63
+ "@stdlib/math-base-special-binomcoef": "^0.2.0",
64
+ "@stdlib/math-base-special-ceil": "^0.1.1",
65
+ "@stdlib/math-base-special-fibonacci": "^0.1.0",
66
+ "@stdlib/math-base-special-floor": "^0.1.1",
67
+ "@stdlib/math-base-special-log1p": "^0.2.0",
68
+ "@stdlib/math-base-special-lucas": "^0.2.0",
69
+ "@stdlib/math-base-special-negafibonacci": "^0.1.0",
70
+ "@stdlib/math-base-special-negalucas": "^0.1.0",
71
+ "@stdlib/math-base-special-pow": "^0.1.0",
72
+ "@stdlib/math-base-special-round": "^0.1.1",
73
+ "@stdlib/math-base-special-tan": "^0.1.0",
74
+ "@stdlib/random-base-discrete-uniform": "^0.1.0",
75
+ "@stdlib/random-base-randu": "^0.1.0",
76
+ "@stdlib/string-base-uppercase": "^0.2.0",
77
+ "@stdlib/string-replace": "^0.1.1",
78
+ "@stdlib/utils-constant-function": "^0.2.0",
79
+ "@stdlib/utils-define-nonenumerable-read-only-property": "^0.2.0",
80
+ "@stdlib/utils-eval": "^0.2.0",
81
+ "@stdlib/utils-keys": "^0.1.0",
82
+ "@stdlib/utils-try-require": "^0.2.0",
82
83
  "proxyquire": "^2.0.0",
83
84
  "tape": "git+https://github.com/kgryte/tape.git#fix/globby",
84
85
  "istanbul": "^0.4.1",
85
- "tap-spec": "5.x.x"
86
+ "tap-min": "git+https://github.com/Planeshifter/tap-min.git",
87
+ "@stdlib/bench-harness": "^0.2.0",
88
+ "@stdlib/bench": "^0.3.1"
86
89
  },
87
90
  "engines": {
88
91
  "node": ">=0.10.0",
@@ -113,7 +116,7 @@
113
116
  "tools"
114
117
  ],
115
118
  "funding": {
116
- "type": "patreon",
117
- "url": "https://www.patreon.com/athan"
119
+ "type": "opencollective",
120
+ "url": "https://opencollective.com/stdlib"
118
121
  }
119
122
  }
@@ -1,29 +0,0 @@
1
- /*
2
- * @license Apache-2.0
3
- *
4
- * Copyright (c) 2021 The Stdlib Authors.
5
- *
6
- * Licensed under the Apache License, Version 2.0 (the "License");
7
- * you may not use this file except in compliance with the License.
8
- * You may obtain a copy of the License at
9
- *
10
- * http://www.apache.org/licenses/LICENSE-2.0
11
- *
12
- * Unless required by applicable law or agreed to in writing, software
13
- * distributed under the License is distributed on an "AS IS" BASIS,
14
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15
- * See the License for the specific language governing permissions and
16
- * limitations under the License.
17
- */
18
-
19
- /* tslint:disable:no-unused-expression */
20
-
21
- import tools = require( './index' );
22
-
23
-
24
- // TESTS //
25
-
26
- // The exported value is the expected interface...
27
- {
28
- tools; // $ExpectType Namespace
29
- }