diff --git a/lib/node_modules/@stdlib/blas/base/zdotu/docs/types/index.d.ts b/lib/node_modules/@stdlib/blas/base/zdotu/docs/types/index.d.ts index 9f64f6101db..4b17854fee5 100644 --- a/lib/node_modules/@stdlib/blas/base/zdotu/docs/types/index.d.ts +++ b/lib/node_modules/@stdlib/blas/base/zdotu/docs/types/index.d.ts @@ -28,7 +28,7 @@ import { Complex128 } from '@stdlib/types/complex'; */ interface Routine { /** - * Computes the dot product of two double-precision complex floating-point vectors. + * Calculates the dot product of vectors `zx` and `zy`. * * @param N - number of indexed elements * @param zx - first input array @@ -45,7 +45,7 @@ interface Routine { * var zx = new Complex128Array( [ 4.0, 2.0, -3.0, 5.0, -1.0, 7.0 ] ); * var zy = new Complex128Array( [ 2.0, 6.0, -1.0, -4.0, 8.0, 9.0 ] ); * - * var z = zdotu( 3, x, 1, y, 1 ); + * var z = zdotu( 3, zx, 1, zy, 1 ); * // returns * * var re = real( z ); @@ -57,7 +57,7 @@ interface Routine { ( N: number, x: Complex128Array, strideX: number, y: Complex128Array, strideY: number ): Complex128; /** - * Computes the dot product of `zx` and `zy` using alternative indexing semantics. + * Calculates the dot product of vectors `zx` and `zy` using alternative indexing semantics. * * @param N - number of indexed elements * @param zx - first input array @@ -76,7 +76,7 @@ interface Routine { * var zx = new Complex128Array( [ 4.0, 2.0, -3.0, 5.0, -1.0, 7.0 ] ); * var zy = new Complex128Array( [ 2.0, 6.0, -1.0, -4.0, 8.0, 9.0 ] ); * - * var z = zdotu.ndarray( zx.length, x, 1, 0, y, 1, 0 ); + * var z = zdotu.ndarray( zx.length, zx, 1, 0, zy, 1, 0 ); * // returns * * var re = real( z ); @@ -89,7 +89,7 @@ interface Routine { } /** -* Computes the dot product of `x` and `y`. +* Computes the dot product of two double-precision complex floating-point vectors. * * @param N - number of indexed elements * @param zx - first input array diff --git a/lib/node_modules/@stdlib/blas/base/zdotu/lib/ndarray.js b/lib/node_modules/@stdlib/blas/base/zdotu/lib/ndarray.js index 33c42ad052c..fa8e12bb724 100644 --- a/lib/node_modules/@stdlib/blas/base/zdotu/lib/ndarray.js +++ b/lib/node_modules/@stdlib/blas/base/zdotu/lib/ndarray.js @@ -28,7 +28,7 @@ var cadd = require( '@stdlib/complex/float64/base/add' ); // MAIN // /** -* Computes the dot product of `x` and `y`. +* Calculates the dot product of two double-precision complex floating-point vectors. * * @param {integer} N - number of indexed elements * @param {Complex128Array} zx - first input array @@ -43,12 +43,11 @@ var cadd = require( '@stdlib/complex/float64/base/add' ); * var Complex128Array = require( '@stdlib/array/complex128' ); * var real = require( '@stdlib/complex/float64/real' ); * var imag = require( '@stdlib/complex/float64/imag' ); -* var zdotu = require( '@stdlib/blas/base/zdotu' ); * * var zx = new Complex128Array( [ 4.0, 2.0, -3.0, 5.0, -1.0, 7.0 ] ); * var zy = new Complex128Array( [ 2.0, 6.0, -1.0, -4.0, 8.0, 9.0 ] ); * -* var z = zdotu( 3, zx, 1, zy, 1 ); +* var z = zdotu( 3, zx, 1, 0, zy, 1, 0 ); * // returns * * var re = real( z ); diff --git a/lib/node_modules/@stdlib/blas/base/zdotu/lib/zdotu.js b/lib/node_modules/@stdlib/blas/base/zdotu/lib/zdotu.js index 661546e0e7a..5119654eea9 100644 --- a/lib/node_modules/@stdlib/blas/base/zdotu/lib/zdotu.js +++ b/lib/node_modules/@stdlib/blas/base/zdotu/lib/zdotu.js @@ -27,7 +27,7 @@ var ndarray = require( './ndarray.js' ); // MAIN // /** -* Calculates the dot product of vectors `zx` and `zy`. +* Calculates the dot product of two double-precision complex floating-point vectors. * * @param {PositiveInteger} N - number of indexed elements * @param {Complex128Array} zx - first input array