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
throw new RangeError( format( 'invalid argument. Fourth argument must be a nonnegative integer. Value: `%d`.', N ) );
389
416
}
390
417
if ( strideX === 0 ) {
391
-
throw new RangeError( format( 'invalid argument. Ninth argument must be non-zero.' ) );
418
+
throw new RangeError( format( 'invalid argument. Ninth argument must be non-zero. Value: `%d`.', strideX ) );
392
419
}
393
420
if ( strideY === 0 ) {
394
-
throw new RangeError( format( 'invalid argument. Twelfth argument must be non-zero.' ) );
421
+
throw new RangeError( format( 'invalid argument. Twelfth argument must be non-zero. Value: `%d`.', strideY ) );
422
+
}
423
+
iscm = isColumnMajor( order );
424
+
if ( iscm ) {
425
+
vala = M;
426
+
} else {
427
+
vala = N;
395
428
}
429
+
if ( LDA < max( 1, vala ) ) <spanclass="branch-0 cbranch-no" title="branch not covered" >{</span>
430
+
<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`.', vala, LDA ) );</span>
431
+
<spanclass="cstat-no" title="statement not covered" > }</span>
396
432
// Check if we can early return...
397
433
if ( M === 0 || N === 0 || ( alpha === 0.0 && beta === 1.0 ) ) {
function dgemv( order, trans, M, N, alpha, A, LDA, x, strideX, beta, y, strideY ) { // eslint-disable-line max-params, max-len
351
+
var vala;
352
+
if ( !isLayout( order ) ) {
353
+
throw new TypeError( format( 'invalid argument. First argument must be a valid order. Value: `%s`.', order ) );
354
+
}
355
+
if ( !isMatrixTranspose( trans ) ) {
356
+
throw new TypeError( format( 'invalid argument. Second argument must be a valid transpose operation. Value: `%s`.', trans ) );
357
+
}
358
+
if ( M < 0 ) {
359
+
throw new RangeError( format( 'invalid argument. Third argument must be a nonnegative integer. Value: `%d`.', M ) );
360
+
}
361
+
if ( N < 0 ) {
362
+
throw new RangeError( format( 'invalid argument. Fourth argument must be a nonnegative integer. Value: `%d`.', N ) );
363
+
}
364
+
if ( strideX === 0 ) {
365
+
throw new RangeError( format( 'invalid argument. Ninth argument must be non-zero. Value: `%d`.', strideX ) );
366
+
}
367
+
if ( strideY === 0 ) {
368
+
throw new RangeError( format( 'invalid argument. Twelfth argument must be non-zero. Value: `%d`.', strideY ) );
369
+
}
370
+
if ( isColumnMajor( order ) ) {
371
+
vala = M;
372
+
} else {
373
+
vala = N;
374
+
}
375
+
if ( LDA < max( 1, vala ) ) <spanclass="branch-0 cbranch-no" title="branch not covered" >{</span>
376
+
<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`.', vala, LDA ) );</span>
377
+
<spanclass="cstat-no" title="statement not covered" > }</span>
378
+
// Check if we can early return...
379
+
if ( M === 0 || N === 0 || ( alpha === 0.0 && beta === 1.0 ) ) {
380
+
return y;
381
+
}
253
382
addon( resolveOrder( order ), resolveTrans( trans ), M, N, alpha, A, LDA, x, strideX, beta, y, strideY ); // eslint-disable-line max-len
0 commit comments