1 // Copyright ©2016 The Gonum Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style
3 // license that can be found in the LICENSE file.
8 // for i, v := range x {
11 func ScalUnitaryTo(dst []complex128, alpha complex128, x []complex128) {
18 // var idst, ix uintptr
19 // for i := 0; i < int(n); i++ {
20 // dst[idst] = alpha * x[ix]
24 func ScalIncTo(dst []complex128, incDst uintptr, alpha complex128, x []complex128, n, incX uintptr) {
26 for i := 0; i < int(n); i++ {
27 dst[idst] = alpha * x[ix]