mirror of
https://github.com/gonum/gonum.git
synced 2025-10-05 23:26:52 +08:00
mat: add fastpath for SymBandDense to VecDense.MulVec
This commit is contained in:

committed by
Vladimír Chalupecký

parent
40fa6a493b
commit
bd50f5876c
@@ -595,6 +595,11 @@ func (v *VecDense) MulVec(a Matrix, b Vector) {
|
||||
}
|
||||
v.setVec(0, sum)
|
||||
return
|
||||
case *SymBandDense:
|
||||
if fast {
|
||||
blas64.Sbmv(1, aU.mat, bmat, 0, v.mat)
|
||||
return
|
||||
}
|
||||
case *SymDense:
|
||||
if fast {
|
||||
aU.checkOverlap(v.asGeneral())
|
||||
|
Reference in New Issue
Block a user