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
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
var tape = require( 'tape' );
var isSameComplex64Array = require( '@stdlib/assert/is-same-complex64array' );
var Complex64Array = require( '@stdlib/array/complex64' );
var ctriu = require( './../lib/ctriu' );
var ctriu = require( './../lib/ctriu.js' );


// TESTS //
Expand Down Expand Up @@ -65,7 +65,7 @@

function badValue( value ) {
return function badValue() {
var A = new Complex64Array( [ 1.0, 1.0, 2.0, 2.0, 3.0, 3.0, 4.0, 4.0 ] );

Check warning on line 68 in lib/node_modules/@stdlib/blas/ext/base/ctriu/test/test.ctriu.js

View workflow job for this annotation

GitHub Actions / Lint Changed Files

This line has a length of 85. Maximum allowed is 80
var B = new Complex64Array( 4 );
ctriu( value, 2, 2, 0, A, 2, B, 2 );
};
Expand All @@ -84,7 +84,7 @@

function badValue( value ) {
return function badValue() {
var A = new Complex64Array( [ 1.0, 1.0, 2.0, 2.0, 3.0, 3.0, 4.0, 4.0 ] );

Check warning on line 87 in lib/node_modules/@stdlib/blas/ext/base/ctriu/test/test.ctriu.js

View workflow job for this annotation

GitHub Actions / Lint Changed Files

This line has a length of 85. Maximum allowed is 80
var B = new Complex64Array( 4 );
ctriu( 'row-major', 2, 2, 0, A, value, B, 2 );
};
Expand All @@ -103,7 +103,7 @@

function badValue( value ) {
return function badValue() {
var A = new Complex64Array( [ 1.0, 1.0, 2.0, 2.0, 3.0, 3.0, 4.0, 4.0 ] );

Check warning on line 106 in lib/node_modules/@stdlib/blas/ext/base/ctriu/test/test.ctriu.js

View workflow job for this annotation

GitHub Actions / Lint Changed Files

This line has a length of 85. Maximum allowed is 80
var B = new Complex64Array( 4 );
ctriu( 'row-major', 2, 2, 0, A, 2, B, value );
};
Expand All @@ -122,7 +122,7 @@

function badValue( value ) {
return function badValue() {
var A = new Complex64Array( [ 1.0, 1.0, 2.0, 2.0, 3.0, 3.0, 4.0, 4.0 ] );

Check warning on line 125 in lib/node_modules/@stdlib/blas/ext/base/ctriu/test/test.ctriu.js

View workflow job for this annotation

GitHub Actions / Lint Changed Files

This line has a length of 85. Maximum allowed is 80
var B = new Complex64Array( 4 );
ctriu( 'column-major', 2, 2, 0, A, value, B, 2 );
};
Expand All @@ -141,7 +141,7 @@

function badValue( value ) {
return function badValue() {
var A = new Complex64Array( [ 1.0, 1.0, 2.0, 2.0, 3.0, 3.0, 4.0, 4.0 ] );

Check warning on line 144 in lib/node_modules/@stdlib/blas/ext/base/ctriu/test/test.ctriu.js

View workflow job for this annotation

GitHub Actions / Lint Changed Files

This line has a length of 85. Maximum allowed is 80
var B = new Complex64Array( 4 );
ctriu( 'column-major', 2, 2, 0, A, 2, B, value );
};
Expand All @@ -154,12 +154,12 @@
var A;
var B;

A = new Complex64Array( [ 1.0, 1.0, 2.0, 2.0, 3.0, 3.0, 4.0, 4.0, 5.0, 5.0, 6.0, 6.0, 7.0, 7.0, 8.0, 8.0, 9.0, 9.0 ] );

Check warning on line 157 in lib/node_modules/@stdlib/blas/ext/base/ctriu/test/test.ctriu.js

View workflow job for this annotation

GitHub Actions / Lint Changed Files

This line has a length of 123. Maximum allowed is 80
B = new Complex64Array( 9 );

out = ctriu( 'row-major', 3, 3, 0, A, 3, B, 3 );

expected = new Complex64Array( [ 1.0, 1.0, 2.0, 2.0, 3.0, 3.0, 0.0, 0.0, 5.0, 5.0, 6.0, 6.0, 0.0, 0.0, 0.0, 0.0, 9.0, 9.0 ] );

Check warning on line 162 in lib/node_modules/@stdlib/blas/ext/base/ctriu/test/test.ctriu.js

View workflow job for this annotation

GitHub Actions / Lint Changed Files

This line has a length of 130. Maximum allowed is 80
t.strictEqual( out, B, 'returns expected value' );
t.strictEqual( isSameComplex64Array( out, expected ), true, 'returns expected value' );
t.end();
Expand All @@ -171,12 +171,12 @@
var A;
var B;

A = new Complex64Array( [ 1.0, 1.0, 2.0, 2.0, 3.0, 3.0, 4.0, 4.0, 5.0, 5.0, 6.0, 6.0, 7.0, 7.0, 8.0, 8.0, 9.0, 9.0 ] );

Check warning on line 174 in lib/node_modules/@stdlib/blas/ext/base/ctriu/test/test.ctriu.js

View workflow job for this annotation

GitHub Actions / Lint Changed Files

This line has a length of 123. Maximum allowed is 80
B = new Complex64Array( 9 );

out = ctriu( 'row-major', 3, 3, 1, A, 3, B, 3 );

expected = new Complex64Array( [ 0.0, 0.0, 2.0, 2.0, 3.0, 3.0, 0.0, 0.0, 0.0, 0.0, 6.0, 6.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0 ] );

Check warning on line 179 in lib/node_modules/@stdlib/blas/ext/base/ctriu/test/test.ctriu.js

View workflow job for this annotation

GitHub Actions / Lint Changed Files

This line has a length of 130. Maximum allowed is 80
t.strictEqual( isSameComplex64Array( out, expected ), true, 'returns expected value' );
t.end();
});
Expand All @@ -187,7 +187,7 @@
var A;
var B;

A = new Complex64Array( [ 1.0, 1.0, 2.0, 2.0, 3.0, 3.0, 4.0, 4.0, 5.0, 5.0, 6.0, 6.0, 7.0, 7.0, 8.0, 8.0, 9.0, 9.0 ] );

Check warning on line 190 in lib/node_modules/@stdlib/blas/ext/base/ctriu/test/test.ctriu.js

View workflow job for this annotation

GitHub Actions / Lint Changed Files

This line has a length of 123. Maximum allowed is 80
B = new Complex64Array( 9 );

out = ctriu( 'row-major', 3, 3, -1, A, 3, B, 3 );
Expand Down
2 changes: 1 addition & 1 deletion lib/node_modules/@stdlib/blas/ext/base/ztriu/lib/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
// MODULES //

var setReadOnly = require( '@stdlib/utils/define-nonenumerable-read-only-property' );
var ztriu = require( './ztriu' );
var ztriu = require( './ztriu.js' );
var ndarray = require( './ndarray.js' );


Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
var tape = require( 'tape' );
var isSameComplex128Array = require( '@stdlib/assert/is-same-complex128array' );
var Complex128Array = require( '@stdlib/array/complex128' );
var ztriu = require( './../lib/ztriu' );
var ztriu = require( './../lib/ztriu.js' );


// TESTS //
Expand Down
20 changes: 0 additions & 20 deletions lib/node_modules/@stdlib/complex/float32/base/div/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -253,20 +253,6 @@ int main( void ) {

<!-- /.c -->

* * *

<section class="references">

## References

- Smith, Robert L. 1962. "Algorithm 116: Complex Division." _Commun. ACM_ 5 (8). New York, NY, USA: ACM: 435. doi:[10.1145/368637.368661][@smith:1962a].
- Stewart, G. W. 1985. "A Note on Complex Division." _ACM Trans. Math. Softw._ 11 (3). New York, NY, USA: ACM: 238–41. doi:[10.1145/214408.214414][@stewart:1985a].
- Priest, Douglas M. 2004. "Efficient Scaling for Complex Division." _ACM Trans. Math. Softw._ 30 (4). New York, NY, USA: ACM: 389–401. doi:[10.1145/1039813.1039814][@priest:2004a].

</section>

<!-- /.references -->

<!-- Section for related `stdlib` packages. Do not manually edit this section, as it is automatically populated. -->

<section class="related">
Expand All @@ -279,12 +265,6 @@ int main( void ) {

<section class="links">

[@smith:1962a]: https://doi.org/10.1145/368637.368661

[@stewart:1985a]: https://doi.org/10.1145/214408.214414

[@priest:2004a]: https://doi.org/10.1145/1039813.1039814

</section>

<!-- /.links -->
Loading