mirror of
https://github.com/gonum/gonum.git
synced 2025-10-06 07:37:03 +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)
|
v.setVec(0, sum)
|
||||||
return
|
return
|
||||||
|
case *SymBandDense:
|
||||||
|
if fast {
|
||||||
|
blas64.Sbmv(1, aU.mat, bmat, 0, v.mat)
|
||||||
|
return
|
||||||
|
}
|
||||||
case *SymDense:
|
case *SymDense:
|
||||||
if fast {
|
if fast {
|
||||||
aU.checkOverlap(v.asGeneral())
|
aU.checkOverlap(v.asGeneral())
|
||||||
|
Reference in New Issue
Block a user