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];

Beta Software

This documentation contains preliminary information about an API or technology in development. This information is subject to change, and software implemented according to this documentation should be tested with final operating system software.

Learn more about using Apple's beta software