@@ -60,7 +60,7 @@ interface Routine {
6060 * @param N - number of elements along each dimension in the matrix `A`
6161 * @param A - input matrix
6262 * @param strideA1 - stride of the first dimension of `A`
63- * @param strideA2 - stride of the first dimension of `A`
63+ * @param strideA2 - stride of the second dimension of `A`
6464 * @param offsetA - starting index for `A`
6565 * @param x - input vector
6666 * @param strideX - `x` stride length
@@ -73,7 +73,7 @@ interface Routine {
7373 * var A = new Float32Array( [ 1.0, 2.0, 3.0, 0.0, 1.0, 2.0, 0.0, 0.0, 1.0 ] ); // => [ [ 1.0, 2.0, 3.0 ], [ 0.0, 1.0, 2.0 ], [ 0.0, 0.0, 1.0 ] ]
7474 * var x = new Float32Array( [ 1.0, 2.0, 3.0 ] );
7575 *
76- * strsv.ndarray( 'lower ', 'no-transpose', 'unit', 3, A, 3, 1, 0, x, 1, 0 );
76+ * strsv.ndarray( 'upper ', 'no-transpose', 'unit', 3, A, 3, 1, 0, x, 1, 0 );
7777 * // x => <Float32Array>[ 0.0, -4.0, 3.0 ]
7878 */
7979 ndarray ( uplo : MatrixTriangle , trans : TransposeOperation , diag : DiagonalType , N : number , A : Float32Array , strideA1 : number , strideA2 : number , offsetA : number , x : Float32Array , strideX : number , offsetX : number ) : Float32Array ;
0 commit comments