Function

vDSP_nzcrosD(_:_:_:_:_:_:)

Counts and finds the zero crossings in a double-precision vector.

Declaration

func vDSP_nzcrosD(_ __A: UnsafePointer<Double>, _ __IA: vDSP_Stride, _ __B: vDSP_Length, _ __C: UnsafeMutablePointer<vDSP_Length>, _ __D: UnsafeMutablePointer<vDSP_Length>, _ __N: vDSP_Length)

Discussion

This function is the same as vDSP_nzcros(_:_:_:_:_:_:), except for the type of the input vector.

See Also

Single-Vector Zero Crossing Search

static func countZeroCrossings<U>(U) -> UInt

Returns the number of zero crossings in a double-precision vector.

static func countZeroCrossings<U>(U) -> UInt

Returns the number of zero crossings in a single-precision vector.

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