Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions FAQ.md
Original file line number Diff line number Diff line change
Expand Up @@ -828,15 +828,15 @@ See the [contributing guide][contributing-guide].

[asm]: http://asmjs.org/spec/latest/

[gyp]: https://gyp.gsrc.io/
[gyp]: https://chromium.googlesource.com/external/gyp

[gfortran]: https://gcc.gnu.org/fortran/

[msvs-fortran-issue]: https://github.com/nodejs/node-gyp/issues/1102

[numpy]: https://numpy.org/

[scipy]: https://www.scipy.org/scipylib/index.html
[scipy]: https://scipy.org/scipylib/index.html

[scikit-learn]: http://scikit-learn.org/stable/

Expand Down Expand Up @@ -882,9 +882,9 @@ See the [contributing guide][contributing-guide].

[golang-big]: https://golang.org/pkg/math/big/

[julia-bigint]: http://docs.julialang.org/en/stable/stdlib/numbers/?highlight=bigfloat#Base.BigInt
[julia-bigint]: https://docs.julialang.org/en/stable/stdlib/numbers/#Base.BigInt

[julia-bigfloat]: http://docs.julialang.org/en/stable/stdlib/numbers/?highlight=bigfloat#Base.BigFloat
[julia-bigfloat]: https://docs.julialang.org/en/stable/stdlib/numbers/#Base.BigFloat

<!--
[@stdlib/math/base/special/frexp]: https://github.com/stdlib-js/stdlib/blob/0b1a64efef8859a17a60edb7ccaab62937b77a63/lib/node_modules/%40stdlib/math/base/special/frexp/lib/frexp.js#L67
Expand Down
2 changes: 1 addition & 1 deletion docs/editors/vscode/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@ $ code .
[vscode-spell-checker]: https://github.com/Jason-Rev/vscode-spell-checker
[vscode-spell-checker-readme]: https://github.com/Jason-Rev/vscode-spell-checker/blob/master/client/README.md
[vscode-spell-checker-readme]: https://github.com/streetsidesoftware/vscode-spell-checker/blob/main/client/README.md
[vscode-path-intellisense]: https://github.com/ChristianKohler/PathIntellisense
Expand Down
4 changes: 2 additions & 2 deletions docs/links/database.json
Original file line number Diff line number Diff line change
Expand Up @@ -9408,7 +9408,7 @@
"mastering"
]
},
"https://gyp.gsrc.io/": {
"https://chromium.googlesource.com/external/gyp": {
"id": "gyp",
"description": "Gyp is a Meta-Build system: : a build system that generates other build systems.",
"short_url": "",
Expand Down Expand Up @@ -10837,7 +10837,7 @@
"maape"
]
},
"https://www.scipy.org/scipylib/index.html": {
"https://scipy.org/scipylib/index.html": {
"id": "scipy",
"description": "Official homepage for SciPy, a collection of mathematical algorithms and convenience functions built on the Numpy extension of Python.",
"short_url": "",
Expand Down
2 changes: 1 addition & 1 deletion docs/style-guides/cpp/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ TODO

- [FAQ](http://www.stroustrup.com/bs_faq2.html)

- [cppdoc](http://www.edparrish.net/common/cppdoc.html)
- [cppdoc](https://web.archive.org/web/20230601000000/http://www.edparrish.net/common/cppdoc.html)

- [cpm](https://github.com/iauns/cpm)

Expand Down
2 changes: 1 addition & 1 deletion docs/style-guides/javascript/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2278,7 +2278,7 @@ Code review.

##### Reason

Throw and provide tailored `error` messages if expected conditions are not met. Doing so facilitates debugging and eases code maintenance (see [programmer errors](https://www.joyent.com/developers/node/design/errors)).
Throw and provide tailored `error` messages if expected conditions are not met. Doing so facilitates debugging and eases code maintenance (see [programmer errors](https://web.archive.org/web/20230601000000/https://www.joyent.com/developers/node/design/errors)).

##### Bad Example

Expand Down
2 changes: 1 addition & 1 deletion docs/style-guides/julia/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,4 @@
TODO

- Julia [style guide](http://docs.julialang.org/en/release-0.4/manual/style-guide/).
- Julia [style guide](https://docs.julialang.org/en/release-0.4/manual/style-guide/).
2 changes: 1 addition & 1 deletion docs/style-guides/r/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,4 @@ TODO

- Google [style guide](https://google.github.io/styleguide/Rguide.xml)
- Hadley's [notes](http://adv-r.had.co.nz/OO-essentials.html), which include a comment on `function` name conventions
- Hadley's [style guide](http://r-pkgs.had.co.nz/style.html)
- Hadley's [style guide](https://r-pkgs.org/style.html)
2 changes: 1 addition & 1 deletion etc/python/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ This directory contains [Python][python] configuration files.

<section class="links">

[python]: http://python.com/
[python]: https://www.python.org/

</section>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -56,13 +56,13 @@ function validate( opts, options ) {
if ( hasOwnProp( options, 'token' ) ) {
opts.token = options.token;
if ( !isString( opts.token ) ) {
return new TypeError( format( 'invalid option. `%s` option must be a string. Option: `%s`.', 'token', opts.token ) );
return new TypeError( format( 'invalid option. `%s` option must be a string. Option: `%s`.', 'token', opts.token ) );
}
}
if ( hasOwnProp( options, 'useragent' ) ) {
opts.useragent = options.useragent;
if ( !isString( opts.useragent ) ) {
return new TypeError( format( 'invalid option. `%s` option must be a string. Option: `%s`.', 'useragent', opts.useragent ) );
return new TypeError( format( 'invalid option. `%s` option must be a string. Option: `%s`.', 'useragent', opts.useragent ) );
}
}
return null;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@
* @default Number.POSITIVE_INFINITY
* @see [IEEE 754]{@link https://en.wikipedia.org/wiki/IEEE_754-1985}
*/
var FLOAT64_PINF = Number.POSITIVE_INFINITY; // eslint-disable-line stdlib/require-globals
var FLOAT64_PINF = Number.POSITIVE_INFINITY;


// EXPORTS //
Expand Down
2 changes: 1 addition & 1 deletion lib/node_modules/@stdlib/fs/read-dir/examples/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ out = readDir.sync( 'beepboop' );
// returns <Error>

console.log( out instanceof Error );
// => true
// => false

/* Async */

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,11 +18,10 @@

'use strict';

var resolve = require( 'path' ).resolve;
var discreteUniform = require( '@stdlib/random/array/discrete-uniform' );
var tryRequire = require( '@stdlib/utils/try-require' );

var compile = tryRequire( resolve( __dirname, '..', 'lib' ) );
var compile = tryRequire( './../lib' );
if ( compile instanceof Error ) {
console.log( 'Unable to run example. Unsupported environment.' );
} else {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,23 +30,18 @@ var factory = require( './../lib' ).factory;
// FIXTURES //

var random2 = require( './fixtures/python/random2.json' );

var mediumNegative1 = require( './fixtures/python/medium_negative_1.json' );
var mediumNegative2 = require( './fixtures/python/medium_negative_2.json' );
var mediumNegative5 = require( './fixtures/python/medium_negative_5.json' );

var mediumPositive1 = require( './fixtures/python/medium_positive_1.json' );
var mediumPositive2 = require( './fixtures/python/medium_positive_2.json' );
var mediumPositive5 = require( './fixtures/python/medium_positive_5.json' );

var smallPositive1 = require( './fixtures/python/small_positive_1.json' );
var smallPositive2 = require( './fixtures/python/small_positive_2.json' );
var smallPositive5 = require( './fixtures/python/small_positive_5.json' );

var smallNegative1 = require( './fixtures/python/small_negative_1.json' );
var smallNegative2 = require( './fixtures/python/small_negative_2.json' );
var smallNegative5 = require( './fixtures/python/small_negative_5.json' );

var tiny1 = require( './fixtures/python/tiny_1.json' );
var tiny2 = require( './fixtures/python/tiny_2.json' );
var tiny5 = require( './fixtures/python/tiny_5.json' );
Expand Down
26 changes: 24 additions & 2 deletions lib/node_modules/@stdlib/stats/kstest/test/test.marsaglia.js
Original file line number Diff line number Diff line change
Expand Up @@ -43,8 +43,30 @@ tape( 'the function correctly evaluates the CDF of D_n', function test( t ) {
var n;
var i;

d = [ 0.3, -0.1, 1.5, 0.5, 0.1, 0.1, 0.05, 0.05, 0.8, 0.274 ];
n = [ 10.0, 10.0, 10.0, 20.0, 10.0, 20.0, 300.0, 80.0, 1.0, 10.0 ];
d = [
0.3,
-0.1,
1.5,
0.5,
0.1,
0.1,
0.05,
0.05,
0.8,
0.274
];
n = [
10.0,
10.0,
10.0,
20.0,
10.0,
20.0,
300.0,
80.0,
1.0,
10.0
];
expected = [
0.7294644,
0.0,
Expand Down
8 changes: 4 additions & 4 deletions lib/node_modules/@stdlib/stats/ztest2/examples/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -28,14 +28,14 @@ var y;
var i;

// Values drawn from a Normal(4,2) distribution
x = new Array( 100 );
x = [];
for ( i = 0; i < 100; i++ ) {
x[ i ] = rnorm( 4.0, 2.0 );
x.push( rnorm( 4.0, 2.0 ) );
}
// Values drawn from a Normal(3,2) distribution
y = new Array( 80 );
y = [];
for ( i = 0; i < 80; i++ ) {
y[ i ] = rnorm( 3.0, 2.0 );
y.push( rnorm( 3.0, 2.0 ) );
}

out = ztest2( x, y, 2.0, 2.0 );
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,6 @@
* limitations under the License.
*/

/* eslint-disable stdlib/jsdoc-typedef-typos */

'use strict';

// MODULES //
Expand Down
4 changes: 2 additions & 2 deletions lib/node_modules/@stdlib/utils/async/until/lib/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -112,9 +112,9 @@ function untilAsync( predicate, fcn, done, thisArg ) {

// Cache the most recent results...
if ( arguments.length > 1 ) {
args = new Array( arguments.length-1 );
args = [];
for ( i = 1; i < arguments.length; i++ ) {
args[ i-1 ] = arguments[ i ];
args.push( arguments[ i ] );
}
}
// Run the test condition:
Expand Down
12 changes: 6 additions & 6 deletions lib/node_modules/@stdlib/utils/pluck/benchmark/benchmark.js
Original file line number Diff line number Diff line change
Expand Up @@ -37,13 +37,13 @@ bench( pkg, function benchmark( b ) {
var i;
var j;

arr = new Array( 100 );
for ( i = 0; i < arr.length; i++ ) {
tmp = new Array( 5 );
for ( j = 0; j < tmp.length; j++ ) {
tmp[ j ] = round( randu()*100.0*(j+1.0) );
arr = [];
for ( i = 0; i < 100; i++ ) {
tmp = [];
for ( j = 0; j < 5; j++ ) {
tmp.push( round( randu()*100.0*(j+1.0) ) );
}
arr[ i ] = tmp;
arr.push( tmp );
}
b.tic();
for ( i = 0; i < b.iterations; i++ ) {
Expand Down
Loading