Documentation ¶
Overview ¶
Package c64 provides complex64 vector primitives.
Index ¶
- func AxpyInc(alpha complex64, x, y []complex64, n, incX, incY, ix, iy uintptr)
- func AxpyIncTo(dst []complex64, incDst, idst uintptr, alpha complex64, x, y []complex64, ...)
- func AxpyUnitary(alpha complex64, x, y []complex64)
- func AxpyUnitaryTo(dst []complex64, alpha complex64, x, y []complex64)
- func DotcInc(x, y []complex64, n, incX, incY, ix, iy uintptr) (sum complex64)
- func DotcUnitary(x, y []complex64) (sum complex64)
- func DotuInc(x, y []complex64, n, incX, incY, ix, iy uintptr) (sum complex64)
- func DotuUnitary(x, y []complex64) (sum complex64)
- func ScalInc(alpha complex64, x []complex64, n, incX uintptr)
- func ScalIncTo(dst []complex64, incDst uintptr, alpha complex64, x []complex64, ...)
- func ScalUnitary(alpha complex64, x []complex64)
- func ScalUnitaryTo(dst []complex64, alpha complex64, x []complex64)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AxpyInc ¶
AxpyInc is
for i := 0; i < int(n); i++ { y[iy] += alpha * x[ix] ix += incX iy += incY }
func AxpyIncTo ¶
func AxpyIncTo(dst []complex64, incDst, idst uintptr, alpha complex64, x, y []complex64, n, incX, incY, ix, iy uintptr)
AxpyIncTo is
for i := 0; i < int(n); i++ { dst[idst] = alpha*x[ix] + y[iy] ix += incX iy += incY idst += incDst }
func DotcInc ¶
DotcInc is
for i := 0; i < int(n); i++ { sum += y[iy] * conj(x[ix]) ix += incX iy += incY } return sum
func DotuInc ¶
DotuInc is
for i := 0; i < int(n); i++ { sum += y[iy] * x[ix] ix += incX iy += incY } return sum
func ScalIncTo ¶
ScalIncTo is
var idst, ix uintptr for i := 0; i < int(n); i++ { dst[idst] = alpha * x[ix] ix += incX idst += incDst }
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.