Big News: Socket raises $60M Series C at a $1B valuation to secure software supply chains for AI-driven development.Announcement
Sign In

@stdlib/strided-base-quinary

Package Overview
Dependencies
Maintainers
4
Versions
16
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@stdlib/strided-base-quinary - npm Package Compare versions

Comparing version
0.0.6
to
0.0.7
+1
-1
NOTICE

@@ -1,1 +0,1 @@

Copyright (c) 2016-2021 The Stdlib Authors.
Copyright (c) 2016-2022 The Stdlib Authors.
{
"name": "@stdlib/strided-base-quinary",
"version": "0.0.6",
"version": "0.0.7",
"description": "Apply a quinary callback to strided input array elements and assign results to elements in a strided output array.",

@@ -45,5 +45,5 @@ "license": "Apache-2.0",

"@stdlib/array-filled": "^0.0.x",
"@stdlib/array-filled-by": "^0.0.x",
"@stdlib/array-float64": "^0.0.x",
"@stdlib/bench": "^0.0.x",
"@stdlib/blas-ext-base-gfill-by": "^0.0.x",
"@stdlib/math-base-assert-is-nan": "^0.0.x",

@@ -50,0 +50,0 @@ "@stdlib/math-base-special-floor": "^0.0.x",

+34
-27

@@ -23,3 +23,3 @@ <!--

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

@@ -85,3 +85,2 @@ > Apply a quinary callback to strided input array elements and assign results to elements in a strided output array.

var Float64Array = require( '@stdlib/array-float64' );
var floor = require( '@stdlib/math-base-special-floor' );

@@ -99,6 +98,4 @@ function add( x, y, z, w, u ) {

var N = floor( x.length / 2 );
quinary( [ x, y, z, w, u, v ], [ N ], [ 2, 2, 2, 2, 2, -1 ], add );
// v => <Float64Array>[ 25.0, 15.0, 5.0, 0.0, 0.0, 0.0 ]
quinary( [ x, y, z, w, u, v ], [ 3 ], [ 2, 2, 2, 2, 2, -1 ], add );
// v => <Float64Array>[ 25.0, 15.0, 5.0, 0.0, 0.0 ]
```

@@ -110,3 +107,2 @@

var Float64Array = require( '@stdlib/array-float64' );
var floor = require( '@stdlib/math-base-special-floor' );

@@ -133,6 +129,4 @@ function add( x, y, z, w, u ) {

var N = floor( x0.length / 2 );
quinary( [ x1, y1, z1, w1, u1, v1 ], [ N ], [ -2, -2, -2, -2, -2, 1 ], add );
// u0 => <Float64Array>[ 0.0, 0.0, 0.0, 30.0, 20.0, 10.0 ]
quinary( [ x1, y1, z1, w1, u1, v1 ], [ 3 ], [ -2, -2, -2, -2, -2, 1 ], add );
// v0 => <Float64Array>[ 0.0, 0.0, 0.0, 30.0, 20.0, 10.0 ]
```

@@ -174,3 +168,2 @@

var Float64Array = require( '@stdlib/array-float64' );
var floor = require( '@stdlib/math-base-special-floor' );

@@ -188,5 +181,3 @@ function add( x, y, z, w, u ) {

var N = floor( x.length / 2 );
quinary.ndarray( [ x, y, z, w, u, v ], [ N ], [ 2, 2, 2, 2, 2, -1 ], [ 1, 1, 1, 1, 1, v.length-1 ], add );
quinary.ndarray( [ x, y, z, w, u, v ], [ 3 ], [ 2, 2, 2, 2, 2, -1 ], [ 1, 1, 1, 1, 1, v.length-1 ], add );
// v => <Float64Array>[ 0.0, 0.0, 0.0, 30.0, 20.0, 10.0 ]

@@ -214,3 +205,3 @@ ```

var filledarray = require( '@stdlib/array-filled' );
var gfillBy = require( '@stdlib/blas-ext-base-gfill-by' );
var filledarrayBy = require( '@stdlib/array-filled-by' );
var quinary = require( '@stdlib/strided-base-quinary' );

@@ -224,20 +215,15 @@

var x = filledarray( 0.0, N, 'generic' );
gfillBy( x.length, x, 1, discreteUniform( -100, 100 ) );
var x = filledarrayBy( N, 'generic', discreteUniform( -100, 100 ) );
console.log( x );
var y = filledarray( 0.0, N, 'generic' );
gfillBy( y.length, y, 1, discreteUniform( -100, 100 ) );
var y = filledarrayBy( N, 'generic', discreteUniform( -100, 100 ) );
console.log( y );
var z = filledarray( 0.0, N, 'generic' );
gfillBy( z.length, z, 1, discreteUniform( -100, 100 ) );
var z = filledarrayBy( N, 'generic', discreteUniform( -100, 100 ) );
console.log( z );
var w = filledarray( 0.0, N, 'generic' );
gfillBy( w.length, w, 1, discreteUniform( -100, 100 ) );
var w = filledarrayBy( N, 'generic', discreteUniform( -100, 100 ) );
console.log( w );
var u = filledarray( 0.0, N, 'generic' );
gfillBy( u.length, u, 1, discreteUniform( -100, 100 ) );
var u = filledarrayBy( N, 'generic', discreteUniform( -100, 100 ) );
console.log( u );

@@ -260,3 +246,13 @@

<!-- Section for related `stdlib` packages. Do not manually edit this section, as it is automatically populated. -->
<section class="related">
</section>
<!-- /.related -->
<!-- Section for all links. Make sure to keep an empty line after the `section` element and another before the `/section` close. -->
<section class="main-repo" >

@@ -285,3 +281,3 @@

Copyright &copy; 2016-2021. The Stdlib [Authors][stdlib-authors].
Copyright &copy; 2016-2022. The Stdlib [Authors][stdlib-authors].

@@ -305,5 +301,16 @@ </section>

<!--
[dependencies-image]: https://img.shields.io/david/stdlib-js/strided-base-quinary.svg
[dependencies-url]: https://david-dm.org/stdlib-js/strided-base-quinary/main
-->
[umd]: https://github.com/umdjs/umd
[es-module]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Guide/Modules
[deno-url]: https://github.com/stdlib-js/strided-base-quinary/tree/deno
[umd-url]: https://github.com/stdlib-js/strided-base-quinary/tree/umd
[esm-url]: https://github.com/stdlib-js/strided-base-quinary/tree/esm
[chat-image]: https://img.shields.io/gitter/room/stdlib-js/stdlib.svg

@@ -310,0 +317,0 @@ [chat-url]: https://gitter.im/stdlib-js/stdlib/