Skip to content

Commit dbe5a8d

Browse files
authored
chore: update precision
Signed-off-by: Shabareesh Shetty <[email protected]>
1 parent 24f8888 commit dbe5a8d

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

lib/node_modules/@stdlib/blas/base/ssyr2/lib/ssyr2.native.js

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -38,29 +38,29 @@ var addon = require( './../src/addon.node' );
3838
* @param {string} uplo - specifies whether the upper or lower triangular part of the symmetric matrix `A` should be referenced
3939
* @param {NonNegativeInteger} N - number of elements along each dimension of `A`
4040
* @param {number} alpha - scalar constant
41-
* @param {Float64Array} x - first input vector
41+
* @param {Float32Array} x - first input vector
4242
* @param {integer} strideX - `x` stride length
43-
* @param {Float64Array} y - second input vector
43+
* @param {Float32Array} y - second input vector
4444
* @param {integer} strideY - `y` stride length
45-
* @param {Float64Array} A - input matrix
45+
* @param {Float32Array} A - input matrix
4646
* @param {integer} LDA - stride of the first dimension of `A` (a.k.a., leading dimension of the matrix `A`)
4747
* @throws {TypeError} first argument must be a valid order
4848
* @throws {TypeError} second argument must specify whether to reference the lower or upper triangular matrix
4949
* @throws {RangeError} third argument must be a nonnegative integer
5050
* @throws {RangeError} sixth argument must be non-zero
5151
* @throws {RangeError} eighth argument must be non-zero
5252
* @throws {RangeError} tenth argument must be a valid stride
53-
* @returns {Float64Array} `A`
53+
* @returns {Float32Array} `A`
5454
*
5555
* @example
56-
* var Float64Array = require( '@stdlib/array/float64' );
56+
* var Float32Array = require( '@stdlib/array/float32' );
5757
*
58-
* var A = new Float64Array( [ 1.0, 2.0, 3.0, 2.0, 1.0, 2.0, 3.0, 2.0, 1.0 ] ); // => [ [ 1.0, 2.0, 3.0 ], [ 2.0, 1.0, 2.0 ], [ 3.0, 2.0, 1.0 ] ]
59-
* var x = new Float64Array( [ 1.0, 2.0, 3.0 ] );
60-
* var y = new Float64Array( [ 1.0, 2.0, 3.0 ] );
58+
* var A = new Float32Array( [ 1.0, 2.0, 3.0, 2.0, 1.0, 2.0, 3.0, 2.0, 1.0 ] ); // => [ [ 1.0, 2.0, 3.0 ], [ 2.0, 1.0, 2.0 ], [ 3.0, 2.0, 1.0 ] ]
59+
* var x = new Float32Array( [ 1.0, 2.0, 3.0 ] );
60+
* var y = new Float32Array( [ 1.0, 2.0, 3.0 ] );
6161
*
6262
* ssyr2( 'row-major', 'upper', 3, 1.0, x, 1, y, 1, A, 3 );
63-
* // A => <Float64Array>[ 3.0, 6.0, 9.0, 2.0, 9.0, 14.0, 3.0, 2.0, 19.0 ]
63+
* // A => <Float32Array>[ 3.0, 6.0, 9.0, 2.0, 9.0, 14.0, 3.0, 2.0, 19.0 ]
6464
*/
6565
function ssyr2( order, uplo, N, alpha, x, strideX, y, strideY, A, LDA ) {
6666
if ( !isLayout( order ) ) {

0 commit comments

Comments
 (0)