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.
5 //+build !noasm,!appengine
10 // for i, v := range x {
13 func AxpyUnitary(alpha complex64, x, y []complex64)
16 // for i, v := range x {
17 // dst[i] = alpha*v + y[i]
19 func AxpyUnitaryTo(dst []complex64, alpha complex64, x, y []complex64)
22 // for i := 0; i < int(n); i++ {
23 // y[iy] += alpha * x[ix]
27 func AxpyInc(alpha complex64, x, y []complex64, n, incX, incY, ix, iy uintptr)
30 // for i := 0; i < int(n); i++ {
31 // dst[idst] = alpha*x[ix] + y[iy]
36 func AxpyIncTo(dst []complex64, incDst, idst uintptr, alpha complex64, x, y []complex64, n, incX, incY, ix, iy uintptr)
39 // for i, v := range x {
40 // sum += y[i] * conj(v)
43 func DotcUnitary(x, y []complex64) (sum complex64)
46 // for i := 0; i < int(n); i++ {
47 // sum += y[iy] * conj(x[ix])
52 func DotcInc(x, y []complex64, n, incX, incY, ix, iy uintptr) (sum complex64)
55 // for i, v := range x {
59 func DotuUnitary(x, y []complex64) (sum complex64)
62 // for i := 0; i < int(n); i++ {
63 // sum += y[iy] * x[ix]
68 func DotuInc(x, y []complex64, n, incX, incY, ix, iy uintptr) (sum complex64)