Skip to content

Commit 76ee9ca

Browse files
authored
Apply suggestions from code review
Co-authored-by: Athan <kgryte@gmail.com> Signed-off-by: Athan <kgryte@gmail.com>
1 parent 91b98ae commit 76ee9ca

3 files changed

Lines changed: 5 additions & 5 deletions

File tree

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,14 +13,14 @@
1313

1414
Returns
1515
-------
16-
out: number
16+
out: integer
1717
The index of the first element having the maximum absolute value.
1818

1919
Examples
2020
--------
2121
> var x = new {{alias:@stdlib/ndarray/vector/float64}}( [ 1.0, -2.0, 3.0, -4.0, 5.0 ] );
2222
> {{alias}}( [ x ] )
23-
4.0
23+
4
2424

2525
See Also
2626
--------

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@
3030
* var x = new Float64Vector( [ 1.0, -2.0, 3.0, -4.0, 5.0 ] );
3131
*
3232
* var y = idamax( [ x ] );
33-
* // returns 4.0
33+
* // returns 4
3434
*/
3535

3636
// MODULES //

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,15 +39,15 @@ var strided = require( '@stdlib/blas/base/idamax' ).ndarray;
3939
* - a one-dimensional input ndarray.
4040
*
4141
* @param {ArrayLikeObject<Object>} arrays - array-like object containing ndarrays
42-
* @returns {number} Index value
42+
* @returns {integer} index value
4343
*
4444
* @example
4545
* var Float64Vector = require( '@stdlib/ndarray/vector/float64' );
4646
*
4747
* var x = new Float64Vector( [ 1.0, -2.0, 3.0, -4.0, 5.0 ] );
4848
*
4949
* var y = idamax( [ x ] );
50-
* // returns 4.0
50+
* // returns 4
5151
*/
5252
function idamax( arrays ) {
5353
var x = arrays[ 0 ];

0 commit comments

Comments
 (0)