Function

vDSP_zvdiv(_:_:_:_:_:_:_:)

Divides two complex single-precision vectors.

Declaration

func vDSP_zvdiv(_ __B: UnsafePointer<DSPSplitComplex>, _ __IB: vDSP_Stride, _ __A: UnsafePointer<DSPSplitComplex>, _ __IA: vDSP_Stride, _ __C: UnsafePointer<DSPSplitComplex>, _ __IC: vDSP_Stride, _ __N: vDSP_Length)

Parameters

__B

Single-precision complex input vector. Note that B comes before A!

__IB

Stride for B.

__A

Single-precision complex input vector.

__IA

Stride for A.

__C

Single-precision complex output vector.

__IC

Stride for C.

__N

The number of elements to process.

Discussion

This function divides the first N elements of A by corresponding elements of B, leaving the result in C.

The operation is:

for (n = 0; n < N; ++n)
    C[n] = A[n] / B[n];