SignalUtils::DCCrossingCount Function

Overload List

#SignatureDescription
1int DCCrossingCount(TVec *Src, double DC, int Index = 0, int Len = - 1);Return the number of DC crossings.
2int DCCrossingCount(TVec *Src, double DC, bool Negative, int Index = 0, int Len = - 1);Return the total count of zero crossings within Src starting at index to Index+Len.

Overload 1: int DCCrossingCount(TVec *Src, double DC, int Index = 0, int Len = - 1);

Return the number of DC crossings.

#NameTypeDescription
1SrcTVec *
2DCdouble
3Index = 0int
4Len = - 1int
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.

Declared in Dew::Signal::Units::SignalUtils · Dew.Signal/Units.SignalUtils.h · Cross-compiler

Overload 2: int DCCrossingCount(TVec *Src, double DC, bool Negative, int Index = 0, int Len = - 1);

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

#NameTypeDescription
1SrcTVec *
2DCdouble
3Negativebool
4Index = 0int
5Len = - 1int
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).

Declared in Dew::Signal::Units::SignalUtils · Dew.Signal/Units.SignalUtils.h · Cross-compiler