Skip to content

Commit 4c7f204

Browse files
authored
chore: add example
Signed-off-by: Shabareesh Shetty <[email protected]>
1 parent ad201c7 commit 4c7f204

File tree

1 file changed

+4
-1
lines changed
  • lib/node_modules/@stdlib/blas/base/zdotc/examples

1 file changed

+4
-1
lines changed

lib/node_modules/@stdlib/blas/base/zdotc/examples/index.js

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,5 +34,8 @@ var y = filledarrayBy( 10, 'complex128', rand );
3434
console.log( y.toString() );
3535

3636
// Perform dot product of x and y
37-
var z = zdotc.ndarray( x.length, x, 1, 0, y, 1, 0 );
37+
var z = zdotc( x.length, x, 1, y, 1 );
38+
console.log( z );
39+
40+
z = zdotc.ndarray( x.length, x, 1, 0, y, 1, 0 );
3841
console.log( z );

0 commit comments

Comments
 (0)