blas/gonum: use f64.ScalInc in Dscal
@@ -591,7 +591,5 @@ func (Implementation) Dscal(n int, alpha float64, x []float64, incX int) {
f64.ScalUnitary(alpha, x[:n])
return
}
- for ix := 0; ix < n*incX; ix += incX {
- x[ix] *= alpha
- }
+ f64.ScalInc(alpha, x, uintptr(n), uintptr(incX))
}
