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(in Vector!(float[4])[] a, in Vector!(float[4])[] b)
    version(D_SIMD)
    cfloat
    cpxDotProduct
    pure nothrow @trusted @nogc
    (
    in Vector!(float[4])[] a
    ,
    in Vector!(float[4])[] b
    )
    in { assert (a.length == b.length); }
  2. cfloat cpxDotProduct(FastComplexArray!(float, 4) a, FastComplexArray!(float, 4) b)

Meta