SignalUtils.ZeroCrossingCount Method

function ZeroCrossingCount(const Src: TVec; Index: Integer; Len: Integer): Integer;

Return the number of zero crossings.

#NameTypeDescription
1SrcTVec
2IndexIntegerstart index
3LenIntegerelement count

Returns: Int32

Remarks:

Return the total count of zero crossings within Src starting at index to Index+Len. If Len = -1 end the search at Src.Length.