Skip to content

Commit 36b03b2

Browse files
committed
Auto-generated commit
1 parent 10092df commit 36b03b2

File tree

780 files changed

+15757
-2926
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

780 files changed

+15757
-2926
lines changed

Diff for: .editorconfig

+5
Original file line numberDiff line numberDiff line change
@@ -179,3 +179,8 @@ indent_size = 2
179179
[*.gypi]
180180
indent_style = space
181181
indent_size = 2
182+
183+
# Set properties for citation files:
184+
[*.{cff,cff.txt}]
185+
indent_style = space
186+
indent_size = 2

Diff for: .github/workflows/productionize.yml

-15
Original file line numberDiff line numberDiff line change
@@ -82,21 +82,6 @@ jobs:
8282
id: transform-error-messages
8383
uses: stdlib-js/transform-errors-action@main
8484

85-
# Format error messages:
86-
- name: 'Replace double quotes with single quotes in rewritten format string error messages'
87-
run: |
88-
find . -name "*.js" -exec sed -E -i "s/Error\( format\( \"([a-zA-Z0-9]+)\"/Error\( format\( '\1'/g" {} \;
89-
90-
# Format string literal error messages:
91-
- name: 'Replace double quotes with single quotes in rewritten string literal error messages'
92-
run: |
93-
find . -name "*.js" -exec sed -E -i "s/Error\( format\(\"([a-zA-Z0-9]+)\"\)/Error\( format\( '\1' \)/g" {} \;
94-
95-
# Format code:
96-
- name: 'Replace double quotes with single quotes in inserted `require` calls'
97-
run: |
98-
find . -name "*.js" -exec sed -E -i "s/require\( ?\"@stdlib\/error-tools-fmtprodmsg\" ?\);/require\( '@stdlib\/error-tools-fmtprodmsg' \);/g" {} \;
99-
10085
# Change `@stdlib/string-format` to `@stdlib/error-tools-fmtprodmsg` in package.json if the former is a dependency, otherwise insert it as a dependency:
10186
- name: 'Update dependencies in package.json'
10287
run: |

Diff for: CITATION.cff

+30
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
cff-version: 1.2.0
2+
title: stdlib
3+
message: >-
4+
If you use this software, please cite it using the
5+
metadata from this file.
6+
7+
type: software
8+
9+
authors:
10+
- name: The Stdlib Authors
11+
url: https://github.com/stdlib-js/stdlib/graphs/contributors
12+
13+
repository-code: https://github.com/stdlib-js/stdlib
14+
url: https://stdlib.io
15+
16+
abstract: |
17+
Standard library for JavaScript and Node.js.
18+
19+
keywords:
20+
- JavaScript
21+
- Node.js
22+
- TypeScript
23+
- standard library
24+
- scientific computing
25+
- numerical computing
26+
- statistical computing
27+
28+
license: Apache-2.0 AND BSL-1.0
29+
30+
date-released: 2016

Diff for: LICENSE

+36-36
Original file line numberDiff line numberDiff line change
@@ -229,9 +229,39 @@ comes with no support or guarantee.
229229
Stephen L. Moshier
230230
231231

232-
* FDLIBM <http://www.netlib.org/fdlibm/>
232+
* Go <https://raw.githubusercontent.com/golang/go/master/LICENSE>
233233

234-
Copyright (C) 2004 by Sun Microsystems, Inc. All rights reserved.
234+
Copyright (c) 2009 The Go Authors. All rights reserved.
235+
236+
Redistribution and use in source and binary forms, with or without
237+
modification, are permitted provided that the following conditions are
238+
met:
239+
240+
* Redistributions of source code must retain the above copyright
241+
notice, this list of conditions and the following disclaimer.
242+
* Redistributions in binary form must reproduce the above
243+
copyright notice, this list of conditions and the following disclaimer
244+
in the documentation and/or other materials provided with the
245+
distribution.
246+
* Neither the name of Google Inc. nor the names of its
247+
contributors may be used to endorse or promote products derived from
248+
this software without specific prior written permission.
249+
250+
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
251+
"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
252+
LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
253+
A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
254+
OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
255+
SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
256+
LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
257+
DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
258+
THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
259+
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
260+
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
261+
262+
* SLATEC Common Mathematical Library <http://www.netlib.no/netlib/slatec/>
263+
264+
Public domain.
235265

236266
* SpecialFunctions.jl <https://raw.githubusercontent.com/JuliaMath/
237267
SpecialFunctions.jl/02a173fbe24a61c4b392aec17a9764ac5727feb1/LICENSE>
@@ -260,6 +290,10 @@ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
260290
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
261291
SOFTWARE.
262292

293+
* FDLIBM <http://www.netlib.org/fdlibm/>
294+
295+
Copyright (C) 2004 by Sun Microsystems, Inc. All rights reserved.
296+
263297
* Faddeeva <http://ab-initio.mit.edu/wiki/index.php/Faddeeva_Package#License>
264298

265299
Copyright (c) 2012 Massachusetts Institute of Technology
@@ -283,40 +317,6 @@ LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
283317
OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
284318
WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
285319

286-
* Go <https://raw.githubusercontent.com/golang/go/master/LICENSE>
287-
288-
Copyright (c) 2009 The Go Authors. All rights reserved.
289-
290-
Redistribution and use in source and binary forms, with or without
291-
modification, are permitted provided that the following conditions are
292-
met:
293-
294-
* Redistributions of source code must retain the above copyright
295-
notice, this list of conditions and the following disclaimer.
296-
* Redistributions in binary form must reproduce the above
297-
copyright notice, this list of conditions and the following disclaimer
298-
in the documentation and/or other materials provided with the
299-
distribution.
300-
* Neither the name of Google Inc. nor the names of its
301-
contributors may be used to endorse or promote products derived from
302-
this software without specific prior written permission.
303-
304-
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
305-
"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
306-
LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
307-
A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
308-
OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
309-
SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
310-
LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
311-
DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
312-
THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
313-
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
314-
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
315-
316-
* SLATEC Common Mathematical Library <http://www.netlib.no/netlib/slatec/>
317-
318-
Public domain.
319-
320320
Developed at SunPro, a Sun Microsystems, Inc. business.
321321
Permission to use, copy, modify, and distribute this
322322
software is freely granted, provided that this notice

Diff for: README.md

+11
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,17 @@ limitations under the License.
1818
1919
-->
2020

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+
2132
# Math
2233

2334
[![NPM version][npm-image]][npm-url] [![Build Status][test-image]][test-url] [![Coverage Status][coverage-image]][coverage-url] <!-- [![dependencies][dependencies-image]][dependencies-url] -->

Diff for: base/assert/docs/types/index.d.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
* limitations under the License.
1717
*/
1818

19-
// TypeScript Version: 2.0
19+
// TypeScript Version: 4.1
2020

2121
/* tslint:disable:max-line-length */
2222
/* tslint:disable:max-file-line-count */

Diff for: base/assert/int32-is-even/docs/types/index.d.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
* limitations under the License.
1717
*/
1818

19-
// TypeScript Version: 2.0
19+
// TypeScript Version: 4.1
2020

2121
/**
2222
* Tests if a 32-bit integer is even.

Diff for: base/assert/int32-is-odd/docs/types/index.d.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
* limitations under the License.
1717
*/
1818

19-
// TypeScript Version: 2.0
19+
// TypeScript Version: 4.1
2020

2121
/**
2222
* Tests if a 32-bit integer is odd.

Diff for: base/assert/is-composite/docs/types/index.d.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
* limitations under the License.
1717
*/
1818

19-
// TypeScript Version: 2.0
19+
// TypeScript Version: 4.1
2020

2121
/**
2222
* Tests if a number is composite.

Diff for: base/assert/is-coprime/docs/types/index.d.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
* limitations under the License.
1717
*/
1818

19-
// TypeScript Version: 2.0
19+
// TypeScript Version: 4.1
2020

2121
/**
2222
* Tests if two numbers are coprime.

Diff for: base/assert/is-even/docs/types/index.d.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
* limitations under the License.
1717
*/
1818

19-
// TypeScript Version: 2.0
19+
// TypeScript Version: 4.1
2020

2121
/**
2222
* Tests if a finite numeric value is an even number.

Diff for: base/assert/is-finite/docs/types/index.d.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
* limitations under the License.
1717
*/
1818

19-
// TypeScript Version: 2.0
19+
// TypeScript Version: 4.1
2020

2121
/**
2222
* Tests if a double-precision floating-point numeric value is finite.

Diff for: base/assert/is-finitef/docs/types/index.d.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
* limitations under the License.
1717
*/
1818

19-
// TypeScript Version: 2.0
19+
// TypeScript Version: 4.1
2020

2121
/**
2222
* Tests if a single-precision floating-point numeric value is finite.

Diff for: base/assert/is-infinite/docs/types/index.d.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
* limitations under the License.
1717
*/
1818

19-
// TypeScript Version: 2.0
19+
// TypeScript Version: 4.1
2020

2121
/**
2222
* Tests if a double-precision floating-point numeric value is infinite.

Diff for: base/assert/is-infinitef/docs/types/index.d.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
* limitations under the License.
1717
*/
1818

19-
// TypeScript Version: 2.0
19+
// TypeScript Version: 4.1
2020

2121
/**
2222
* Tests if a single-precision floating-point numeric value is infinite.

Diff for: base/assert/is-integer/docs/types/index.d.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
* limitations under the License.
1717
*/
1818

19-
// TypeScript Version: 2.0
19+
// TypeScript Version: 4.1
2020

2121
/**
2222
* Tests if a finite double-precision floating-point number is an integer.

Diff for: base/assert/is-nan/docs/types/index.d.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
* limitations under the License.
1717
*/
1818

19-
// TypeScript Version: 2.0
19+
// TypeScript Version: 4.1
2020

2121
/**
2222
* Tests if a double-precision floating-point numeric value is `NaN`.

Diff for: base/assert/is-nanf/docs/types/index.d.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
* limitations under the License.
1717
*/
1818

19-
// TypeScript Version: 2.0
19+
// TypeScript Version: 4.1
2020

2121
/**
2222
* Tests if a single-precision floating-point numeric value is `NaN`.

Diff for: base/assert/is-negative-finite/docs/types/index.d.ts

+1-2
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
* limitations under the License.
1717
*/
1818

19-
// TypeScript Version: 2.0
19+
// TypeScript Version: 4.1
2020

2121
/**
2222
* Tests if a double-precision floating-point numeric value is a negative finite number.
@@ -50,4 +50,3 @@ declare function isNegativeFinite( x: number ): boolean;
5050
// EXPORTS //
5151

5252
export = isNegativeFinite;
53-

Diff for: base/assert/is-negative-integer/docs/types/index.d.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
* limitations under the License.
1717
*/
1818

19-
// TypeScript Version: 2.0
19+
// TypeScript Version: 4.1
2020

2121
/**
2222
* Tests if a finite double-precision floating-point number is a negative integer.

Diff for: base/assert/is-negative-zero/docs/types/index.d.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
* limitations under the License.
1717
*/
1818

19-
// TypeScript Version: 2.0
19+
// TypeScript Version: 4.1
2020

2121
/**
2222
* Tests if a double-precision floating-point numeric value is negative zero.

Diff for: base/assert/is-negative-zerof/docs/types/index.d.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
* limitations under the License.
1717
*/
1818

19-
// TypeScript Version: 2.0
19+
// TypeScript Version: 4.1
2020

2121
/**
2222
* Tests if a single-precision floating-point numeric value is negative zero.

Diff for: base/assert/is-nonnegative-finite/docs/types/index.d.ts

+1-2
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
* limitations under the License.
1717
*/
1818

19-
// TypeScript Version: 2.0
19+
// TypeScript Version: 4.1
2020

2121
/**
2222
* Tests if a double-precision floating-point numeric value is a nonnegative finite number.
@@ -54,4 +54,3 @@ declare function isNonNegativeFinite( x: number ): boolean;
5454
// EXPORTS //
5555

5656
export = isNonNegativeFinite;
57-

Diff for: base/assert/is-nonnegative-finite/docs/types/test.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -43,4 +43,4 @@ import isNonNegativeFinite = require( './index' );
4343
// The compiler throws an error if the function is provided insufficient arguments...
4444
{
4545
isNonNegativeFinite(); // $ExpectError
46-
}
46+
}

Diff for: base/assert/is-nonnegative-integer/docs/types/index.d.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
* limitations under the License.
1717
*/
1818

19-
// TypeScript Version: 2.0
19+
// TypeScript Version: 4.1
2020

2121
/**
2222
* Tests if a finite double-precision floating-point number is a nonnegative integer.

Diff for: base/assert/is-nonpositive-finite/docs/types/index.d.ts

+1-2
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
* limitations under the License.
1717
*/
1818

19-
// TypeScript Version: 2.0
19+
// TypeScript Version: 4.1
2020

2121
/**
2222
* Tests if a double-precision floating-point numeric value is a nonpositive finite number.
@@ -50,4 +50,3 @@ declare function isNonPositiveFinite( x: number ): boolean;
5050
// EXPORTS //
5151

5252
export = isNonPositiveFinite;
53-

0 commit comments

Comments
 (0)