SignalUtils.DCCrossingCount Method

Overload List

#SignatureDescription
1Int32 DCCrossingCount(TVec Src, Double DC, Boolean Negative, Int32 Index, Int32 Len)Return the total count of zero crossings within Src starting at index to Index+Len.
2Int32 DCCrossingCount(TVec Src, Double DC, Int32 Index, Int32 Len)Return the number of DC crossings.

Overload 1: Int32 DCCrossingCount(TVec Src, Double DC, Boolean Negative, Int32 Index, Int32 Len)

Return the total count of zero crossings within Src starting at index to Index+Len.

#NameTypeDescription
1SrcTVecsource TVec
2DCDoublescalar
3NegativeBoolean
4IndexInt32start index
5LenInt32element count

Returns: Int32

Remarks:

If Len = -1 end the search at Src.Length. Count DC crossings only in one way, from - to + (Negative = True) or from + to - (Negative = False).

Overload 2: Int32 DCCrossingCount(TVec Src, Double DC, Int32 Index, Int32 Len)

Return the number of DC crossings.

#NameTypeDescription
1SrcTVecsource TVec
2DCDoublescalar
3IndexInt32start index
4LenInt32element count

Returns: Int32

Remarks:

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