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
* // x => <Float64Array>[ 14.0, 8.0, 3.0 ]
334
334
*/
335
335
function dtrmv( order, uplo, trans, diag, N, A, LDA, x, strideX ) {
336
-
if ( !isLayout( order ) ) <spanclass="branch-0 cbranch-no" title="branch not covered" >{</span>
337
-
<spanclass="cstat-no" title="statement not covered" > throw new TypeError( format( 'invalid argument. First argument must be a valid order. Value: `%s`.', order ) );</span>
338
-
<spanclass="cstat-no" title="statement not covered" > }</span>
339
-
if ( !isMatrixTriangle( uplo ) ) <spanclass="branch-0 cbranch-no" title="branch not covered" >{</span>
340
-
<spanclass="cstat-no" title="statement not covered" > throw new TypeError( format( 'invalid argument. Second argument must specify whether the lower or upper triangular matrix is supplied. Value: `%s`.', uplo ) );</span>
341
-
<spanclass="cstat-no" title="statement not covered" > }</span>
342
-
if ( !isTransposeOperation( trans ) ) <spanclass="branch-0 cbranch-no" title="branch not covered" >{</span>
343
-
<spanclass="cstat-no" title="statement not covered" > throw new TypeError( format( 'invalid argument. Third argument must be a valid transpose operation. Value: `%s`.', trans ) );</span>
344
-
<spanclass="cstat-no" title="statement not covered" > }</span>
345
-
if ( !isDiagonal( diag ) ) <spanclass="branch-0 cbranch-no" title="branch not covered" >{</span>
346
-
<spanclass="cstat-no" title="statement not covered" > throw new TypeError( format( 'invalid argument. Fourth argument must be a valid diagonal type. Value: `%s`.', diag ) );</span>
347
-
<spanclass="cstat-no" title="statement not covered" > }</span>
348
-
if ( N < 0 ) <spanclass="branch-0 cbranch-no" title="branch not covered" >{</span>
349
-
<spanclass="cstat-no" title="statement not covered" > throw new RangeError( format( 'invalid argument. Fifth argument must be a nonnegative integer. Value: `%d`.', N ) );</span>
350
-
<spanclass="cstat-no" title="statement not covered" > }</span>
351
-
if ( LDA < max( 1, N ) ) <spanclass="branch-0 cbranch-no" title="branch not covered" >{</span>
352
-
<spanclass="cstat-no" title="statement not covered" > throw new RangeError( format( 'invalid argument. Seventh argument must be greater than or equal to max(1,%d). Value: `%d`.', N, LDA ) );</span>
353
-
<spanclass="cstat-no" title="statement not covered" > }</span>
354
-
if ( strideX === 0 ) <spanclass="branch-0 cbranch-no" title="branch not covered" >{</span>
355
-
<spanclass="cstat-no" title="statement not covered" > throw new RangeError( format( 'invalid argument. Ninth argument must be non-zero. Value: `%d`.', strideX ) );</span>
356
-
<spanclass="cstat-no" title="statement not covered" > }</span>
336
+
if ( !isLayout( order ) ) {
337
+
throw new TypeError( format( 'invalid argument. First argument must be a valid order. Value: `%s`.', order ) );
338
+
}
339
+
if ( !isMatrixTriangle( uplo ) ) {
340
+
throw new TypeError( format( 'invalid argument. Second argument must specify whether the lower or upper triangular matrix is supplied. Value: `%s`.', uplo ) );
341
+
}
342
+
if ( !isTransposeOperation( trans ) ) {
343
+
throw new TypeError( format( 'invalid argument. Third argument must be a valid transpose operation. Value: `%s`.', trans ) );
344
+
}
345
+
if ( !isDiagonal( diag ) ) {
346
+
throw new TypeError( format( 'invalid argument. Fourth argument must be a valid diagonal type. Value: `%s`.', diag ) );
347
+
}
348
+
if ( N < 0 ) {
349
+
throw new RangeError( format( 'invalid argument. Fifth argument must be a nonnegative integer. Value: `%d`.', N ) );
350
+
}
351
+
if ( LDA < max( 1, N ) ) {
352
+
throw new RangeError( format( 'invalid argument. Seventh argument must be greater than or equal to max(1,%d). Value: `%d`.', N, LDA ) );
353
+
}
354
+
if ( strideX === 0 ) {
355
+
throw new RangeError( format( 'invalid argument. Ninth argument must be non-zero. Value: `%d`.', strideX ) );
0 commit comments