@@ -447,10 +447,10 @@ <h1><a href="../../../../../index.html">All files</a> / <a href="index.html">bla
447447* scasum.initializeSync();
448448*
449449* // Define a strided array:
450- * var cx = new Complex64Array( [ 2.0, 1.0, 3.0, 5.0, 4.0, 0.0, 1.0, 3.0 ]);
450+ * var x = new Complex64Array( [ 2.0, 1.0, 3.0, 5.0, 4.0, 0.0, 1.0, 3.0 ]);
451451*
452452* // Perform operation:
453- * var sum = scasum.main( cx .length, cx , 1 );
453+ * var sum = scasum.main( x .length, x , 1 );
454454* // returns 19.0
455455*
456456* @example
@@ -463,10 +463,10 @@ <h1><a href="../../../../../index.html">All files</a> / <a href="index.html">bla
463463* scasum.initializeSync();
464464*
465465* // Define a strided array:
466- * var cx = new Complex64Array( [ 2.0, 1.0, 3.0, 5.0, 4.0, 0.0, 1.0, 3.0 ]);
466+ * var x = new Complex64Array( [ 2.0, 1.0, 3.0, 5.0, 4.0, 0.0, 1.0, 3.0 ]);
467467*
468468* // Perform operation:
469- * var sum = scasum.ndarray( cx .length, cx , 1, 0 );
469+ * var sum = scasum.ndarray( x .length, x , 1, 0 );
470470* // returns 19.0
471471*/
472472function Routine() {
@@ -490,8 +490,8 @@ <h1><a href="../../../../../index.html">All files</a> / <a href="index.html">bla
490490* @readonly
491491* @type {Function}
492492* @param {PositiveInteger} N - number of indexed elements
493- * @param {Float32Array} cx - input array
494- * @param {integer} strideX - `cx ` stride length
493+ * @param {Float32Array} x - input array
494+ * @param {integer} strideX - `x ` stride length
495495* @returns {number} sum of absolute values
496496*
497497* @example
@@ -504,14 +504,14 @@ <h1><a href="../../../../../index.html">All files</a> / <a href="index.html">bla
504504* scasum.initializeSync();
505505*
506506* // Define a strided array:
507- * var cx = new Complex64Array( [ 2.0, 1.0, 3.0, 5.0, 4.0, 0.0, 1.0, 3.0 ]);
507+ * var x = new Complex64Array( [ 2.0, 1.0, 3.0, 5.0, 4.0, 0.0, 1.0, 3.0 ]);
508508*
509509* // Perform operation:
510- * var sum = scasum.main( cx .length, cx , 1 );
510+ * var sum = scasum.main( x .length, x , 1 );
511511* // returns 19.0
512512*/
513- setReadOnly( Routine.prototype, 'main', function scasum( N, cx , strideX ) {
514- return this.ndarray( N, cx , strideX, stride2offset( N, strideX ) );
513+ setReadOnly( Routine.prototype, 'main', function scasum( N, x , strideX ) {
514+ return this.ndarray( N, x , strideX, stride2offset( N, strideX ) );
515515});
516516
517517/**
@@ -522,9 +522,9 @@ <h1><a href="../../../../../index.html">All files</a> / <a href="index.html">bla
522522* @readonly
523523* @type {Function}
524524* @param {PositiveInteger} N - number of indexed elements
525- * @param {Float32Array} cx - input array
526- * @param {integer} strideX - `cx ` stride length
527- * @param {NonNegativeInteger} offsetX - starting `cx ` index
525+ * @param {Float32Array} x - input array
526+ * @param {integer} strideX - `x ` stride length
527+ * @param {NonNegativeInteger} offsetX - starting `x ` index
528528* @returns {number} sum of absolute values
529529*
530530* @example
@@ -537,19 +537,19 @@ <h1><a href="../../../../../index.html">All files</a> / <a href="index.html">bla
537537* scasum.initializeSync();
538538*
539539* // Define a strided array:
540- * var cx = new Complex64Array( [ 2.0, 1.0, 3.0, 5.0, 4.0, 0.0, 1.0, 3.0 ]);
540+ * var x = new Complex64Array( [ 2.0, 1.0, 3.0, 5.0, 4.0, 0.0, 1.0, 3.0 ]);
541541*
542542* // Perform operation:
543- * var sum = scasum.ndarray( cx .length, cx , 1, 0 );
543+ * var sum = scasum.ndarray( x .length, x , 1, 0 );
544544* // returns 19.0
545545*/
546- setReadOnly( Routine.prototype, 'ndarray', function scasum( N, cx , strideX, offsetX ) {
546+ setReadOnly( Routine.prototype, 'ndarray', function scasum( N, x , strideX, offsetX ) {
547547 var ptrs;
548548 var p0;
549549
550550 // Convert the input arrays to "pointers" in the module's memory:
551551 ptrs = arrays2ptrs( this, [
552- strided2object( N, cx , strideX, offsetX )
552+ strided2object( N, x , strideX, offsetX )
553553 ]);
554554 p0 = ptrs[ 0 ];
555555
@@ -568,7 +568,7 @@ <h1><a href="../../../../../index.html">All files</a> / <a href="index.html">bla
568568 < div class ='footer quiet pad2 space-top1 center small '>
569569 Code coverage generated by
570570 < a href ="https://istanbul.js.org/ " target ="_blank " rel ="noopener noreferrer "> istanbul</ a >
571- at 2025-03-22T10:06:42.883Z
571+ at 2025-06-20T12:20:12.117Z
572572 </ div >
573573 < script src ="../../../../../prettify.js "> </ script >
574574 < script >
0 commit comments