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.