Skip to content

Commit

Permalink
Auto-generated commit
Browse files Browse the repository at this point in the history
  • Loading branch information
stdlib-bot committed Sep 8, 2024
1 parent 6c281c4 commit e23d573
Show file tree
Hide file tree
Showing 56 changed files with 18,372 additions and 295 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -100,6 +100,7 @@ A total of 3 people contributed to this release. Thank you to the following cont

<details>

- [`5debe82`](https://github.com/stdlib-js/stdlib/commit/5debe8216a1449be68fad01af52d896e63163191) - **test:** add tests to `ndarray/base/map` [(#2810)](https://github.com/stdlib-js/stdlib/pull/2810) _(by Muhammad Haris, Athan Reines)_
- [`0c5f1bc`](https://github.com/stdlib-js/stdlib/commit/0c5f1bc12678832bf4aafddbf2a960e98612327b) - **chore:** rename folder from benchmarks to benchmark _(by Philipp Burckhardt)_
- [`6a6bc1d`](https://github.com/stdlib-js/stdlib/commit/6a6bc1da925c3c3f24463cf0d381d0d38e84868b) - **feat:** add `ndarray/base/fill` [(#2817)](https://github.com/stdlib-js/stdlib/pull/2817) _(by Muhammad Haris, Athan Reines)_
- [`8bcb738`](https://github.com/stdlib-js/stdlib/commit/8bcb738f0fc355eae92b40541cc61550fda1fbef) - **feat:** add `ndarray/base/to-reversed` [(#2861)](https://github.com/stdlib-js/stdlib/pull/2861) _(by Muhammad Haris, Athan Reines)_
Expand Down
10 changes: 3 additions & 7 deletions base/map/benchmark/benchmark.10d_blocked_columnmajor.js
Original file line number Diff line number Diff line change
Expand Up @@ -21,13 +21,13 @@
// MODULES //

var bench = require( '@stdlib/bench' );
var randu = require( '@stdlib/random/base/randu' );
var isnan = require( '@stdlib/math/base/assert/is-nan' );
var pow = require( '@stdlib/math/base/special/pow' );
var floor = require( '@stdlib/math/base/special/floor' );
var round = require( '@stdlib/math/base/special/round' );
var identity = require( '@stdlib/math/base/special/identity' );
var filledarray = require( '@stdlib/array/filled' );
var filledarrayBy = require( '@stdlib/array/filled-by' );
var discreteUniform = require( '@stdlib/random/base/discrete-uniform' ).factory;
var shape2strides = require( './../../../base/shape2strides' );
var pkg = require( './../package.json' ).name;
var map = require( './../lib/10d_blocked.js' );
Expand All @@ -54,13 +54,9 @@ var order = 'column-major';
function createBenchmark( len, shape, xtype, ytype ) {
var x;
var y;
var i;

x = filledarray( 0.0, len, xtype );
x = filledarrayBy( len, xtype, discreteUniform( -100, 100 ) );
y = filledarray( 0.0, len, ytype );
for ( i = 0; i < len; i++ ) {
x[ i ] = round( ( randu()*200.0 ) - 100.0 );
}
x = {
'dtype': xtype,
'data': x,
Expand Down
10 changes: 3 additions & 7 deletions base/map/benchmark/benchmark.10d_blocked_rowmajor.js
Original file line number Diff line number Diff line change
Expand Up @@ -21,13 +21,13 @@
// MODULES //

var bench = require( '@stdlib/bench' );
var randu = require( '@stdlib/random/base/randu' );
var isnan = require( '@stdlib/math/base/assert/is-nan' );
var pow = require( '@stdlib/math/base/special/pow' );
var floor = require( '@stdlib/math/base/special/floor' );
var round = require( '@stdlib/math/base/special/round' );
var identity = require( '@stdlib/math/base/special/identity' );
var filledarray = require( '@stdlib/array/filled' );
var filledarrayBy = require( '@stdlib/array/filled-by' );
var discreteUniform = require( '@stdlib/random/base/discrete-uniform' ).factory;
var shape2strides = require( './../../../base/shape2strides' );
var pkg = require( './../package.json' ).name;
var map = require( './../lib/10d_blocked.js' );
Expand All @@ -54,13 +54,9 @@ var order = 'row-major';
function createBenchmark( len, shape, xtype, ytype ) {
var x;
var y;
var i;

x = filledarray( 0.0, len, xtype );
x = filledarrayBy( len, xtype, discreteUniform( -100, 100 ) );
y = filledarray( 0.0, len, ytype );
for ( i = 0; i < len; i++ ) {
x[ i ] = round( ( randu()*200.0 ) - 100.0 );
}
x = {
'dtype': xtype,
'data': x,
Expand Down
10 changes: 3 additions & 7 deletions base/map/benchmark/benchmark.10d_columnmajor.js
Original file line number Diff line number Diff line change
Expand Up @@ -21,13 +21,13 @@
// MODULES //

var bench = require( '@stdlib/bench' );
var randu = require( '@stdlib/random/base/randu' );
var isnan = require( '@stdlib/math/base/assert/is-nan' );
var pow = require( '@stdlib/math/base/special/pow' );
var floor = require( '@stdlib/math/base/special/floor' );
var round = require( '@stdlib/math/base/special/round' );
var identity = require( '@stdlib/math/base/special/identity' );
var filledarray = require( '@stdlib/array/filled' );
var filledarrayBy = require( '@stdlib/array/filled-by' );
var discreteUniform = require( '@stdlib/random/base/discrete-uniform' ).factory;
var shape2strides = require( './../../../base/shape2strides' );
var pkg = require( './../package.json' ).name;
var map = require( './../lib/10d.js' );
Expand All @@ -54,13 +54,9 @@ var order = 'column-major';
function createBenchmark( len, shape, xtype, ytype ) {
var x;
var y;
var i;

x = filledarray( 0.0, len, xtype );
x = filledarrayBy( len, xtype, discreteUniform( -100, 100 ) );
y = filledarray( 0.0, len, ytype );
for ( i = 0; i < len; i++ ) {
x[ i ] = round( ( randu()*200.0 ) - 100.0 );
}
x = {
'dtype': xtype,
'data': x,
Expand Down
10 changes: 3 additions & 7 deletions base/map/benchmark/benchmark.10d_rowmajor.js
Original file line number Diff line number Diff line change
Expand Up @@ -21,13 +21,13 @@
// MODULES //

var bench = require( '@stdlib/bench' );
var randu = require( '@stdlib/random/base/randu' );
var isnan = require( '@stdlib/math/base/assert/is-nan' );
var pow = require( '@stdlib/math/base/special/pow' );
var floor = require( '@stdlib/math/base/special/floor' );
var round = require( '@stdlib/math/base/special/round' );
var identity = require( '@stdlib/math/base/special/identity' );
var filledarray = require( '@stdlib/array/filled' );
var filledarrayBy = require( '@stdlib/array/filled-by' );
var discreteUniform = require( '@stdlib/random/base/discrete-uniform' ).factory;
var shape2strides = require( './../../../base/shape2strides' );
var pkg = require( './../package.json' ).name;
var map = require( './../lib/10d.js' );
Expand All @@ -54,13 +54,9 @@ var order = 'row-major';
function createBenchmark( len, shape, xtype, ytype ) {
var x;
var y;
var i;

x = filledarray( 0.0, len, xtype );
x = filledarrayBy( len, xtype, discreteUniform( -100, 100 ) );
y = filledarray( 0.0, len, ytype );
for ( i = 0; i < len; i++ ) {
x[ i ] = round( ( randu()*200.0 ) - 100.0 );
}
x = {
'dtype': xtype,
'data': x,
Expand Down
10 changes: 3 additions & 7 deletions base/map/benchmark/benchmark.11d_columnmajor.js
Original file line number Diff line number Diff line change
Expand Up @@ -21,13 +21,13 @@
// MODULES //

var bench = require( '@stdlib/bench' );
var randu = require( '@stdlib/random/base/randu' );
var isnan = require( '@stdlib/math/base/assert/is-nan' );
var pow = require( '@stdlib/math/base/special/pow' );
var floor = require( '@stdlib/math/base/special/floor' );
var round = require( '@stdlib/math/base/special/round' );
var identity = require( '@stdlib/math/base/special/identity' );
var filledarray = require( '@stdlib/array/filled' );
var filledarrayBy = require( '@stdlib/array/filled-by' );
var discreteUniform = require( '@stdlib/random/base/discrete-uniform' ).factory;
var shape2strides = require( './../../../base/shape2strides' );
var pkg = require( './../package.json' ).name;
var map = require( './../lib/nd.js' );
Expand All @@ -54,13 +54,9 @@ var order = 'column-major';
function createBenchmark( len, shape, xtype, ytype ) {
var x;
var y;
var i;

x = filledarray( 0.0, len, xtype );
x = filledarrayBy( len, xtype, discreteUniform( -100, 100 ) );
y = filledarray( 0.0, len, ytype );
for ( i = 0; i < len; i++ ) {
x[ i ] = round( ( randu()*200.0 ) - 100.0 );
}
x = {
'dtype': xtype,
'data': x,
Expand Down
10 changes: 3 additions & 7 deletions base/map/benchmark/benchmark.11d_rowmajor.js
Original file line number Diff line number Diff line change
Expand Up @@ -21,13 +21,13 @@
// MODULES //

var bench = require( '@stdlib/bench' );
var randu = require( '@stdlib/random/base/randu' );
var isnan = require( '@stdlib/math/base/assert/is-nan' );
var pow = require( '@stdlib/math/base/special/pow' );
var floor = require( '@stdlib/math/base/special/floor' );
var round = require( '@stdlib/math/base/special/round' );
var identity = require( '@stdlib/math/base/special/identity' );
var filledarray = require( '@stdlib/array/filled' );
var filledarrayBy = require( '@stdlib/array/filled-by' );
var discreteUniform = require( '@stdlib/random/base/discrete-uniform' ).factory;
var shape2strides = require( './../../../base/shape2strides' );
var pkg = require( './../package.json' ).name;
var map = require( './../lib/nd.js' );
Expand All @@ -54,13 +54,9 @@ var order = 'row-major';
function createBenchmark( len, shape, xtype, ytype ) {
var x;
var y;
var i;

x = filledarray( 0.0, len, xtype );
x = filledarrayBy( len, xtype, discreteUniform( -100, 100 ) );
y = filledarray( 0.0, len, ytype );
for ( i = 0; i < len; i++ ) {
x[ i ] = round( ( randu()*200.0 ) - 100.0 );
}
x = {
'dtype': xtype,
'data': x,
Expand Down
10 changes: 3 additions & 7 deletions base/map/benchmark/benchmark.1d_columnmajor.js
Original file line number Diff line number Diff line change
Expand Up @@ -21,12 +21,12 @@
// MODULES //

var bench = require( '@stdlib/bench' );
var randu = require( '@stdlib/random/base/randu' );
var isnan = require( '@stdlib/math/base/assert/is-nan' );
var pow = require( '@stdlib/math/base/special/pow' );
var round = require( '@stdlib/math/base/special/round' );
var identity = require( '@stdlib/math/base/special/identity' );
var filledarray = require( '@stdlib/array/filled' );
var filledarrayBy = require( '@stdlib/array/filled-by' );
var discreteUniform = require( '@stdlib/random/base/discrete-uniform' ).factory;
var shape2strides = require( './../../../base/shape2strides' );
var pkg = require( './../package.json' ).name;
var map = require( './../lib' );
Expand All @@ -53,13 +53,9 @@ var order = 'column-major';
function createBenchmark( len, shape, xtype, ytype ) {
var x;
var y;
var i;

x = filledarray( 0.0, len, xtype );
x = filledarrayBy( len, xtype, discreteUniform( -100, 100 ) );
y = filledarray( 0.0, len, ytype );
for ( i = 0; i < len; i++ ) {
x[ i ] = round( ( randu()*200.0 ) - 100.0 );
}
x = {
'dtype': xtype,
'data': x,
Expand Down
10 changes: 3 additions & 7 deletions base/map/benchmark/benchmark.1d_rowmajor.js
Original file line number Diff line number Diff line change
Expand Up @@ -21,12 +21,12 @@
// MODULES //

var bench = require( '@stdlib/bench' );
var randu = require( '@stdlib/random/base/randu' );
var isnan = require( '@stdlib/math/base/assert/is-nan' );
var pow = require( '@stdlib/math/base/special/pow' );
var round = require( '@stdlib/math/base/special/round' );
var identity = require( '@stdlib/math/base/special/identity' );
var filledarray = require( '@stdlib/array/filled' );
var filledarrayBy = require( '@stdlib/array/filled-by' );
var discreteUniform = require( '@stdlib/random/base/discrete-uniform' ).factory;
var shape2strides = require( './../../../base/shape2strides' );
var pkg = require( './../package.json' ).name;
var map = require( './../lib' );
Expand All @@ -53,13 +53,9 @@ var order = 'row-major';
function createBenchmark( len, shape, xtype, ytype ) {
var x;
var y;
var i;

x = filledarray( 0.0, len, xtype );
x = filledarrayBy( len, xtype, discreteUniform( -100, 100 ) );
y = filledarray( 0.0, len, ytype );
for ( i = 0; i < len; i++ ) {
x[ i ] = round( ( randu()*200.0 ) - 100.0 );
}
x = {
'dtype': xtype,
'data': x,
Expand Down
10 changes: 3 additions & 7 deletions base/map/benchmark/benchmark.2d_blocked_columnmajor.js
Original file line number Diff line number Diff line change
Expand Up @@ -21,14 +21,14 @@
// MODULES //

var bench = require( '@stdlib/bench' );
var randu = require( '@stdlib/random/base/randu' );
var isnan = require( '@stdlib/math/base/assert/is-nan' );
var pow = require( '@stdlib/math/base/special/pow' );
var sqrt = require( '@stdlib/math/base/special/sqrt' );
var floor = require( '@stdlib/math/base/special/floor' );
var round = require( '@stdlib/math/base/special/round' );
var identity = require( '@stdlib/math/base/special/identity' );
var filledarray = require( '@stdlib/array/filled' );
var filledarrayBy = require( '@stdlib/array/filled-by' );
var discreteUniform = require( '@stdlib/random/base/discrete-uniform' ).factory;
var shape2strides = require( './../../../base/shape2strides' );
var pkg = require( './../package.json' ).name;
var map = require( './../lib/2d_blocked.js' );
Expand All @@ -55,13 +55,9 @@ var order = 'column-major';
function createBenchmark( len, shape, xtype, ytype ) {
var x;
var y;
var i;

x = filledarray( 0.0, len, xtype );
x = filledarrayBy( len, xtype, discreteUniform( -100, 100 ) );
y = filledarray( 0.0, len, ytype );
for ( i = 0; i < len; i++ ) {
x[ i ] = round( ( randu()*200.0 ) - 100.0 );
}
x = {
'dtype': xtype,
'data': x,
Expand Down
10 changes: 3 additions & 7 deletions base/map/benchmark/benchmark.2d_blocked_rowmajor.js
Original file line number Diff line number Diff line change
Expand Up @@ -21,14 +21,14 @@
// MODULES //

var bench = require( '@stdlib/bench' );
var randu = require( '@stdlib/random/base/randu' );
var isnan = require( '@stdlib/math/base/assert/is-nan' );
var pow = require( '@stdlib/math/base/special/pow' );
var sqrt = require( '@stdlib/math/base/special/sqrt' );
var floor = require( '@stdlib/math/base/special/floor' );
var round = require( '@stdlib/math/base/special/round' );
var identity = require( '@stdlib/math/base/special/identity' );
var filledarray = require( '@stdlib/array/filled' );
var filledarrayBy = require( '@stdlib/array/filled-by' );
var discreteUniform = require( '@stdlib/random/base/discrete-uniform' ).factory;
var shape2strides = require( './../../../base/shape2strides' );
var pkg = require( './../package.json' ).name;
var map = require( './../lib/2d_blocked.js' );
Expand All @@ -55,13 +55,9 @@ var order = 'row-major';
function createBenchmark( len, shape, xtype, ytype ) {
var x;
var y;
var i;

x = filledarray( 0.0, len, xtype );
x = filledarrayBy( len, xtype, discreteUniform( -100, 100 ) );
y = filledarray( 0.0, len, ytype );
for ( i = 0; i < len; i++ ) {
x[ i ] = round( ( randu()*200.0 ) - 100.0 );
}
x = {
'dtype': xtype,
'data': x,
Expand Down
10 changes: 3 additions & 7 deletions base/map/benchmark/benchmark.2d_columnmajor.js
Original file line number Diff line number Diff line change
Expand Up @@ -21,14 +21,14 @@
// MODULES //

var bench = require( '@stdlib/bench' );
var randu = require( '@stdlib/random/base/randu' );
var isnan = require( '@stdlib/math/base/assert/is-nan' );
var pow = require( '@stdlib/math/base/special/pow' );
var sqrt = require( '@stdlib/math/base/special/sqrt' );
var floor = require( '@stdlib/math/base/special/floor' );
var round = require( '@stdlib/math/base/special/round' );
var identity = require( '@stdlib/math/base/special/identity' );
var filledarray = require( '@stdlib/array/filled' );
var filledarrayBy = require( '@stdlib/array/filled-by' );
var discreteUniform = require( '@stdlib/random/base/discrete-uniform' ).factory;
var shape2strides = require( './../../../base/shape2strides' );
var pkg = require( './../package.json' ).name;
var map = require( './../lib/2d.js' );
Expand All @@ -55,13 +55,9 @@ var order = 'column-major';
function createBenchmark( len, shape, xtype, ytype ) {
var x;
var y;
var i;

x = filledarray( 0.0, len, xtype );
x = filledarrayBy( len, xtype, discreteUniform( -100, 100 ) );
y = filledarray( 0.0, len, ytype );
for ( i = 0; i < len; i++ ) {
x[ i ] = round( ( randu()*200.0 ) - 100.0 );
}
x = {
'dtype': xtype,
'data': x,
Expand Down
10 changes: 3 additions & 7 deletions base/map/benchmark/benchmark.2d_rowmajor.js
Original file line number Diff line number Diff line change
Expand Up @@ -21,14 +21,14 @@
// MODULES //

var bench = require( '@stdlib/bench' );
var randu = require( '@stdlib/random/base/randu' );
var isnan = require( '@stdlib/math/base/assert/is-nan' );
var pow = require( '@stdlib/math/base/special/pow' );
var sqrt = require( '@stdlib/math/base/special/sqrt' );
var floor = require( '@stdlib/math/base/special/floor' );
var round = require( '@stdlib/math/base/special/round' );
var identity = require( '@stdlib/math/base/special/identity' );
var filledarray = require( '@stdlib/array/filled' );
var filledarrayBy = require( '@stdlib/array/filled-by' );
var discreteUniform = require( '@stdlib/random/base/discrete-uniform' ).factory;
var shape2strides = require( './../../../base/shape2strides' );
var pkg = require( './../package.json' ).name;
var map = require( './../lib/2d.js' );
Expand All @@ -55,13 +55,9 @@ var order = 'row-major';
function createBenchmark( len, shape, xtype, ytype ) {
var x;
var y;
var i;

x = filledarray( 0.0, len, xtype );
x = filledarrayBy( len, xtype, discreteUniform( -100, 100 ) );
y = filledarray( 0.0, len, ytype );
for ( i = 0; i < len; i++ ) {
x[ i ] = round( ( randu()*200.0 ) - 100.0 );
}
x = {
'dtype': xtype,
'data': x,
Expand Down
Loading

0 comments on commit e23d573

Please sign in to comment.