Applies a double-precision single-channel biquad IIR filter.
SDKs
- iOS 6.0+
- macOS 10.9+
- Mac Catalyst 13.0+
- tvOS 9.0+
- watchOS 2.0+
Framework
- Accelerate
Declaration
func vDSP_biquadD(_ __Setup: Opaque Pointer, _ __Delay: Unsafe Mutable Pointer<Double>, _ __X: Unsafe Pointer<Double>, _ __IX: v DSP _Stride, _ __Y: Unsafe Mutable Pointer<Double>, _ __IY: v DSP _Stride, _ __N: v DSP _Length)
Parameters
__Setup
The
v
object defining the filter to apply.DSP _biquadm _Setup __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 v
, except for the types of arrays Delay
, X
, and Y
.