Skip to content

Commit d79be4e

Browse files
authored
docs: update example
Signed-off-by: Athan <kgryte@gmail.com>
1 parent 61bc633 commit d79be4e

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

  • lib/node_modules/@stdlib/blas/base/ndarray/daxpy

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

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,9 @@ var y = new ndarray( 'float64', ybuf, [ 5 ], [ 1 ], 0, 'row-major' );
5454
var alpha = scalar2ndarray( 5.0, 'float64', 'row-major' );
5555
var z = daxpy( [ x, y, alpha ] );
5656
// returns <ndarray>[ 6.0, 11.0, 16.0, 21.0, 26.0 ]
57+
58+
var bool = ( y === z );
59+
// returns true
5760
```
5861

5962
The function has the following parameters:

0 commit comments

Comments
 (0)