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 20, 2024
1 parent b0480c5 commit 18c79a6
Show file tree
Hide file tree
Showing 52 changed files with 203 additions and 106 deletions.
113 changes: 113 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -388,6 +388,94 @@

<!-- /.package -->

<section class="package" id="blas-ext-base-dnannsumors-unreleased">

#### [@stdlib/blas/ext/base/dnannsumors](https://github.com/stdlib-js/stdlib/tree/develop/lib/node_modules/%40stdlib/blas/ext/base/dnannsumors)

<details>

<section class="bug-fixes">

##### Bug Fixes

- [`898b50d`](https://github.com/stdlib-js/stdlib/commit/898b50d8d705bdf6a55db8cf1858ea1e1d257c35) - fix includes and types

</section>

<!-- /.bug-fixes -->

</details>

</section>

<!-- /.package -->

<section class="package" id="blas-ext-base-dsnannsumors-unreleased">

#### [@stdlib/blas/ext/base/dsnannsumors](https://github.com/stdlib-js/stdlib/tree/develop/lib/node_modules/%40stdlib/blas/ext/base/dsnannsumors)

<details>

<section class="bug-fixes">

##### Bug Fixes

- [`898b50d`](https://github.com/stdlib-js/stdlib/commit/898b50d8d705bdf6a55db8cf1858ea1e1d257c35) - fix includes and types

</section>

<!-- /.bug-fixes -->

</details>

</section>

<!-- /.package -->

<section class="package" id="blas-ext-base-sapxsumkbn2-unreleased">

#### [@stdlib/blas/ext/base/sapxsumkbn2](https://github.com/stdlib-js/stdlib/tree/develop/lib/node_modules/%40stdlib/blas/ext/base/sapxsumkbn2)

<details>

<section class="bug-fixes">

##### Bug Fixes

- [`898b50d`](https://github.com/stdlib-js/stdlib/commit/898b50d8d705bdf6a55db8cf1858ea1e1d257c35) - fix includes and types

</section>

<!-- /.bug-fixes -->

</details>

</section>

<!-- /.package -->

<section class="package" id="blas-ext-base-sapxsumors-unreleased">

#### [@stdlib/blas/ext/base/sapxsumors](https://github.com/stdlib-js/stdlib/tree/develop/lib/node_modules/%40stdlib/blas/ext/base/sapxsumors)

<details>

<section class="bug-fixes">

##### Bug Fixes

- [`898b50d`](https://github.com/stdlib-js/stdlib/commit/898b50d8d705bdf6a55db8cf1858ea1e1d257c35) - fix includes and types

</section>

<!-- /.bug-fixes -->

</details>

</section>

<!-- /.package -->

<section class="package" id="blas-ext-base-sfill-unreleased">

#### [@stdlib/blas/ext/base/sfill](https://github.com/stdlib-js/stdlib/tree/develop/lib/node_modules/%40stdlib/blas/ext/base/sfill)
Expand All @@ -410,6 +498,28 @@

<!-- /.package -->

<section class="package" id="blas-ext-base-ssort2ins-unreleased">

#### [@stdlib/blas/ext/base/ssort2ins](https://github.com/stdlib-js/stdlib/tree/develop/lib/node_modules/%40stdlib/blas/ext/base/ssort2ins)

<details>

<section class="bug-fixes">

##### Bug Fixes

- [`898b50d`](https://github.com/stdlib-js/stdlib/commit/898b50d8d705bdf6a55db8cf1858ea1e1d257c35) - fix includes and types

</section>

<!-- /.bug-fixes -->

</details>

</section>

<!-- /.package -->

<section class="package" id="blas-ext-base-zfill-unreleased">

#### [@stdlib/blas/ext/base/zfill](https://github.com/stdlib-js/stdlib/tree/develop/lib/node_modules/%40stdlib/blas/ext/base/zfill)
Expand Down Expand Up @@ -537,6 +647,9 @@ A total of 6 people contributed to this release. Thank you to the following cont

<details>

- [`e454c91`](https://github.com/stdlib-js/stdlib/commit/e454c91ae2af928b61effcddadb31548758f8675) - **chore:** improve code style and conditionals _(by Philipp Burckhardt)_
- [`898b50d`](https://github.com/stdlib-js/stdlib/commit/898b50d8d705bdf6a55db8cf1858ea1e1d257c35) - **fix:** fix includes and types _(by Philipp Burckhardt)_
- [`7e366ae`](https://github.com/stdlib-js/stdlib/commit/7e366ae8bd41439be0e99e958d1c3fbb1b7dd0c2) - **chore:** update package.json descriptions _(by Philipp Burckhardt)_
- [`b8cc3db`](https://github.com/stdlib-js/stdlib/commit/b8cc3db63853dc4e9b4b949abc36bac20c3bf305) - **test:** use `Module` constructor directly _(by Athan Reines)_
- [`a510e37`](https://github.com/stdlib-js/stdlib/commit/a510e375b6e6f608c7763997ff4abad7d8941f9d) - **test:** add module `ndarray` method tests _(by Athan Reines)_
- [`f74e989`](https://github.com/stdlib-js/stdlib/commit/f74e9894ad130417d69b9763cf9a9a012ad9c251) - **test:** add tests for the `main` method _(by Athan Reines)_
Expand Down
2 changes: 1 addition & 1 deletion ext/base/dapxsum/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@stdlib/blas/ext/base/dapxsum",
"version": "0.0.0",
"description": "Add a constant to each double-precision floating-point strided array element and computes the sum.",
"description": "Add a constant to each double-precision floating-point strided array element and compute the sum.",
"license": "Apache-2.0",
"author": {
"name": "The Stdlib Authors",
Expand Down
2 changes: 1 addition & 1 deletion ext/base/dapxsumkbn/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@stdlib/blas/ext/base/dapxsumkbn",
"version": "0.0.0",
"description": "Add a constant to each double-precision floating-point strided array element and computes the sum using an improved Kahan–Babuška algorithm.",
"description": "Add a constant to each double-precision floating-point strided array element and compute the sum using an improved Kahan–Babuška algorithm.",
"license": "Apache-2.0",
"author": {
"name": "The Stdlib Authors",
Expand Down
2 changes: 1 addition & 1 deletion ext/base/dapxsumkbn2/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@stdlib/blas/ext/base/dapxsumkbn2",
"version": "0.0.0",
"description": "Add a constant to each double-precision floating-point strided array element and computes the sum using a second-order iterative Kahan–Babuška algorithm.",
"description": "Add a constant to each double-precision floating-point strided array element and compute the sum using a second-order iterative Kahan–Babuška algorithm.",
"license": "Apache-2.0",
"author": {
"name": "The Stdlib Authors",
Expand Down
2 changes: 1 addition & 1 deletion ext/base/dapxsumors/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@stdlib/blas/ext/base/dapxsumors",
"version": "0.0.0",
"description": "Add a constant to each double-precision floating-point strided array element and computes the sum using ordinary recursive summation.",
"description": "Add a constant to each double-precision floating-point strided array element and compute the sum using ordinary recursive summation.",
"license": "Apache-2.0",
"author": {
"name": "The Stdlib Authors",
Expand Down
2 changes: 1 addition & 1 deletion ext/base/dapxsumpw/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@stdlib/blas/ext/base/dapxsumpw",
"version": "0.0.0",
"description": "Add a constant to each double-precision floating-point strided array element and computes the sum using pairwise summation.",
"description": "Add a constant to each double-precision floating-point strided array element and compute the sum using pairwise summation.",
"license": "Apache-2.0",
"author": {
"name": "The Stdlib Authors",
Expand Down
2 changes: 1 addition & 1 deletion ext/base/dnanasumors/benchmark/benchmark.js
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ function createBenchmark( len ) {
return benchmark;

function rand() {
if ( bernoulli( 0.5 ) < 0.2 ) {
if ( bernoulli( 0.2 ) ) {
return NaN;
}
return uniform( -10.0, 10.0 );
Expand Down
2 changes: 1 addition & 1 deletion ext/base/dnanasumors/benchmark/benchmark.native.js
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ function createBenchmark( len ) {
return benchmark;

function rand() {
if ( bernoulli( 0.5 ) < 0.2 ) {
if ( bernoulli( 0.2 ) ) {
return NaN;
}
return uniform( -10.0, 10.0 );
Expand Down
2 changes: 1 addition & 1 deletion ext/base/dnanasumors/benchmark/benchmark.ndarray.js
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ function createBenchmark( len ) {
return benchmark;

function rand() {
if ( bernoulli( 0.5 ) < 0.2 ) {
if ( bernoulli( 0.2 ) ) {
return NaN;
}
return uniform( -10.0, 10.0 );
Expand Down
2 changes: 1 addition & 1 deletion ext/base/dnanasumors/benchmark/benchmark.ndarray.native.js
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ function createBenchmark( len ) {
return benchmark;

function rand() {
if ( bernoulli( 0.5 ) < 0.2 ) {
if ( bernoulli( 0.2 ) ) {
return NaN;
}
return uniform( -10.0, 10.0 );
Expand Down
2 changes: 1 addition & 1 deletion ext/base/dnanasumors/examples/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ var filledarrayBy = require( '@stdlib/array/filled-by' );
var dnanasumors = require( './../lib' );

function rand() {
if ( bernoulli( 0.5 ) < 0.2 ) {
if ( bernoulli( 0.2 ) ) {
return NaN;
}
return discreteUniform( 0, 100 );
Expand Down
1 change: 0 additions & 1 deletion ext/base/dnannsumors/src/addon.c
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@
#include "stdlib/napi/argv_int64.h"
#include "stdlib/napi/argv_strided_float64array.h"
#include <node_api.h>
#include <assert.h>

/**
* Receives JavaScript callback invocation data.
Expand Down
2 changes: 1 addition & 1 deletion ext/base/dsapxsum/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@stdlib/blas/ext/base/dsapxsum",
"version": "0.0.0",
"description": "Add a constant to each single-precision floating-point strided array element and computes the sum using extended accumulation and returning an extended precision result.",
"description": "Add a constant to each single-precision floating-point strided array element and compute the sum using extended accumulation and returning an extended precision result.",
"license": "Apache-2.0",
"author": {
"name": "The Stdlib Authors",
Expand Down
2 changes: 1 addition & 1 deletion ext/base/dsapxsumpw/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@stdlib/blas/ext/base/dsapxsumpw",
"version": "0.0.0",
"description": "Add a constant to each single-precision floating-point strided array element and computes the sum using pairwise summation with extended accumulation and returning an extended precision result.",
"description": "Add a constant to each single-precision floating-point strided array element and compute the sum using pairwise summation with extended accumulation and returning an extended precision result.",
"license": "Apache-2.0",
"author": {
"name": "The Stdlib Authors",
Expand Down
4 changes: 1 addition & 3 deletions ext/base/dsnannsumors/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -152,16 +152,14 @@ var Float32Array = require( '@stdlib/array/float32' );
var Float64Array = require( '@stdlib/array/float64' );
var dsnannsumors = require( '@stdlib/blas/ext/base/dsnannsumors' );

var x;

function rand() {
if ( bernoulli( 0.5 ) < 0.2 ) {
return NaN;
}
return discreteUniform( 0, 100 );
}

x = filledarrayBy( 10, 'float32', rand );
var x = filledarrayBy( 10, 'float32', rand );
console.log( x );

var out = new Float64Array( 2 );
Expand Down
2 changes: 1 addition & 1 deletion ext/base/dsnannsumors/benchmark/benchmark.js
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ function createBenchmark( len ) {
return benchmark;

function rand() {
if ( bernoulli( 0.5 ) < 0.2 ) {
if ( bernoulli( 0.2 ) ) {
return NaN;
}
return uniform( -10.0, 10.0 );
Expand Down
2 changes: 1 addition & 1 deletion ext/base/dsnannsumors/benchmark/benchmark.native.js
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ function createBenchmark( len ) {
return benchmark;

function rand() {
if ( bernoulli( 0.5 ) < 0.2 ) {
if ( bernoulli( 0.2 ) ) {
return NaN;
}
return uniform( -10.0, 10.0 );
Expand Down
2 changes: 1 addition & 1 deletion ext/base/dsnannsumors/benchmark/benchmark.ndarray.js
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ function createBenchmark( len ) {
return benchmark;

function rand() {
if ( bernoulli( 0.5 ) < 0.2 ) {
if ( bernoulli( 0.2 ) ) {
return NaN;
}
return uniform( -10.0, 10.0 );
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ function createBenchmark( len ) {
return benchmark;

function rand() {
if ( bernoulli( 0.5 ) < 0.2 ) {
if ( bernoulli( 0.2 ) ) {
return NaN;
}
return uniform( -10.0, 10.0 );
Expand Down
9 changes: 3 additions & 6 deletions ext/base/dsnannsumors/examples/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -24,19 +24,16 @@ var filledarrayBy = require( '@stdlib/array/filled-by' );
var Float64Array = require( '@stdlib/array/float64' );
var dsnannsumors = require( './../lib' );

var out;
var x;

function rand() {
if ( bernoulli( 0.5 ) < 0.2 ) {
if ( bernoulli( 0.2 ) ) {
return NaN;
}
return discreteUniform( 0, 100 );
}

x = filledarrayBy( 10, 'float32', rand );
var x = filledarrayBy( 10, 'float32', rand );
console.log( x );

out = new Float64Array( 2 );
var out = new Float64Array( 2 );
dsnannsumors( x.length, x, 1, out, 1 );
console.log( out );
3 changes: 1 addition & 2 deletions ext/base/dsnannsumors/src/addon.c
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@
#include "stdlib/napi/argv_strided_float32array.h"
#include "stdlib/napi/argv_strided_float64array.h"
#include <node_api.h>
#include <assert.h>

/**
* Receives JavaScript callback invocation data.
Expand Down Expand Up @@ -56,4 +55,4 @@ static napi_value addon( napi_env env, napi_callback_info info ) {
return NULL;
}

STDLIB_NAPI_MODULE_EXPORT_FCN( addon )
STDLIB_NAPI_MODULE_EXPORT_FCN( addon )
2 changes: 1 addition & 1 deletion ext/base/gapxsum/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@stdlib/blas/ext/base/gapxsum",
"version": "0.0.0",
"description": "Add a constant to each strided array element and computes the sum.",
"description": "Add a constant to each strided array element and compute the sum.",
"license": "Apache-2.0",
"author": {
"name": "The Stdlib Authors",
Expand Down
2 changes: 1 addition & 1 deletion ext/base/gapxsumkbn/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@stdlib/blas/ext/base/gapxsumkbn",
"version": "0.0.0",
"description": "Add a constant to each strided array element and computes the sum using an improved Kahan–Babuška algorithm.",
"description": "Add a constant to each strided array element and compute the sum using an improved Kahan–Babuška algorithm.",
"license": "Apache-2.0",
"author": {
"name": "The Stdlib Authors",
Expand Down
2 changes: 1 addition & 1 deletion ext/base/gapxsumkbn2/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@stdlib/blas/ext/base/gapxsumkbn2",
"version": "0.0.0",
"description": "Add a constant to each strided array element and computes the sum using a second-order iterative Kahan–Babuška algorithm.",
"description": "Add a constant to each strided array element and compute the sum using a second-order iterative Kahan–Babuška algorithm.",
"license": "Apache-2.0",
"author": {
"name": "The Stdlib Authors",
Expand Down
2 changes: 1 addition & 1 deletion ext/base/gapxsumors/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@stdlib/blas/ext/base/gapxsumors",
"version": "0.0.0",
"description": "Add a constant to each strided array element and computes the sum using ordinary recursive summation.",
"description": "Add a constant to each strided array element and compute the sum using ordinary recursive summation.",
"license": "Apache-2.0",
"author": {
"name": "The Stdlib Authors",
Expand Down
2 changes: 1 addition & 1 deletion ext/base/gapxsumpw/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@stdlib/blas/ext/base/gapxsumpw",
"version": "0.0.0",
"description": "Add a constant to each strided array element and computes the sum using pairwise summation.",
"description": "Add a constant to each strided array element and compute the sum using pairwise summation.",
"license": "Apache-2.0",
"author": {
"name": "The Stdlib Authors",
Expand Down
2 changes: 1 addition & 1 deletion ext/base/sapxsum/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@stdlib/blas/ext/base/sapxsum",
"version": "0.0.0",
"description": "Add a constant to each single-precision floating-point strided array element and computes the sum.",
"description": "Add a constant to each single-precision floating-point strided array element and compute the sum.",
"license": "Apache-2.0",
"author": {
"name": "The Stdlib Authors",
Expand Down
Loading

0 comments on commit 18c79a6

Please sign in to comment.