Skip to content
Merged
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
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,10 @@ tape( 'the function performs element-wise addition via a callback function', fun
addBy( x.length, x, 1, y, 1, z, 1, accessor );
t.deepEqual( z, expected, 'deep equal' );

// eslint-disable-next-line stdlib/no-new-array
x = new Array( 5 ); // sparse array

// eslint-disable-next-line stdlib/no-new-array
y = new Array( 5 ); // sparse array
z = [ 0.0, 0.0, 0.0, 0.0, 0.0 ];

Expand All @@ -86,8 +89,11 @@ tape( 'the function performs element-wise addition via a callback function', fun
addBy( x.length, x, 1, y, 1, z, 1, accessor );
t.deepEqual( z, expected, 'deep equal' );

// eslint-disable-next-line stdlib/no-new-array
x = new Array( 5 ); // sparse array
x[ 2 ] = rand();

// eslint-disable-next-line stdlib/no-new-array
y = new Array( 5 ); // sparse array
y[ 2 ] = rand();
z = [ 0.0, 0.0, 0.0, 0.0, 0.0 ];
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,10 @@ tape( 'the function performs element-wise addition via a callback function', fun
addBy( x.length, x, 1, 0, y, 1, 0, z, 1, 0, accessor );
t.deepEqual( z, expected, 'deep equal' );

// eslint-disable-next-line stdlib/no-new-array
x = new Array( 5 ); // sparse array

// eslint-disable-next-line stdlib/no-new-array
y = new Array( 5 ); // sparse array
z = [ 0.0, 0.0, 0.0, 0.0, 0.0 ];

Expand All @@ -85,8 +88,11 @@ tape( 'the function performs element-wise addition via a callback function', fun
addBy( x.length, x, 1, 0, y, 1, 0, z, 1, 0, accessor );
t.deepEqual( z, expected, 'deep equal' );

// eslint-disable-next-line stdlib/no-new-array
x = new Array( 5 ); // sparse array
x[ 2 ] = rand();

// eslint-disable-next-line stdlib/no-new-array
y = new Array( 5 ); // sparse array
y[ 2 ] = rand();
z = [ 0.0, 0.0, 0.0, 0.0, 0.0 ];
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,10 @@ tape( 'the function performs element-wise multiplication via a callback function
mulBy( x.length, x, 1, y, 1, z, 1, accessor );
t.deepEqual( z, expected, 'deep equal' );

// eslint-disable-next-line stdlib/no-new-array
x = new Array( 5 ); // sparse array

// eslint-disable-next-line stdlib/no-new-array
y = new Array( 5 ); // sparse array
z = [ 0.0, 0.0, 0.0, 0.0, 0.0 ];

Expand All @@ -86,8 +89,11 @@ tape( 'the function performs element-wise multiplication via a callback function
mulBy( x.length, x, 1, y, 1, z, 1, accessor );
t.deepEqual( z, expected, 'deep equal' );

// eslint-disable-next-line stdlib/no-new-array
x = new Array( 5 ); // sparse array
x[ 2 ] = rand();

// eslint-disable-next-line stdlib/no-new-array
y = new Array( 5 ); // sparse array
y[ 2 ] = rand();
z = [ 0.0, 0.0, 0.0, 0.0, 0.0 ];
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,10 @@ tape( 'the function performs element-wise multiplication via a callback function
mulBy( x.length, x, 1, 0, y, 1, 0, z, 1, 0, accessor );
t.deepEqual( z, expected, 'deep equal' );

// eslint-disable-next-line stdlib/no-new-array
x = new Array( 5 ); // sparse array

// eslint-disable-next-line stdlib/no-new-array
y = new Array( 5 ); // sparse array
z = [ 0.0, 0.0, 0.0, 0.0, 0.0 ];

Expand All @@ -85,8 +88,11 @@ tape( 'the function performs element-wise multiplication via a callback function
mulBy( x.length, x, 1, 0, y, 1, 0, z, 1, 0, accessor );
t.deepEqual( z, expected, 'deep equal' );

// eslint-disable-next-line stdlib/no-new-array
x = new Array( 5 ); // sparse array
x[ 2 ] = rand();

// eslint-disable-next-line stdlib/no-new-array
y = new Array( 5 ); // sparse array
y[ 2 ] = rand();
z = [ 0.0, 0.0, 0.0, 0.0, 0.0 ];
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,10 @@ tape( 'the function performs element-wise subtraction via a callback function',
subBy( x.length, x, 1, y, 1, z, 1, accessor );
t.deepEqual( z, expected, 'deep equal' );

// eslint-disable-next-line stdlib/no-new-array
x = new Array( 5 ); // sparse array

// eslint-disable-next-line stdlib/no-new-array
y = new Array( 5 ); // sparse array
z = [ 0.0, 0.0, 0.0, 0.0, 0.0 ];

Expand All @@ -86,8 +89,11 @@ tape( 'the function performs element-wise subtraction via a callback function',
subBy( x.length, x, 1, y, 1, z, 1, accessor );
t.deepEqual( z, expected, 'deep equal' );

// eslint-disable-next-line stdlib/no-new-array
x = new Array( 5 ); // sparse array
x[ 2 ] = rand();

// eslint-disable-next-line stdlib/no-new-array
y = new Array( 5 ); // sparse array
y[ 2 ] = rand();
z = [ 0.0, 0.0, 0.0, 0.0, 0.0 ];
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,10 @@ tape( 'the function performs element-wise subtraction via a callback function',
subBy( x.length, x, 1, 0, y, 1, 0, z, 1, 0, accessor );
t.deepEqual( z, expected, 'deep equal' );

// eslint-disable-next-line stdlib/no-new-array
x = new Array( 5 ); // sparse array

// eslint-disable-next-line stdlib/no-new-array
y = new Array( 5 ); // sparse array
z = [ 0.0, 0.0, 0.0, 0.0, 0.0 ];

Expand All @@ -85,8 +88,11 @@ tape( 'the function performs element-wise subtraction via a callback function',
subBy( x.length, x, 1, 0, y, 1, 0, z, 1, 0, accessor );
t.deepEqual( z, expected, 'deep equal' );

// eslint-disable-next-line stdlib/no-new-array
x = new Array( 5 ); // sparse array
x[ 2 ] = rand();

// eslint-disable-next-line stdlib/no-new-array
y = new Array( 5 ); // sparse array
y[ 2 ] = rand();
z = [ 0.0, 0.0, 0.0, 0.0, 0.0 ];
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,7 @@ tape( 'the function computes the absolute value of each indexed strided array el
absBy( x.length, x, 1, 0, y, 1, 0, accessor );
t.deepEqual( y, expected, 'deep equal' );

// eslint-disable-next-line stdlib/no-new-array
x = new Array( 5 ); // sparse array
y = [ 0.0, 0.0, 0.0, 0.0, 0.0 ];

Expand All @@ -69,6 +70,7 @@ tape( 'the function computes the absolute value of each indexed strided array el
absBy( x.length, x, 1, 0, y, 1, 0, accessor );
t.deepEqual( y, expected, 'deep equal' );

// eslint-disable-next-line stdlib/no-new-array
x = new Array( 5 ); // sparse array
x[ 2 ] = -3.0;
y = [ 0.0, 0.0, 0.0, 0.0, 0.0 ];
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,7 @@ tape( 'the function computes the squared absolute value of each indexed strided
abs2By( x.length, x, 1, y, 1, accessor );
t.deepEqual( y, expected, 'deep equal' );

// eslint-disable-next-line stdlib/no-new-array
x = new Array( 5 ); // sparse array
y = [ 0.0, 0.0, 0.0, 0.0, 0.0 ];

Expand All @@ -82,6 +83,7 @@ tape( 'the function computes the squared absolute value of each indexed strided
abs2By( x.length, x, 1, y, 1, accessor );
t.deepEqual( y, expected, 'deep equal' );

// eslint-disable-next-line stdlib/no-new-array
x = new Array( 5 ); // sparse array
x[ 2 ] = rand();
y = [ 0.0, 0.0, 0.0, 0.0, 0.0 ];
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,7 @@ tape( 'the function computes the squared absolute value of each indexed strided
abs2By( x.length, x, 1, 0, y, 1, 0, accessor );
t.deepEqual( y, expected, 'deep equal' );

// eslint-disable-next-line stdlib/no-new-array
x = new Array( 5 ); // sparse array
y = [ 0.0, 0.0, 0.0, 0.0, 0.0 ];

Expand All @@ -81,6 +82,7 @@ tape( 'the function computes the squared absolute value of each indexed strided
abs2By( x.length, x, 1, 0, y, 1, 0, accessor );
t.deepEqual( y, expected, 'deep equal' );

// eslint-disable-next-line stdlib/no-new-array
x = new Array( 5 ); // sparse array
x[ 2 ] = rand();
y = [ 0.0, 0.0, 0.0, 0.0, 0.0 ];
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,7 @@ tape( 'the function computes the arccosine via a callback function', function te
acosBy( x.length, x, 1, y, 1, accessor );
t.deepEqual( y, expected, 'deep equal' );

// eslint-disable-next-line stdlib/no-new-array
x = new Array( 5 ); // sparse array
y = [ 0.0, 0.0, 0.0, 0.0, 0.0 ];

Expand All @@ -82,6 +83,7 @@ tape( 'the function computes the arccosine via a callback function', function te
acosBy( x.length, x, 1, y, 1, accessor );
t.deepEqual( y, expected, 'deep equal' );

// eslint-disable-next-line stdlib/no-new-array
x = new Array( 5 ); // sparse array
x[ 2 ] = rand();
y = [ 0.0, 0.0, 0.0, 0.0, 0.0 ];
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,7 @@ tape( 'the function computes the arccosine via a callback function', function te
acosBy( x.length, x, 1, 0, y, 1, 0, accessor );
t.deepEqual( y, expected, 'deep equal' );

// eslint-disable-next-line stdlib/no-new-array
x = new Array( 5 ); // sparse array
y = [ 0.0, 0.0, 0.0, 0.0, 0.0 ];

Expand All @@ -81,6 +82,7 @@ tape( 'the function computes the arccosine via a callback function', function te
acosBy( x.length, x, 1, 0, y, 1, 0, accessor );
t.deepEqual( y, expected, 'deep equal' );

// eslint-disable-next-line stdlib/no-new-array
x = new Array( 5 ); // sparse array
x[ 2 ] = rand();
y = [ 0.0, 0.0, 0.0, 0.0, 0.0 ];
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,7 @@ tape( 'the function computes the hyperbolic arccosine via a callback function',
acoshBy( x.length, x, 1, y, 1, accessor );
t.deepEqual( y, expected, 'deep equal' );

// eslint-disable-next-line stdlib/no-new-array
x = new Array( 5 ); // sparse array
y = [ 0.0, 0.0, 0.0, 0.0, 0.0 ];

Expand All @@ -82,6 +83,7 @@ tape( 'the function computes the hyperbolic arccosine via a callback function',
acoshBy( x.length, x, 1, y, 1, accessor );
t.deepEqual( y, expected, 'deep equal' );

// eslint-disable-next-line stdlib/no-new-array
x = new Array( 5 ); // sparse array
x[ 2 ] = rand();
y = [ 0.0, 0.0, 0.0, 0.0, 0.0 ];
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,7 @@ tape( 'the function computes the hyperbolic arccosine via a callback function',
acoshBy( x.length, x, 1, 0, y, 1, 0, accessor );
t.deepEqual( y, expected, 'deep equal' );

// eslint-disable-next-line stdlib/no-new-array
x = new Array( 5 ); // sparse array
y = [ 0.0, 0.0, 0.0, 0.0, 0.0 ];

Expand All @@ -81,6 +82,7 @@ tape( 'the function computes the hyperbolic arccosine via a callback function',
acoshBy( x.length, x, 1, 0, y, 1, 0, accessor );
t.deepEqual( y, expected, 'deep equal' );

// eslint-disable-next-line stdlib/no-new-array
x = new Array( 5 ); // sparse array
x[ 2 ] = rand();
y = [ 0.0, 0.0, 0.0, 0.0, 0.0 ];
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,7 @@ tape( 'the function computes the inverse cotangent via a callback function', fun
acotBy( x.length, x, 1, y, 1, accessor );
t.deepEqual( y, expected, 'deep equal' );

// eslint-disable-next-line stdlib/no-new-array
x = new Array( 5 ); // sparse array
y = [ 0.0, 0.0, 0.0, 0.0, 0.0 ];

Expand All @@ -82,6 +83,7 @@ tape( 'the function computes the inverse cotangent via a callback function', fun
acotBy( x.length, x, 1, y, 1, accessor );
t.deepEqual( y, expected, 'deep equal' );

// eslint-disable-next-line stdlib/no-new-array
x = new Array( 5 ); // sparse array
x[ 2 ] = rand();
y = [ 0.0, 0.0, 0.0, 0.0, 0.0 ];
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,7 @@ tape( 'the function computes the inverse cotangent via a callback function', fun
acotBy( x.length, x, 1, 0, y, 1, 0, accessor );
t.deepEqual( y, expected, 'deep equal' );

// eslint-disable-next-line stdlib/no-new-array
x = new Array( 5 ); // sparse array
y = [ 0.0, 0.0, 0.0, 0.0, 0.0 ];

Expand All @@ -81,6 +82,7 @@ tape( 'the function computes the inverse cotangent via a callback function', fun
acotBy( x.length, x, 1, 0, y, 1, 0, accessor );
t.deepEqual( y, expected, 'deep equal' );

// eslint-disable-next-line stdlib/no-new-array
x = new Array( 5 ); // sparse array
x[ 2 ] = rand();
y = [ 0.0, 0.0, 0.0, 0.0, 0.0 ];
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,7 @@ tape( 'the function computes the inverse hyperbolic cotangent via a callback fun
acothBy( x.length, x, 1, y, 1, accessor );
t.deepEqual( y, expected, 'deep equal' );

// eslint-disable-next-line stdlib/no-new-array
x = new Array( 5 ); // sparse array
y = [ 0.0, 0.0, 0.0, 0.0, 0.0 ];

Expand All @@ -82,6 +83,7 @@ tape( 'the function computes the inverse hyperbolic cotangent via a callback fun
acothBy( x.length, x, 1, y, 1, accessor );
t.deepEqual( y, expected, 'deep equal' );

// eslint-disable-next-line stdlib/no-new-array
x = new Array( 5 ); // sparse array
x[ 2 ] = rand();
y = [ 0.0, 0.0, 0.0, 0.0, 0.0 ];
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,7 @@ tape( 'the function computes the inverse hyperbolic cotangent via a callback fun
acothBy( x.length, x, 1, 0, y, 1, 0, accessor );
t.deepEqual( y, expected, 'deep equal' );

// eslint-disable-next-line stdlib/no-new-array
x = new Array( 5 ); // sparse array
y = [ 0.0, 0.0, 0.0, 0.0, 0.0 ];

Expand All @@ -81,6 +82,7 @@ tape( 'the function computes the inverse hyperbolic cotangent via a callback fun
acothBy( x.length, x, 1, 0, y, 1, 0, accessor );
t.deepEqual( y, expected, 'deep equal' );

// eslint-disable-next-line stdlib/no-new-array
x = new Array( 5 ); // sparse array
x[ 2 ] = rand();
y = [ 0.0, 0.0, 0.0, 0.0, 0.0 ];
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,7 @@ tape( 'the function computes the inverse coversed sine via a callback function',
acoversinBy( x.length, x, 1, 0, y, 1, 0, accessor );
t.deepEqual( y, expected, 'deep equal' );

// eslint-disable-next-line stdlib/no-new-array
x = new Array( 5 ); // sparse array
y = [ 0.0, 0.0, 0.0, 0.0, 0.0 ];

Expand All @@ -81,6 +82,7 @@ tape( 'the function computes the inverse coversed sine via a callback function',
acoversinBy( x.length, x, 1, 0, y, 1, 0, accessor );
t.deepEqual( y, expected, 'deep equal' );

// eslint-disable-next-line stdlib/no-new-array
x = new Array( 5 ); // sparse array
x[ 2 ] = rand();
y = [ 0.0, 0.0, 0.0, 0.0, 0.0 ];
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,7 @@ tape( 'the function computes the inverse half-value versed sine via a callback f
ahaversinBy( x.length, x, 1, y, 1, accessor );
t.deepEqual( y, expected, 'deep equal' );

// eslint-disable-next-line stdlib/no-new-array
x = new Array( 5 ); // sparse array
y = [ 0.0, 0.0, 0.0, 0.0, 0.0 ];

Expand All @@ -82,6 +83,7 @@ tape( 'the function computes the inverse half-value versed sine via a callback f
ahaversinBy( x.length, x, 1, y, 1, accessor );
t.deepEqual( y, expected, 'deep equal' );

// eslint-disable-next-line stdlib/no-new-array
x = new Array( 5 ); // sparse array
x[ 2 ] = rand();
y = [ 0.0, 0.0, 0.0, 0.0, 0.0 ];
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,7 @@ tape( 'the function computes the inverse half-value versed sine via a callback f
ahaversinBy( x.length, x, 1, 0, y, 1, 0, accessor );
t.deepEqual( y, expected, 'deep equal' );

// eslint-disable-next-line stdlib/no-new-array
x = new Array( 5 ); // sparse array
y = [ 0.0, 0.0, 0.0, 0.0, 0.0 ];

Expand All @@ -81,6 +82,7 @@ tape( 'the function computes the inverse half-value versed sine via a callback f
ahaversinBy( x.length, x, 1, 0, y, 1, 0, accessor );
t.deepEqual( y, expected, 'deep equal' );

// eslint-disable-next-line stdlib/no-new-array
x = new Array( 5 ); // sparse array
x[ 2 ] = rand();
y = [ 0.0, 0.0, 0.0, 0.0, 0.0 ];
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,7 @@ tape( 'the function computes the arcsine via a callback function', function test
asinBy( x.length, x, 1, y, 1, accessor );
t.deepEqual( y, expected, 'deep equal' );

// eslint-disable-next-line stdlib/no-new-array
x = new Array( 5 ); // sparse array
y = [ 0.0, 0.0, 0.0, 0.0, 0.0 ];

Expand All @@ -82,6 +83,7 @@ tape( 'the function computes the arcsine via a callback function', function test
asinBy( x.length, x, 1, y, 1, accessor );
t.deepEqual( y, expected, 'deep equal' );

// eslint-disable-next-line stdlib/no-new-array
x = new Array( 5 ); // sparse array
x[ 2 ] = rand();
y = [ 0.0, 0.0, 0.0, 0.0, 0.0 ];
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,7 @@ tape( 'the function computes the arcsine via a callback function', function test
asinBy( x.length, x, 1, 0, y, 1, 0, accessor );
t.deepEqual( y, expected, 'deep equal' );

// eslint-disable-next-line stdlib/no-new-array
x = new Array( 5 ); // sparse array
y = [ 0.0, 0.0, 0.0, 0.0, 0.0 ];

Expand All @@ -81,6 +82,7 @@ tape( 'the function computes the arcsine via a callback function', function test
asinBy( x.length, x, 1, 0, y, 1, 0, accessor );
t.deepEqual( y, expected, 'deep equal' );

// eslint-disable-next-line stdlib/no-new-array
x = new Array( 5 ); // sparse array
x[ 2 ] = rand();
y = [ 0.0, 0.0, 0.0, 0.0, 0.0 ];
Expand Down
Loading