Function

vDSP_biquadD(_:_:_:_:_:_:_:)

Applies a double-precision single-channel biquad IIR filter.

Declaration

func vDSP_biquadD(_ __Setup: OpaquePointer, _ __Delay: UnsafeMutablePointer<Double>, _ __X: UnsafePointer<Double>, _ __IX: vDSP_Stride, _ __Y: UnsafeMutablePointer<Double>, _ __IY: vDSP_Stride, _ __N: vDSP_Length)

Parameters

__Setup

The vDSP_biquadm_Setup object defining the filter to apply.

__Delay

An array of double-precision values initialized with “past” state data (elements -2 and -1) for each section of the biquad. After this function executes, this array contains the final state data of the filters. See Discussion below.

__X

An array of double-precision input data for the channel.

__IX

Stride for X.

__Y

An array to be filled with double-precision output data for the channel.

__IY

Stride for Y.

__N

The number of elements to filter.

Discussion

This function is the same as vDSP_biquad(_:_:_:_:_:_:_:), except for the types of arrays Delay, X, and Y.

See Also

Applying a Single-Channel Biquadratic IIR Filter