Function

vDSP_zcspec(_:_:_:_:)

Computes the cross-spectrum of two complex single-precision vectors.

Declaration

Parameters

__A

Single-precision complex input vector with a stride of 1.

__B

Single-precision complex input vector with a stride of 1.

__C

Single-precision complex input-output vector, with a stride of 1.

__N

The number of elements to process.

Discussion

This function computes the cross-spectrum of complex input vectors A and B: it multiplies elements of B by the complex conjugates of elements of A. The results are added to complex input-output vector C. C should contain valid data from previous processing or should be initialized according to your needs before calling this function.

mathematical formula

See Also

Vector-to-Vector Spectra Computation