You are here: Symbol Reference > SignalUtils Namespace > Functions > SignalUtils.DCCrossingCount Function
DSP Master VCL
ContentsIndex
PreviousUpNext
SignalUtils.DCCrossingCount Function

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

Pascal
function DCCrossingCount(const Src: TVec; DC: double; Negative: boolean; Index: integer = 0; Len: integer = -1): integer; overload;

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).

Copyright (c) 1999-2025 by Dew Research. All rights reserved.
What do you think about this topic? Send feedback!