You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* Solve matrix equation `op(A) * X = alpha * B` or `X * op(A) = alpha * B` where `alpha` is a scalar, `X` and `B` are `m` by `n` matrices, `A` is a unit, or non-unit, upper or lower triangular matrix and `op(A)` is one of `op(A) = A` or `op(A) = A^T`. The matrix `X` is overwritten on `B`.
59
59
*
60
60
* @param side - specifies whether `op( A )` appears on the left or right of `X`
61
61
* @param uplo - specifies whether the upper or lower triangular part of the matrix `A` is supplied
62
-
* @paramtrans - specifies the form of `op( A )` to be used in matrix multiplication
62
+
* @paramtransa - specifies the form of `op( A )` to be used in matrix multiplication
63
63
* @param diag - specifies whether or not `A` is unit triangular
thrownewTypeError(format('invalid argument. First argument must be a valid side. Value: `%s`.',side));
69
73
}
70
74
if(!isMatrixTriangle(uplo)){
71
75
thrownewTypeError(format('invalid argument. Second argument must specify whether the lower or upper triangular matrix is supplied. Value: `%s`.',uplo));
72
76
}
73
-
if(!isTransposeOperation(trans)){
74
-
thrownewTypeError(format('invalid argument. Third argument must specify correct transpose operation. Value: `%s`.',trans));
77
+
if(!isTransposeOperation(transa)){
78
+
thrownewTypeError(format('invalid argument. Third argument must specify correct transpose operation. Value: `%s`.',transa));
75
79
}
76
80
if(!isDiagonalType(diag)){
77
81
thrownewTypeError(format('invalid argument. Fourth argument must specify whether the matrix is unit triangular or not. Value: `%s`.',diag));
@@ -83,12 +87,12 @@ function strsm( side, uplo, trans, diag, M, N, alpha, A, strideA1, strideA2, off
83
87
thrownewRangeError(format('invalid argument. Sixth argument must be a nonnegative integer. Value: `%d`.',N));
84
88
}
85
89
if(strideB1===0){
86
-
thrownewRangeError(format('invalid argument. Seventeenth argument must be non-zero. Value: `%d`.',strideB1));
90
+
thrownewRangeError(format('invalid argument. Thirteenth argument must be non-zero. Value: `%d`.',strideB1));
87
91
}
88
92
if(strideB2===0){
89
-
thrownewRangeError(format('invalid argument. Eighteenth argument must be non-zero. Value: `%d`.',strideB2));
93
+
thrownewRangeError(format('invalid argument. Fourteenth argument must be non-zero. Value: `%d`.',strideB2));
@@ -80,8 +84,8 @@ function strsm( order, side, uplo, trans, diag, M, N, alpha, A, LDA, B, LDB ) {
80
84
if(!isMatrixTriangle(uplo)){
81
85
thrownewTypeError(format('invalid argument. Thirds argument must specify whether the lower or upper triangular matrix is supplied. Value: `%s`.',uplo));
0 commit comments