blas/gonum: use AxpyUnitary instead of AxpyUnitaryTo
MODIFY
blas/gonum/level1double.go
blas/gonum/level1double.go
@@ -276,7 +276,7 @@ func (Implementation) Daxpy(n int, alpha float64, x []float64, incX int, y []flo
if len(y) < n {
panic(badLenY)
}
- f64.AxpyUnitaryTo(y, alpha, x[:n], y)
+ f64.AxpyUnitary(alpha, x[:n], y[:n])
return
}
var ix, iy int

MODIFY
blas/gonum/level1single.go
blas/gonum/level1single.go
@@ -290,7 +290,7 @@ func (Implementation) Saxpy(n int, alpha float32, x []float32, incX int, y []flo
if len(y) < n {
panic(badLenY)
}
- f32.AxpyUnitaryTo(y, alpha, x[:n], y)
+ f32.AxpyUnitary(alpha, x[:n], y[:n])
return
}
var ix, iy int

MODIFY
blas/gonum/single_precision.bash
blas/gonum/single_precision.bash
@@ -20,6 +20,7 @@ cat level1double.go \
\
| gofmt -r 'f64.AxpyInc -> f32.AxpyInc' \
| gofmt -r 'f64.AxpyIncTo -> f32.AxpyIncTo' \
+| gofmt -r 'f64.AxpyUnitary -> f32.AxpyUnitary' \
| gofmt -r 'f64.AxpyUnitaryTo -> f32.AxpyUnitaryTo' \
| gofmt -r 'f64.DotUnitary -> f32.DotUnitary' \
| gofmt -r 'f64.ScalUnitary -> f32.ScalUnitary' \

blas/gonum: use AxpyUnitary instead of AxpyUnitaryTo