Skip to content

Commit d84d6ea

Browse files
authored
Apply suggestions from code review
Co-authored-by: Athan <kgryte@gmail.com> Signed-off-by: Athan <kgryte@gmail.com>
1 parent 7beec8c commit d84d6ea

File tree

7 files changed

+9
-9
lines changed

7 files changed

+9
-9
lines changed

lib/node_modules/@stdlib/blas/base/ndarray/dasum/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ limitations under the License.
2020

2121
# dasum
2222

23-
> Calculate the sum of absolute values of a one-dimensional double-precision floating-point ndarray.
23+
> Calculate the sum of absolute values for all elements in a one-dimensional double-precision floating-point ndarray.
2424
2525
<section class="intro">
2626

@@ -53,7 +53,7 @@ var dasum = require( '@stdlib/blas/base/ndarray/dasum' );
5353

5454
#### dasum( arrays )
5555

56-
Computes the sum of absolute values of a one-dimensional double-precision floating-point ndarray.
56+
Computes the sum of absolute values for all elements in a one-dimensional double-precision floating-point ndarray.
5757

5858
```javascript
5959
var Float64Array = require( '@stdlib/array/float64' );

lib/node_modules/@stdlib/blas/base/ndarray/dasum/docs/repl.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11

22
{{alias}}( arrays )
3-
Computes the sum of absolute values of a one-dimensional double-precision
4-
floating-point ndarray.
3+
Computes the sum of absolute values for all elements in a one-dimensional
4+
double-precision floating-point ndarray.
55

66
If provided an empty input ndarray, the function returns `0.0`.
77

lib/node_modules/@stdlib/blas/base/ndarray/dasum/docs/types/index.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
import { float64ndarray } from '@stdlib/types/ndarray';
2424

2525
/**
26-
* Computes the sum of absolute values of a one-dimensional double-precision floating-point ndarray.
26+
* Computes the sum of absolute values for all elements in a one-dimensional double-precision floating-point ndarray.
2727
*
2828
* @param arrays - array-like object containing a one-dimensional input ndarray
2929
* @returns sum

lib/node_modules/@stdlib/blas/base/ndarray/dasum/lib/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
'use strict';
2020

2121
/**
22-
* BLAS level 1 routine to compute the sum of absolute values of a one-dimensional double-precision floating-point ndarray.
22+
* BLAS level 1 routine to compute the sum of absolute values for all elements in a one-dimensional double-precision floating-point ndarray.
2323
*
2424
* @module @stdlib/blas/base/ndarray/dasum
2525
*

lib/node_modules/@stdlib/blas/base/ndarray/dasum/lib/main.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ var strided = require( '@stdlib/blas/base/dasum' ).ndarray;
3030
// MAIN //
3131

3232
/**
33-
* Computes the sum of absolute values of a one-dimensional double-precision floating-point ndarray.
33+
* Computes the sum of absolute values for all elements in a one-dimensional double-precision floating-point ndarray.
3434
*
3535
* @param {ArrayLikeObject<Object>} arrays - array-like object containing a one-dimensional input ndarray
3636
* @returns {number} sum

lib/node_modules/@stdlib/blas/base/ndarray/dasum/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "@stdlib/blas/base/ndarray/dasum",
33
"version": "0.0.0",
4-
"description": "Compute the sum of absolute values of a one-dimensional double-precision floating-point ndarray.",
4+
"description": "Compute the sum of absolute values for all elements in a one-dimensional double-precision floating-point ndarray.",
55
"license": "Apache-2.0",
66
"author": {
77
"name": "The Stdlib Authors",

lib/node_modules/@stdlib/blas/base/ndarray/dasum/test/test.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ tape( 'the function has an arity of 1', function test( t ) {
5656
t.end();
5757
});
5858

59-
tape( 'the function calculates the sum of absolute values of a one-dimensional ndarray', function test( t ) {
59+
tape( 'the function calculates the sum of absolute values for all elements in a one-dimensional ndarray', function test( t ) {
6060
var xbuf;
6161
var x;
6262
var y;

0 commit comments

Comments
 (0)