cpxDotProduct

a[0] <- [x.re, x.im, y.re, y.im] b[0] <- [z.re, z.im, w.re, w.im]

return: sum of (x*z + y*w)

  1. cfloat cpxDotProduct(Vector!(float[4])[] a, Vector!(float[4])[] b)
    version(D_SIMD)
    pure nothrow @trusted @nogc
    cfloat
    cpxDotProduct
    (
    in Vector!(float[4])[] a
    ,
    in Vector!(float[4])[] b
    )
  2. cfloat cpxDotProduct(FastComplexArray!(float, 4) a, FastComplexArray!(float, 4) b)

Meta