You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: lib/node_modules/@stdlib/blas/ext/base/wasm/dasumpw/lib/routine.js
+2-2Lines changed: 2 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -86,7 +86,7 @@ function Routine() {
86
86
inherits(Routine,Module);
87
87
88
88
/**
89
-
* Adds a scalar constant to each double-precision floating-point strided array element and computes the sum using an improved Kahan–Babuška algorithm.
89
+
* Computes the sum of absolute values (L1 norm) of double-precision floating-point strided array elements using pairwise summation.
90
90
*
91
91
* @name main
92
92
* @memberof Routine.prototype
@@ -118,7 +118,7 @@ setReadOnly( Routine.prototype, 'main', function dasumpw( N, x, strideX ) {
118
118
});
119
119
120
120
/**
121
-
* Adds a scalar constant to each double-precision floating-point strided array element and computes the sum using an improved Kahan–Babuška algorithm and alternative indexing semantics.
121
+
* Computes the sum of absolute values (L1 norm) of double-precision floating-point strided array elements using pairwise summation and alternative indexing semantics.
Copy file name to clipboardExpand all lines: lib/node_modules/@stdlib/blas/ext/base/wasm/dasumpw/test/test.module.main.js
+2-2Lines changed: 2 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -48,7 +48,7 @@ tape( 'a module instance has a `main` method which has an arity of 3', function
48
48
t.end();
49
49
});
50
50
51
-
tape('a module instance has a `main` method that the sum of absolute values of all strided array elements',functiontest(t){
51
+
tape('a module instance has a `main` method that computes the sum of absolute values of strided array elements',functiontest(t){
52
52
varmem;
53
53
varmod;
54
54
varxp;
@@ -179,7 +179,7 @@ tape( 'a module instance has a `main` method which supports a negative `stride`
179
179
t.end();
180
180
});
181
181
182
-
tape('if provided an `stride` parameter equal to `0`, a module instance has a `main` method which returns the absolute value of the first element repeated N times',functiontest(t){
182
+
tape('if provided an `stride` parameter equal to `0`, a module instance has a `main` method which returns sum of the absolute value of the first element repeated N times',functiontest(t){
0 commit comments