Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
Signed-off-by: Athan <[email protected]>
  • Loading branch information
kgryte authored Mar 10, 2024
1 parent 8504d97 commit fa8de74
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions lib/node_modules/@stdlib/blas/ext/base/ssumkbn/docs/repl.txt
Original file line number Diff line number Diff line change
Expand Up @@ -36,15 +36,13 @@

// Using `N` and `stride` parameters:
> x = new {{alias:@stdlib/array/float32}}( [ -2.0, 1.0, 1.0, -5.0, 2.0, -1.0 ] );
> var stride = 2;
> {{alias}}( 3, x, stride )
> {{alias}}( 3, x, 2 )
1.0

// Using view offsets:
> var x0 = new {{alias:@stdlib/array/float32}}( [ 1.0, -2.0, 3.0, 2.0, 5.0, -1.0 ] );
> var x1 = new {{alias:@stdlib/array/float32}}( x0.buffer, x0.BYTES_PER_ELEMENT*1 );
> stride = 2;
> {{alias}}( 3, x1, stride )
> {{alias}}( 3, x1, 2 )
-1.0


Expand Down Expand Up @@ -84,7 +82,7 @@
1.0

// Using offset parameter:
> var x = new {{alias:@stdlib/array/float32}}( [ 1.0, -2.0, 3.0, 2.0, 5.0, -1.0 ] );
> x = new {{alias:@stdlib/array/float32}}( [ 1.0, -2.0, 3.0, 2.0, 5.0, -1.0 ] );
> {{alias}}.ndarray( 3, x, 2, 1 )
-1.0

Expand Down

0 comments on commit fa8de74

Please sign in to comment.