Main Page | Class Hierarchy | Alphabetical List | Class List | File List | Class Members | File Members

clDSPOp Class Reference

Class of DSP operations. More...

#include <DSPOp.hh>

Inheritance diagram for clDSPOp:

Inheritance graph
[legend]
Collaboration diagram for clDSPOp:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 clDSPOp ()
 ~clDSPOp ()
void WinBartlett (float *, long)
 Calculate Bartlett (triangle) window coefficients.

void WinBartlett (double *, long)
void WinBlackman (float *, long)
 Calculate Blackman window coefficients.

void WinBlackman (double *, long)
void WinBlackman (float *, long, float)
 Calculate blackman window coefficients with specified alpha.

void WinBlackman (double *, long, double)
void WinBlackmanHarris (float *, long)
 Calculate Blackman-Harris window coefficients.

void WinBlackmanHarris (double *, long)
void WinCosTapered (float *, long)
 Calculate cosine tapered window coefficients.

void WinCosTapered (double *, long)
void WinCosTaperedA (float *, long)
void WinCosTaperedA (double *, long)
void WinCosTaperedA (float *, const float *, long)
void WinCosTaperedA (double *, const double *, long)
void WinExactBlackman (float *, long)
 Calculate exact Blackman window coefficients.

void WinExactBlackman (double *, long)
void WinExp (float *, float, long)
 Calculate exponential window coefficients.

void WinExp (double *, double, long)
void WinFlatTop (float *, long)
 Calculate flat top window coefficients.

void WinFlatTop (double *, long)
void WinGenericCos (float *, long, const float *, long)
 Calculate generic cosine window coefficients.

void WinGenericCos (double *, long, const double *, long)
void WinHamming (float *, long)
 Calculate Hamming window coefficients.

void WinHamming (double *, long)
void WinHanning (float *, long)
 Calculate Hanning (Hann?) window coefficients.

void WinHanning (double *, long)
void WinKaiser (float *, float, long)
 Calculate Kaiser window coefficients See ::ModZeroBessel() for $I_{0}$.

void WinKaiser (double *, double, long)
void WinKaiserBessel (float *, float, long)
 Calculate Kaiser-Bessel window coefficients See ::ModZeroBessel() for $I_{0}$.

void WinKaiserBessel (double *, double, long)
void WinTukey (float *, long)
 Calculate Tukey window coefficients.

void WinTukey (double *, long)
void WinDolphChebyshev (float *, float, long)
 Calculate Dolph-Chebyshev window coefficients.

void WinDolphChebyshev (double *, double, long)
void Spatialize (float *, float *, const float *, long)
 Spatialize one channel to two channels by inversing others phase.

void Spatialize (double *, double *, const double *, long)
void Spatialize (float *, const float *, long)
void Spatialize (double *, const double *, long)
long ReBuffer (float *, const float *, long, long)
 Rebuffer to different sized buffer.

long ReBuffer (double *, const double *, long, long)
double DegToRad (double dSource)
 Convert degrees to radians.

float DegToRad (float fSource)
double RadToDeg (double dSource)
 Convert radians to degrees.

float RadToDeg (float fSource)
void FIRAllocate (const float *, long)
 Allocate FIR filter.

void FIRAllocate (const double *, long)
void FIRFilter (float *, long)
 Filter using FIR filter.

void FIRFilter (double *, long)
void FIRFilter (float *, const float *, long)
void FIRFilter (double *, const double *, long)
void FIRFilterF (float *, float *, long)
 Filter using FIR filter (fast version).

void FIRFilterF (double *, double *, long)
void FIRFree ()
 Free FIR filter.

void IIRInitialize (const float *)
 Initialize IIR filter.

void IIRInitialize (const double *)
void IIRFilter (float *, long)
 Filter using IIR filter.

void IIRFilter (double *, long)
void IIRFilter (float *, const float *, long)
void IIRFilter (double *, const double *, long)
void IIRClear ()
 Clear IIR filter feedback chain.

void FFTInitialize (long, bool)
 Initialize FFT (and other transforms).

void FFTUninitialize ()
 Uninitialize FFT.

void FFTi (stpSCplx, float *)
 FFT half in-place, source vector is modified.

void FFTi (stpDCplx, double *)
void FFTo (stpSCplx, const float *)
 FFT out-of-place.

void FFTo (stpDCplx, const double *)
void FFTo (stpSCplx, const stpSCplx)
void FFTo (stpDCplx, const stpDCplx)
void IFFTo (float *, const stpSCplx)
 IFFT out-of-place.

void IFFTo (double *, const stpDCplx)
void IFFTo (stpSCplx, const stpSCplx)
void IFFTo (stpDCplx, const stpDCplx)

Static Public Member Functions

signed long Round (float)
 Round floatingpoint number to integer.

signed long Round (double)
void Add (float *, float, long)
 Add single value to vector.

void Add (double *, double, long)
void Add (stpSCplx, stSCplx, long)
void Add (stpDCplx, stDCplx, long)
void Add (float *, const float *, long)
 Add two vectors.

void Add (double *, const double *, long)
void Add (stpSCplx, const stpSCplx, long)
void Add (stpDCplx, const stpDCplx, long)
void Add (float *, const float *, const float *, long)
 Add two vectors and return result in third.

void Add (double *, const double *, const double *, long)
void Add (stpSCplx, const stpSCplx, const stpSCplx, long)
void Add (stpDCplx, const stpDCplx, const stpDCplx, long)
void Sub (float *, float, long)
 Subtract single value from vector.

void Sub (double *, double, long)
void Sub (stpSCplx, stSCplx, long)
void Sub (stpDCplx, stDCplx, long)
void Sub (float *, const float *, long)
 Subtract two vectors.

void Sub (double *, const double *, long)
void Sub (stpSCplx, const stpSCplx, long)
void Sub (stpDCplx, const stpDCplx, long)
void Sub (float *, const float *, const float *, long)
 Subtract two vectors and return result in third.

void Sub (double *, const double *, const double *, long)
void Sub (stpSCplx, const stpSCplx, const stpSCplx, long)
void Sub (stpDCplx, const stpDCplx, const stpDCplx, long)
void Mul (float *, float, long)
 Multiply vector with single value in-place.

void Mul (double *, double, long)
void Mul (stpSCplx, float, long)
void Mul (stpDCplx, double, long)
void Mul (stpSCplx, stSCplx, long)
void Mul (stpDCplx, stDCplx, long)
void Mul (float *, const float *, float, long)
 Multiply vector with single value out-of-place.

void Mul (double *, const double *, double, long)
void Mul (float *, const float *, long)
 Multiply two vectors.

void Mul (double *, const double *, long)
void Mul (stpSCplx, const float *, long)
void Mul (stpDCplx, const double *, long)
void Mul (stpSCplx, const stpSCplx, long)
void Mul (stpDCplx, const stpDCplx, long)
void Mul (float *, const float *, const float *, long)
 Multiply two vectors and return result in third.

void Mul (double *, const double *, const double *, long)
void Mul (stpSCplx, const stpSCplx, const stpSCplx, long)
void Mul (stpDCplx, const stpDCplx, const stpDCplx, long)
void MulC (stpSCplx, const stpSCplx, long)
 Multiply vector with others complex conjugate.

void MulC (stpDCplx, const stpDCplx, long)
void MulC (stpSCplx, const stpSCplx, const stpSCplx, long)
void MulC (stpDCplx, const stpDCplx, const stpDCplx, long)
void Mul2 (float *, float *, const float *, long)
 Multiply two vectors in-place with third vector.

void Mul2 (double *, double *, const double *, long)
void Mul2 (float *, float *, const float *, const float *, const float *, long)
 Multiply two vectors out-of-place with third vector and return results in separate two vectors.

void Mul2 (double *, double *, const double *, const double *, const double *, long)
void Div (float *, float, long)
 Divide vector with single value.

void Div (double *, double, long)
void Div (stpSCplx, stSCplx, long)
void Div (stpDCplx, stDCplx, long)
void Div (float *, const float *, long)
 Divide two vectors.

void Div (double *, const double *, long)
void Div (stpSCplx, const stpSCplx, long)
void Div (stpDCplx, const stpDCplx, long)
void Div (float *, const float *, const float *, long)
 Divide two vectors and return result in third.

void Div (double *, const double *, const double *, long)
void Div (stpSCplx, const stpSCplx, const stpSCplx, long)
void Div (stpDCplx, const stpDCplx, const stpDCplx, long)
void Div1x (float *, long)
 Calculate 1 / value in-place.

void Div1x (double *, long)
void Div1x (float *, const float *, long)
 Calculate 1 / value out-of-place.

void Div1x (double *, const double *, long)
void MulAdd (float *, float, float, long)
 Multiply-add vector in-place.

void MulAdd (double *, double, double, long)
void MulAdd (float *, const float *, float, float, long)
 Multiply-add vector out-of-place.

void MulAdd (double *, const double *, double, double, long)
void Abs (float *, long)
 Get absolute value in-place.

void Abs (double *, long)
void Abs (float *, const float *, long)
 Get absolute value out-of-place.

void Abs (double *, const double *, long)
void Sqrt (float *, long)
 Calculate square-roots in-place.

void Sqrt (double *, long)
void Sqrt (float *, const float *, long)
 Calculate squre-roots out-of-place.

void Sqrt (double *, const double *, long)
void Zero (float *, long)
 Set all vector elements to zero.

void Zero (double *, long)
void Zero (stpSCplx, long)
void Zero (stpDCplx, long)
void Set (float *, float, long)
 Set all vector elements to specified value.

void Set (double *, double, long)
void Set (stpSCplx, stSCplx, long)
void Set (stpDCplx, stDCplx, long)
void Set (float *, float, long, long, long)
 Set specified vector elements to specified value with boundary check.

void Set (double *, double, long, long, long)
void Set (stpSCplx, stSCplx, long, long, long)
void Set (stpDCplx, stDCplx, long, long, long)
void Clip (float *, float, long)
 Clip vector in-place to specified value.

void Clip (double *, double, long)
void Clip (float *, const float *, float, long)
 Clip vector out-of-place to specified value.

void Clip (double *, const double *, double, long)
void Clip (float *, float, float, long)
 Clip vector in-place to fit between specified values.

void Clip (double *, double, double, long)
void Clip (float *, const float *, float, float, long)
 Clip vector out-of-place to fit between specified values.

void Clip (double *, const double *, double, double, long)
void ClipZero (float *, long)
 Clip smallest values in vector to zero (in-place).

void ClipZero (double *, long)
void ClipZero (float *, const float *, long)
 Clip smallest values in vector to zero (out-of-place).

void ClipZero (double *, const double *, long)
void Copy (float *, const float *, long)
 Copy source vector to destination vector(s).

void Copy (double *, const double *, long)
void Copy (stpSCplx, const stpSCplx, long)
void Copy (stpDCplx, const stpDCplx, long)
void Copy (float *, float *, const float *, long)
void Copy (double *, double *, const double *, long)
float Convolve (const float *, const float *, long)
 Convolve two vectors (same length, finite) without lag.

double Convolve (const double *, const double *, long)
void Convolve (float *, const float *, const float *, long)
 Convolve two vectors (same length, finite) with lag.

void Convolve (double *, const double *, const double *, long)
float Correlate (const float *, const float *, long)
 Correlate two vectors (same length, finite) without lag.

double Correlate (const double *, const double *, long)
void Correlate (float *, const float *, const float *, long)
 Correlate two vectors (same length, finite) with lag.

void Correlate (double *, const double *, const double *, long)
float AutoCorrelate (const float *, long)
 Autocorrelate vector.

double AutoCorrelate (const double *, long)
void AutoCorrelate (float *, const float *, long)
 Autocorrelate vector.

void AutoCorrelate (double *, const double *, long)
float DotProduct (const float *, const float *, long)
 Dot product of two vectors.

double DotProduct (const double *, const double *, long)
void MinMax (float *, float *, const float *, long)
 Find minimum and maximum values of vector.

void MinMax (double *, double *, const double *, long)
float Mean (const float *, long)
 Calculate mean of vector.

double Mean (const double *, long)
float Median (const float *, long)
 Calculate median of vector.

double Median (const double *, long)
void Negate (float *, long)
 Negate vector elements.

void Negate (double *, long)
void Negate (float *, const float *, long)
 Negate vector elements.

void Negate (double *, const double *, long)
void Normalize (float *, long)
 Normalize vector elements.

void Normalize (double *, long)
void Normalize (float *, const float *, long)
 Normalize vector elements.

void Normalize (double *, const double *, long)
float Product (const float *, long)
 Product of vector elements.

double Product (const double *, long)
void Reverse (float *, long)
 Reverse vector (in-place).

void Reverse (double *, long)
void Reverse (stpSCplx, long)
void Reverse (stpDCplx, long)
void Reverse (float *, const float *, long)
 Reverse vector (out-of-place).

void Reverse (double *, const double *, long)
void Reverse (stpSCplx, const stpSCplx, long)
void Reverse (stpDCplx, const stpDCplx, long)
void Scale (float *, long)
 Scale (normalize) vector to range [-1:1].

void Scale (double *, long)
void Scale (float *, const float *, long)
void Scale (double *, const double *, long)
void Scale01 (float *, long)
 Scale (normalize) vector to range [0:1].

void Scale01 (double *, long)
void Scale01 (float *, const float *, long)
void Scale01 (double *, const double *, long)
void Sort (float *, long)
 Sort vector elements (in-place).

void Sort (double *, long)
void Sort (long *, long)
void StdDev (float *, float *, const float *, long)
 Calculate standard deviation and mean of vector.

void StdDev (double *, double *, const double *, long)
float Sum (const float *, long)
 Calculate sum of vector elements.

double Sum (const double *, long)
void Square (float *, long)
 Square vector in-place.

void Square (double *, long)
void Square (float *, const float *, long)
 Square vector out-of-place.

void Square (double *, const double *, long)
void Convert (float *, const unsigned char *, long)
 Vector datatype conversion.

void Convert (float *, const signed short *, long, bool)
void Convert (float *, const signed int *, long, bool)
void Convert (float *, const double *, long)
void Convert (double *, const unsigned char *, long)
void Convert (double *, const signed short *, long, bool)
void Convert (double *, const signed int *, long, bool)
void Convert (double *, const float *, long)
void Convert (unsigned char *, const float *, long)
void Convert (unsigned char *, const double *, long)
void Convert (signed short *, const float *, long, bool)
void Convert (signed short *, const double *, long, bool)
void Convert (signed int *, const float *, long, bool)
void Convert (signed int *, const double *, long, bool)
void CartToPolar (float *, float *, const float *, const float *, long)
 Convert cartesian to polar vectors (out-of-place).

void CartToPolar (double *, double *, const double *, const double *, long)
void CartToPolar (float *, float *, const stpSCplx, long)
void CartToPolar (double *, double *, const stpDCplx, long)
void CartToPolar (stpSPolar, const stpSCplx, long)
void CartToPolar (stpDPolar, const stpDCplx, long)
void CartToPolar (utpSCoord, long)
 Convert cartesian to polar vectors (in-place).

void CartToPolar (utpDCoord, long)
void PolarToCart (float *, float *, const float *, const float *, long)
 Convert polar to cartesian vectors (out-of-place).

void PolarToCart (double *, double *, const double *, const double *, long)
void PolarToCart (stpSCplx, const float *, const float *, long)
void PolarToCart (stpDCplx, const double *, const double *, long)
void PolarToCart (stpSCplx, const stpSPolar, long)
void PolarToCart (stpDCplx, const stpDPolar, long)
void PolarToCart (utpSCoord, long)
 Convert cartesian to polar vectors (in-place).

void PolarToCart (utpDCoord, long)
float CrossCorr (const float *, const float *, long)
 Calculate normalized cross correlation of two vectors without delay.

double CrossCorr (const double *, const double *, long)
float DelCrossCorr (const float *, const float *, long, long)
 Calculate normalized cross correlation of two vectors with delay in second.

double DelCrossCorr (const double *, const double *, long, long)
void DelCrossCorr (float *, const float *, const float *, long, const long *, long)
 Calculate normalized cross correlation of two vectors with delays specified in vector.

void DelCrossCorr (double *, const double *, const double *, long, const long *, long)
float Energy (const float *, long)
 Calculates energy (square) of vector.

double Energy (const double *, long)
void Magnitude (float *, const stpSCplx, long)
 Calculates magnitudes (linear) of vector.

void Magnitude (double *, const stpDCplx, long)
void Power (float *, const stpSCplx, long)
 Calculates powers (in dB) of vector.

void Power (double *, const stpDCplx, long)
void Phase (float *, const stpSCplx, long)
 Calculated phases (in rad) of vector.

void Phase (double *, const stpDCplx, long)
void PowerPhase (float *, float *, const stpSCplx, long)
 Calculates powers (in dB) and phases (in rad) of vector See ::Power() and ::Phase() for formulas.

void PowerPhase (double *, double *, const stpDCplx, long)
void Decimate (float *, const float *, long, long)
 Decimate vector without average.

void Decimate (double *, const double *, long, long)
void DecimateAvg (float *, const float *, long, long)
 Decimate vector with average.

void DecimateAvg (double *, const double *, long, long)
void Interpolate (float *, const float *, long, long)
 Iterpolate vector without average (nulling).

void Interpolate (double *, const double *, long, long)
void InterpolateAvg (float *, const float *, long, long)
 Interpolate vector with average (linear).

void InterpolateAvg (double *, const double *, long, long)
void Resample (float *, long, const float *, long)
 Resample vector to different length.

void Resample (double *, long, const double *, long)
void ResampleAvg (float *, long, const float *, long)
 Resample vector to different length with average.

void ResampleAvg (double *, long, const double *, long)
float RMS (const float *, long)
 Calculate RMS (root mean square) of vector.

double RMS (const double *, long)
float Variance (float *, float *, const float *, long)
 Calculate variance and mean of vector.

double Variance (double *, double *, const double *, long)
float PeakLevel (const float *, long)
 Find peak level of vector and return result in dB.

double PeakLevel (const double *, long)
void Mix (float *, const float *, long)
 Mix two channels interleaved in vector.

void Mix (double *, const double *, long)
void Mix (float *, const float *, const float *, long)
void Mix (double *, const double *, const double *, long)
void Mix (float *, const float *, long, long)
void Mix (double *, const double *, long, long)
void Extract (float *, const float *, long, long, long)
 Extract channel n from N channel interleaved input.

void Extract (double *, const double *, long, long, long)
void Pack (float *, const float *, long, long, long)
 Pack channel n to N channel interleaved output.

void Pack (double *, const double *, long, long, long)
void FFTWConvert (stpSCplx, const float *, long)
 Convert Real-FFTW complex output to our Cplx.

void FFTWConvert (stpDCplx, const float *, long)
void FFTWConvert (stpSCplx, const double *, long)
void FFTWConvert (stpDCplx, const double *, long)
void FFTWConvert (float *, const stpSCplx, long)
 Convert our Cplx to Real-FFTW complex input.

void FFTWConvert (float *, const stpDCplx, long)
void FFTWConvert (double *, const stpSCplx, long)
void FFTWConvert (double *, const stpDCplx, long)

Static Protected Member Functions

void Cart2Polar (float *, float *, float, float)
 Cartesian to polar conversion.

void Cart2Polar (double *, double *, double, double)
void Cart2Polar (float *, float *, const stpSCplx)
void Cart2Polar (double *, double *, const stpDCplx)
void Cart2Polar (stpSPolar, const stpSCplx)
void Cart2Polar (stpDPolar, const stpDCplx)
void Cart2Polar (utpSCoord)
void Cart2Polar (utpDCoord)
void Polar2Cart (float *, float *, float, float)
 Polar to cartesian conversion.

void Polar2Cart (double *, double *, double, double)
void Polar2Cart (stpSCplx, float, float)
void Polar2Cart (stpDCplx, double, double)
void Polar2Cart (stpSCplx, const stpSPolar)
void Polar2Cart (stpDCplx, const stpDPolar)
void Polar2Cart (utpSCoord)
void Polar2Cart (utpDCoord)
void CplxAdd (stpSCplx, const stpSCplx)
 Complex addition.

void CplxAdd (stpDCplx, const stpDCplx)
void CplxAdd (stpSCplx, const stpSCplx, const stpSCplx)
void CplxAdd (stpDCplx, const stpDCplx, const stpDCplx)
void CplxSub (stpSCplx, const stpSCplx)
 Complex subtraction.

void CplxSub (stpDCplx, const stpDCplx)
void CplxSub (stpSCplx, const stpSCplx, const stpSCplx)
void CplxSub (stpDCplx, const stpDCplx, const stpDCplx)
void CplxMul (stpSCplx, float)
 Complex multiply with real value.

void CplxMul (stpDCplx, double)
void CplxMul (stpSCplx, const stpSCplx)
 Complex multiply.

void CplxMul (stpDCplx, const stpDCplx)
void CplxMul (stpSCplx, const stpSCplx, const stpSCplx)
void CplxMul (stpDCplx, const stpDCplx, const stpDCplx)
void CplxMulC (stpSCplx, const stpSCplx)
 Complex multiply with complex conjugate.

void CplxMulC (stpDCplx, const stpDCplx)
void CplxMulC (stpSCplx, const stpSCplx, const stpSCplx)
void CplxMulC (stpDCplx, const stpDCplx, const stpDCplx)
void CplxDiv (stpSCplx, const stpSCplx)
 Complex division.

void CplxDiv (stpDCplx, const stpDCplx)
void CplxDiv (stpSCplx, const stpSCplx, const stpSCplx)
void CplxDiv (stpDCplx, const stpDCplx, const stpDCplx)
void CplxExp (stpSCplx, const stpSCplx)
 Complex exp function (e raised to y).

void CplxExp (stpDCplx, const stpDCplx)
void CplxLog (stpSCplx, const stpSCplx)
 Complex natural logarithm.

void CplxLog (stpDCplx, const stpDCplx)
void CplxLog10 (stpSCplx, const stpSCplx)
 Complex 10-base logarithm.

void CplxLog10 (stpDCplx, const stpDCplx)
void CplxPow (stpSCplx, const stpSCplx, const stpSCplx)
 Complex x raised to y.

void CplxPow (stpDCplx, const stpDCplx, const stpDCplx)
void CplxRoot (stpSCplx, const stpSCplx, const stpSCplx)
 Complex root y of x.

void CplxRoot (stpDCplx, const stpDCplx, const stpDCplx)
void CplxConj (stpSCplx spCplx)
void CplxConj (stpDCplx spCplx)
void CplxConj (stpSCplx, const stpSCplx)
void CplxConj (stpDCplx, const stpDCplx)
double Multiple (long)
 Return multiple of n.

float ModZeroBessel (float)
 Zero-order modified Bessel function of the first kind.

double ModZeroBessel (double)
float ChebyshevPolynom (float, float)
 nth-order Chebyshev polynomial

double ChebyshevPolynom (double, double)

Private Attributes

long lPrevSrcCount
long lPrevDestCount
float fPI
double dPI
int iFIRDlyIdx
long lFIRLength
clDSPAlloc FIRCoeff
clDSPAlloc FIRBuf
clDSPAlloc FIRWork
float fpIIR_C [5]
float fpIIR_X [3]
float fpIIR_Y [2]
double dpIIR_C [5]
double dpIIR_X [3]
double dpIIR_Y [2]
bool bFFTInitialized
bool bRealTransform
long lFFTLength
float fFFTScale
double dFFTScale
long * lpSBitRevWork
long * lpDBitRevWork
float * fpCosSinTable
double * dpCosSinTable
void * vpSTfrm
void * vpDTfrm
clDSPAlloc SBitRevWork
clDSPAlloc DBitRevWork
clDSPAlloc SCosSinTable
clDSPAlloc DCosSinTable
clDSPAlloc FFTBuf
clTransformS Tfrm

Detailed Description

Class of DSP operations.

Definition at line 149 of file DSPOp.hh.


Constructor & Destructor Documentation

clDSPOp::clDSPOp  ) 
 

Definition at line 769 of file DSPOp.cc.

References bFFTInitialized, dpCosSinTable, dPI, fpCosSinTable, fPI, lpDBitRevWork, lPrevDestCount, lPrevSrcCount, and lpSBitRevWork.

clDSPOp::~clDSPOp  ) 
 

Definition at line 800 of file DSPOp.cc.

References bFFTInitialized, and FFTUninitialize().


Member Function Documentation

INLINE void clDSPOp::Cart2Polar float *  ,
float *  ,
float  ,
float 
[static, protected]
 

Cartesian to polar conversion.

\[V=\sqrt{\Re^2+\Im^2}\]

\[\varphi=\arctan{\left(\frac{\Im}{\Re}\right)}\]

Parameters:
Magn Magnitude
Phase Phase
Real Real
Imag Imaginary

Definition at line 146 of file DSPOp.cc.

References INLINE.

Referenced by CartToPolar(), CplxLog(), and CplxLog10().

INLINE void clDSPOp::Cart2Polar double *  ,
double *  ,
double  ,
double 
[static, protected]
 

This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.

Definition at line 158 of file DSPOp.cc.

References INLINE.

INLINE void clDSPOp::Cart2Polar float *  ,
float *  ,
const  stpSCplx
[static, protected]
 

This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.

Parameters:
Magn Magnitude
Phase Phase
Cplx Cartesian

Definition at line 170 of file DSPOp.cc.

References _sSCplx::I, INLINE, _sSCplx::R, and stpSCplx.

INLINE void clDSPOp::Cart2Polar double *  ,
double *  ,
const  stpDCplx
[static, protected]
 

This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.

Definition at line 182 of file DSPOp.cc.

References _sDCplx::I, INLINE, _sDCplx::R, and stpDCplx.

INLINE void clDSPOp::Cart2Polar stpSPolar  ,
const  stpSCplx
[static, protected]
 

This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.

Parameters:
Polar Polar
Cplx Cartesian

Definition at line 194 of file DSPOp.cc.

References _sSCplx::I, INLINE, _sSPolar::M, _sSPolar::P, _sSCplx::R, stpSCplx, and stpSPolar.

INLINE void clDSPOp::Cart2Polar stpDPolar  ,
const  stpDCplx
[static, protected]
 

This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.

Definition at line 205 of file DSPOp.cc.

References _sDCplx::I, INLINE, _sDPolar::M, _sDPolar::P, _sDCplx::R, stpDCplx, and stpDPolar.

INLINE void clDSPOp::Cart2Polar utpSCoord   )  [static, protected]
 

This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.

Parameters:
Coord Polar & Cartesian

Definition at line 216 of file DSPOp.cc.

References _uSCoord::C, _sSCplx::I, INLINE, _sSPolar::M, _sSPolar::P, _uSCoord::P, _sSCplx::R, and utpSCoord.

INLINE void clDSPOp::Cart2Polar utpDCoord   )  [static, protected]
 

This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.

Definition at line 228 of file DSPOp.cc.

References _uDCoord::C, _sDCplx::I, INLINE, _sDPolar::M, _sDPolar::P, _uDCoord::P, _sDCplx::R, and utpDCoord.

INLINE void clDSPOp::Polar2Cart float *  ,
float *  ,
float  ,
float 
[static, protected]
 

Polar to cartesian conversion.

\[\Re = V\cos(\varphi)\]

\[\Im = V\sin(\varphi)\]

Note:
See Cart2Polar for details

Definition at line 240 of file DSPOp.cc.

References INLINE.

Referenced by PolarToCart().

INLINE void clDSPOp::Polar2Cart double *  ,
double *  ,
double  ,
double 
[static, protected]
 

This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.

Definition at line 254 of file DSPOp.cc.

References INLINE.

INLINE void clDSPOp::Polar2Cart stpSCplx  ,
float  ,
float 
[static, protected]
 

This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.

Definition at line 268 of file DSPOp.cc.

References _sSCplx::I, INLINE, _sSCplx::R, and stpSCplx.

INLINE void clDSPOp::Polar2Cart stpDCplx  ,
double  ,
double 
[static, protected]
 

This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.

Definition at line 281 of file DSPOp.cc.

References _sDCplx::I, INLINE, _sDCplx::R, and stpDCplx.

INLINE void clDSPOp::Polar2Cart stpSCplx  ,
const  stpSPolar
[static, protected]
 

This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.

Definition at line 294 of file DSPOp.cc.

References _sSCplx::I, INLINE, _sSPolar::M, _sSPolar::P, _sSCplx::R, stpSCplx, and stpSPolar.

INLINE void clDSPOp::Polar2Cart stpDCplx  ,
const  stpDPolar
[static, protected]
 

This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.

Definition at line 307 of file DSPOp.cc.

References _sDCplx::I, INLINE, _sDPolar::M, _sDPolar::P, _sDCplx::R, stpDCplx, and stpDPolar.

INLINE void clDSPOp::Polar2Cart utpSCoord   )  [static, protected]
 

This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.

Definition at line 320 of file DSPOp.cc.

References _uSCoord::C, _sSCplx::I, INLINE, _sSPolar::M, _sSPolar::P, _uSCoord::P, _sSCplx::R, and utpSCoord.

INLINE void clDSPOp::Polar2Cart utpDCoord   )  [static, protected]
 

This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.

Definition at line 336 of file DSPOp.cc.

References _uDCoord::C, _sDCplx::I, INLINE, _sDPolar::M, _sDPolar::P, _uDCoord::P, _sDCplx::R, and utpDCoord.

INLINE void clDSPOp::CplxAdd stpSCplx  ,
const  stpSCplx
[static, protected]
 

Complex addition.

\[(z_{r},z_{i})=(x_{r}+y_{r},x_{i}+y_{i})\]

Parameters:
CplxDest Source & destination
CplxSrc Source

Definition at line 352 of file DSPOp.cc.

References _sSCplx::I, INLINE, _sSCplx::R, and stpSCplx.

Referenced by Add().

INLINE void clDSPOp::CplxAdd stpDCplx  ,
const  stpDCplx
[static, protected]
 

This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.

Definition at line 359 of file DSPOp.cc.

References _sDCplx::I, INLINE, _sDCplx::R, and stpDCplx.

INLINE void clDSPOp::CplxAdd stpSCplx  ,
const  stpSCplx,
const  stpSCplx
[static, protected]
 

This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.

Parameters:
CplxDest Destination
CplxSrc1 Source 1
CplxSrc2 Source 2

Definition at line 366 of file DSPOp.cc.

References _sSCplx::I, INLINE, _sSCplx::R, and stpSCplx.

INLINE void clDSPOp::CplxAdd stpDCplx  ,
const  stpDCplx,
const  stpDCplx
[static, protected]
 

This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.

Definition at line 374 of file DSPOp.cc.

References _sDCplx::I, INLINE, _sDCplx::R, and stpDCplx.

INLINE void clDSPOp::CplxSub stpSCplx  ,
const  stpSCplx
[static, protected]
 

Complex subtraction.

\[(z_{r},z_{i})=(x_{r}-y_{r},x_{i}-y_{i})\]

Parameters:
CplxDest Source & destination
CplxSrc Source

Definition at line 382 of file DSPOp.cc.

References _sSCplx::I, INLINE, _sSCplx::R, and stpSCplx.

Referenced by Sub().

INLINE void clDSPOp::CplxSub stpDCplx  ,
const  stpDCplx
[static, protected]
 

This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.

Definition at line 389 of file DSPOp.cc.

References _sDCplx::I, INLINE, _sDCplx::R, and stpDCplx.

INLINE void clDSPOp::CplxSub stpSCplx  ,
const  stpSCplx,
const  stpSCplx
[static, protected]
 

This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.

Parameters:
CplxDest Destination
CplxSrc1 Source 1
CplxSrc2 Source 2

Definition at line 396 of file DSPOp.cc.

References _sSCplx::I, INLINE, _sSCplx::R, and stpSCplx.

INLINE void clDSPOp::CplxSub stpDCplx  ,
const  stpDCplx,
const  stpDCplx
[static, protected]
 

This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.

Definition at line 404 of file DSPOp.cc.

References _sDCplx::I, INLINE, _sDCplx::R, and stpDCplx.

INLINE void clDSPOp::CplxMul stpSCplx  ,
float 
[static, protected]
 

Complex multiply with real value.

\[(z_r,z_i)=(x_{r}y,x_{i}y)\]

Parameters:
CplxDest Source & destination
Src Source

Definition at line 412 of file DSPOp.cc.

References _sSCplx::I, INLINE, _sSCplx::R, and stpSCplx.

Referenced by CplxPow(), and Mul().

INLINE void clDSPOp::CplxMul stpDCplx  ,
double 
[static, protected]
 

This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.

Definition at line 419 of file DSPOp.cc.

References _sDCplx::I, INLINE, _sDCplx::R, and stpDCplx.

INLINE void clDSPOp::CplxMul stpSCplx  ,
const  stpSCplx
[static, protected]
 

Complex multiply.

\[\Re_{z}=\Re_{x}\Re_{y}-\Im_{x}\Im_{y}\]

\[\Im_{z}=\Re_{x}\Im_{y}+\Re_{y}\Im_{x}\]

Parameters:
CplxDest Source & destination
CplxSrc Source

Definition at line 426 of file DSPOp.cc.

References _sSCplx::I, INLINE, _sSCplx::R, and stpSCplx.

INLINE void clDSPOp::CplxMul stpDCplx  ,
const  stpDCplx
[static, protected]
 

This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.

Definition at line 438 of file DSPOp.cc.

References _sDCplx::I, INLINE, _sDCplx::R, and stpDCplx.

INLINE void clDSPOp::CplxMul stpSCplx  ,
const  stpSCplx,
const  stpSCplx
[static, protected]
 

This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.

Parameters:
CplxDest Destination
CplxSrc Source 1
CplxSrc Source 2

Definition at line 450 of file DSPOp.cc.

References _sSCplx::I, INLINE, _sSCplx::R, and stpSCplx.

INLINE void clDSPOp::CplxMul stpDCplx  ,
const  stpDCplx,
const  stpDCplx
[static, protected]
 

This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.

Definition at line 460 of file DSPOp.cc.

References _sDCplx::I, INLINE, _sDCplx::R, and stpDCplx.

INLINE void clDSPOp::CplxMulC stpSCplx  ,
const  stpSCplx
[static, protected]
 

Complex multiply with complex conjugate.

\[\Re_{z}=\Re_{x}\Re_{y}-\Im_{x}(-\Im_{y})\]

\[\Im_{z}=\Re_{x}(-\Im_{y})+\Re_{y}\Im_{x}\]

Parameters:
CplxDest Source & destination
CplxSrc Source

Definition at line 470 of file DSPOp.cc.

References _sSCplx::I, INLINE, _sSCplx::R, and stpSCplx.

Referenced by MulC().

INLINE void clDSPOp::CplxMulC stpDCplx  ,
const  stpDCplx
[static, protected]
 

This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.

Definition at line 482 of file DSPOp.cc.

References _sDCplx::I, INLINE, _sDCplx::R, and stpDCplx.

INLINE void clDSPOp::CplxMulC stpSCplx  ,
const  stpSCplx,
const  stpSCplx
[static, protected]
 

This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.

Parameters:
CplxDest Destination
CplxSrc1 Source 1
CplxSrc2 Source 2

Definition at line 494 of file DSPOp.cc.

References _sSCplx::I, INLINE, _sSCplx::R, and stpSCplx.

INLINE void clDSPOp::CplxMulC stpDCplx  ,
const  stpDCplx,
const  stpDCplx
[static, protected]
 

This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.

Definition at line 504 of file DSPOp.cc.

References _sDCplx::I, INLINE, _sDCplx::R, and stpDCplx.

INLINE void clDSPOp::CplxDiv stpSCplx  ,
const  stpSCplx
[static, protected]
 

Complex division.

\[\Re_{z}=\frac{\Re_{x}\Re_{y}+\Im_{x}\Im_{y}}{\Re_{y}^2+\Im_{y}^2}\]

\[\Im_{z}=\frac{\Im_{x}\Re_{y}-\Re_{x}\Im_{y}}{\Re_{y}^2+\Im_{y}^2}\]

Parameters:
CplxDest Source & destination
CplxSrc Source

Definition at line 514 of file DSPOp.cc.

References _sSCplx::I, INLINE, _sSCplx::R, and stpSCplx.

Referenced by CplxRoot(), and Div().

INLINE void clDSPOp::CplxDiv stpDCplx  ,
const  stpDCplx
[static, protected]
 

This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.

Definition at line 528 of file DSPOp.cc.

References _sDCplx::I, INLINE, _sDCplx::R, and stpDCplx.

INLINE void clDSPOp::CplxDiv stpSCplx  ,
const  stpSCplx,
const  stpSCplx
[static, protected]
 

This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.

Parameters:
CplxDest Destination
CplxSrc Source 1
CplxSrc Source 2

Definition at line 542 of file DSPOp.cc.

References _sSCplx::I, INLINE, _sSCplx::R, and stpSCplx.

INLINE void clDSPOp::CplxDiv stpDCplx  ,
const  stpDCplx,
const  stpDCplx
[static, protected]
 

This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.

Definition at line 554 of file DSPOp.cc.

References _sDCplx::I, INLINE, _sDCplx::R, and stpDCplx.

INLINE void clDSPOp::CplxExp stpSCplx  ,
const  stpSCplx
[static, protected]
 

Complex exp function (e raised to y).

\[\Re_{z}=\exp(\Re_{y})\cos(\Im_{y})\]

\[\Im_{z}=\exp(\Re_{y})\sin(\Im_{y})\]

Parameters:
CplxDest Destination
CplxSrc Source

Definition at line 566 of file DSPOp.cc.

References _sSCplx::I, INLINE, _sSCplx::R, and stpSCplx.

Referenced by CplxPow().

INLINE void clDSPOp::CplxExp stpDCplx  ,
const  stpDCplx
[static, protected]
 

Definition at line 582 of file DSPOp.cc.

References _sDCplx::I, INLINE, _sDCplx::R, and stpDCplx.

INLINE void clDSPOp::CplxLog stpSCplx  ,
const  stpSCplx
[static, protected]
 

Complex natural logarithm.

\[\Re_{z}=\ln(|y|)\]

\[\Im_{z}=\arg(y)\]

Definition at line 598 of file DSPOp.cc.

References Cart2Polar(), _sSCplx::I, INLINE, _sSCplx::R, and stpSCplx.

Referenced by CplxPow().

INLINE void clDSPOp::CplxLog stpDCplx  ,
const  stpDCplx
[static, protected]
 

Definition at line 605 of file DSPOp.cc.

References Cart2Polar(), _sDCplx::I, INLINE, _sDCplx::R, and stpDCplx.

INLINE void clDSPOp::CplxLog10 stpSCplx  ,
const  stpSCplx
[static, protected]
 

Complex 10-base logarithm.

\[\Re_{z}=\log(|y|)\]

\[\Im_{z}=\arg(y)\]

Definition at line 612 of file DSPOp.cc.

References Cart2Polar(), _sSCplx::I, INLINE, _sSCplx::R, and stpSCplx.

INLINE void clDSPOp::CplxLog10 stpDCplx  ,
const  stpDCplx
[static, protected]
 

Definition at line 619 of file DSPOp.cc.

References Cart2Polar(), _sDCplx::I, INLINE, _sDCplx::R, and stpDCplx.

INLINE void clDSPOp::CplxPow stpSCplx  ,
const  stpSCplx,
const  stpSCplx
[static, protected]
 

Complex x raised to y.

\[z=\exp(\ln(x)y)\]

Definition at line 626 of file DSPOp.cc.

References CplxExp(), CplxLog(), CplxMul(), INLINE, stpSCplx, and stSCplx.

Referenced by CplxRoot().

INLINE void clDSPOp::CplxPow stpDCplx  ,
const  stpDCplx,
const  stpDCplx
[static, protected]
 

Definition at line 637 of file DSPOp.cc.

References CplxExp(), CplxLog(), CplxMul(), INLINE, stDCplx, and stpDCplx.

INLINE void clDSPOp::CplxRoot stpSCplx  ,
const  stpSCplx,
const  stpSCplx
[static, protected]
 

Complex root y of x.

\[z=x^{\frac{1}{y}}\]

Definition at line 648 of file DSPOp.cc.

References CplxDiv(), CplxPow(), _sSCplx::I, INLINE, _sSCplx::R, stpSCplx, and stSCplx.

INLINE void clDSPOp::CplxRoot stpDCplx  ,
const  stpDCplx,
const  stpDCplx
[static, protected]
 

Definition at line 660 of file DSPOp.cc.

References CplxDiv(), CplxPow(), _sDCplx::I, INLINE, _sDCplx::R, stDCplx, and stpDCplx.

void clDSPOp::CplxConj stpSCplx  spCplx  )  [inline, static, protected]
 

Definition at line 417 of file DSPOp.hh.

References _sSCplx::I, and stpSCplx.

Referenced by Reverse().

void clDSPOp::CplxConj stpDCplx  spCplx  )  [inline, static, protected]
 

Definition at line 419 of file DSPOp.hh.

References _sDCplx::I, and stpDCplx.

INLINE void clDSPOp::CplxConj stpSCplx  ,
const  stpSCplx
[static, protected]
 

Definition at line 684 of file DSPOp.cc.

References _sSCplx::I, INLINE, _sSCplx::R, and stpSCplx.

INLINE void clDSPOp::CplxConj stpDCplx  ,
const  stpDCplx
[static, protected]
 

Definition at line 691 of file DSPOp.cc.

References _sDCplx::I, INLINE, _sDCplx::R, and stpDCplx.

INLINE double clDSPOp::Multiple long   )  [static, protected]
 

Return multiple of n.

\[!n\]

Parameters:
Value Value of n

Definition at line 698 of file DSPOp.cc.

References INLINE.

Referenced by ModZeroBessel().

INLINE float clDSPOp::ModZeroBessel float   )  [static, protected]
 

Zero-order modified Bessel function of the first kind.

\[I_{0}(x)=\sum_{k=0}^{K}\left[\frac{(x/2)^{k}}{k!}\right]^{2}\]

Parameters:
Value Value of x

Definition at line 711 of file DSPOp.cc.

References DSP_MAXBESSEL, INLINE, and Multiple().

Referenced by WinKaiser(), and WinKaiserBessel().

INLINE double clDSPOp::ModZeroBessel double   )  [static, protected]
 

This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.

Definition at line 727 of file DSPOp.cc.

References DSP_MAXBESSEL, INLINE, and Multiple().

float clDSPOp::ChebyshevPolynom float  ,
float 
[static, protected]
 

nth-order Chebyshev polynomial

\[T_{n}(x)=\left\{\begin{array}{l}\cos(n\cos^{-1}x), |x|\leq{1}\\ \cosh(n\cosh^{-1}x), |x|>1\end{array}\right.\]

Parameters:
Order Order of polynomial
Value Value of x

Definition at line 743 of file DSPOp.cc.

Referenced by WinDolphChebyshev().

double clDSPOp::ChebyshevPolynom double  ,
double 
[static, protected]
 

Definition at line 756 of file DSPOp.cc.

signed long clDSPOp::Round float   )  [static]
 

Round floatingpoint number to integer.

Definition at line 112 of file DSPOp.cc.

Referenced by Convert(), dsp_round(), dsp_roundf(), WinCosTapered(), and WinCosTaperedA().

signed long clDSPOp::Round double   )  [static]
 

Definition at line 129 of file DSPOp.cc.

void clDSPOp::Add float *  ,
float  ,
long 
[static]
 

Add single value to vector.

\[x(i)=x(i)+y, 0\leq{i}\leq{N-1}\]

Parameters:
Dest Source & destination, x()
Src Source, y
Count Vector length, N

Definition at line 809 of file DSPOp.cc.

Referenced by dsp_add(), dsp_add2(), dsp_add2f(), dsp_add3(), dsp_add3f(), dsp_addf(), dsp_cadd(), dsp_cadd2(), dsp_cadd2f(), dsp_cadd3(), dsp_cadd3f(), dsp_caddf(), clDSPVector< TDSPVector_t >::operator+(), and clDSPVector< TDSPVector_t >::operator+=().

void clDSPOp::Add double *  ,
double  ,
long 
[static]
 

This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.

Definition at line 837 of file DSPOp.cc.

void clDSPOp::Add stpSCplx  ,
stSCplx  ,
long 
[static]
 

This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.

Definition at line 861 of file DSPOp.cc.

References CplxAdd(), stpSCplx, and stSCplx.

void clDSPOp::Add stpDCplx  ,
stDCplx  ,
long 
[static]
 

This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.

Definition at line 876 of file DSPOp.cc.

References CplxAdd(), stDCplx, and stpDCplx.

void clDSPOp::Add float *  ,
const float *  ,
long 
[static]
 

Add two vectors.

\[x(i)=x(i)+y(i), 0\leq{i}\leq{N-1}\]

Parameters:
Dest Source & destination, x()
Src Source, y()
Count Vector length, N

Definition at line 891 of file DSPOp.cc.

void clDSPOp::Add double *  ,
const double *  ,
long 
[static]
 

This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.

Definition at line 919 of file DSPOp.cc.

void clDSPOp::Add stpSCplx  ,
const  stpSCplx,
long 
[static]
 

This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.

Definition at line 943 of file DSPOp.cc.

References CplxAdd(), and stpSCplx.

void clDSPOp::Add stpDCplx  ,
const  stpDCplx,
long 
[static]
 

This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.

Definition at line 958 of file DSPOp.cc.

References CplxAdd(), and stpDCplx.

void clDSPOp::Add float *  ,
const float *  ,
const float *  ,
long 
[static]
 

Add two vectors and return result in third.

\[z(i)=x(i)+y(i), 0\leq{i}\leq{N-1}\]

Parameters:
Dest Destination, z()
Src1 Source 1, x()
Src2 Source 2, y()
Count Vector length, N

Definition at line 973 of file DSPOp.cc.

void clDSPOp::Add double *  ,
const double *  ,
const double *  ,
long 
[static]
 

This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.

Definition at line 1002 of file DSPOp.cc.

void clDSPOp::Add stpSCplx  ,
const  stpSCplx,
const  stpSCplx,
long 
[static]
 

This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.

Definition at line 1027 of file DSPOp.cc.

References CplxAdd(), and stpSCplx.

void clDSPOp::Add stpDCplx  ,
const  stpDCplx,
const  stpDCplx,
long 
[static]
 

This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.

Definition at line 1045 of file DSPOp.cc.

References CplxAdd(), and stpDCplx.

void clDSPOp::Sub float *  ,
float  ,
long 
[static]
 

Subtract single value from vector.

\[x(i)=x(i)-y, 0\leq{i}\leq{N-1}\]

Parameters:
Dest Source & destination, x()
Src Source, y
Count Vector length, N

Definition at line 1063 of file DSPOp.cc.

Referenced by dsp_csub(), dsp_csub2(), dsp_csub2f(), dsp_csub3(), dsp_csub3f(), dsp_csubf(), dsp_sub(), dsp_sub2(), dsp_sub2f(), dsp_sub3(), dsp_sub3f(), dsp_subf(), clDSPVector< TDSPVector_t >::operator-(), and clDSPVector< TDSPVector_t >::operator-=().

void clDSPOp::Sub double *  ,
double  ,
long 
[static]
 

This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.

Definition at line 1078 of file DSPOp.cc.

void clDSPOp::Sub stpSCplx  ,
stSCplx  ,
long 
[static]
 

This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.

Definition at line 1093 of file DSPOp.cc.

References CplxSub(), stpSCplx, and stSCplx.

void clDSPOp::Sub stpDCplx  ,
stDCplx  ,
long 
[static]
 

This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.

Definition at line 1108 of file DSPOp.cc.

References CplxSub(), stDCplx, and stpDCplx.

void clDSPOp::Sub float *  ,
const float *  ,
long 
[static]
 

Subtract two vectors.

\[x(i)=x(i)-y(i), 0\leq{i}\leq{N-1}\]

Parameters:
Dest Source & destination, x()
Src Source, y()
Count Vector length, N

Definition at line 1123 of file DSPOp.cc.

void clDSPOp::Sub double *  ,
const double *  ,
long 
[static]
 

This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.

Definition at line 1138 of file DSPOp.cc.

void clDSPOp::Sub stpSCplx  ,
const  stpSCplx,
long 
[static]
 

This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.

Definition at line 1153 of file DSPOp.cc.

References CplxSub(), and stpSCplx.

void clDSPOp::Sub stpDCplx  ,
const  stpDCplx,
long 
[static]
 

This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.

Definition at line 1168 of file DSPOp.cc.

References CplxSub(), and stpDCplx.

void clDSPOp::Sub float *  ,
const float *  ,
const float *  ,
long 
[static]
 

Subtract two vectors and return result in third.

\[z(i)=x(i)-y(i), 0\leq{i}\leq{N-1}\]

Parameters:
Dest Destination, z()
Src1 Source 1, x()
Src2 Source 2, y()
Count Vector length, N

Definition at line 1183 of file DSPOp.cc.

void clDSPOp::Sub double *  ,
const double *  ,
const double *  ,
long 
[static]
 

This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.

Definition at line 1199 of file DSPOp.cc.

void clDSPOp::Sub stpSCplx  ,
const  stpSCplx,
const  stpSCplx,
long 
[static]
 

This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.

Definition at line 1215 of file DSPOp.cc.

References CplxSub(), and stpSCplx.

void clDSPOp::Sub stpDCplx  ,
const  stpDCplx,
const  stpDCplx,
long 
[static]
 

This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.

Definition at line 1233 of file DSPOp.cc.

References CplxSub(), and stpDCplx.

void clDSPOp::Mul float *  ,
float  ,
long 
[static]
 

Multiply vector with single value in-place.

\[x(i)=x(i)y, 0\leq{i}\leq{N-1}\]

Parameters:
Dest Source & destination, x()
Src Source, y
Count Vector length, N

Definition at line 1252 of file DSPOp.cc.

Referenced by dsp_chmul(), dsp_chmul2(), dsp_chmul2f(), dsp_chmulf(), dsp_cmul(), dsp_cmul2(), dsp_cmul2f(), dsp_cmul3(), dsp_cmul3f(), dsp_cmulf(), dsp_mul(), dsp_mul2(), dsp_mul2f(), dsp_mul3(), dsp_mul3f(), dsp_mul_nip(), dsp_mulf(), dsp_mulf_nip(), FFTi(), FFTo(), clFIRDecimator::Get(), clDSPVector< TDSPVector_t >::operator *(), clDSPVector< TDSPVector_t >::operator *=(), clFIRInterpolator::Put(), clFilter::Put(), clFilter::ReadyFilterD(), clFilter::ReadyFilterS(), and WinDolphChebyshev().

void clDSPOp::Mul double *  ,
double  ,
long 
[static]
 

This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.

Definition at line 1280 of file DSPOp.cc.

void clDSPOp::Mul stpSCplx  ,
float  ,
long 
[static]
 

This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.

Definition at line 1304 of file DSPOp.cc.

References CplxMul(), and stpSCplx.

void clDSPOp::Mul stpDCplx  ,
double  ,
long 
[static]
 

This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.

Definition at line 1315 of file DSPOp.cc.

References CplxMul(), and stpDCplx.

void clDSPOp::Mul stpSCplx  ,
stSCplx  ,
long 
[static]
 

This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.

Definition at line 1326 of file DSPOp.cc.

References CplxMul(), stpSCplx, and stSCplx.

void clDSPOp::Mul stpDCplx  ,
stDCplx  ,
long 
[static]
 

This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.

Definition at line 1356 of file DSPOp.cc.

References CplxMul(), stDCplx, and stpDCplx.

void clDSPOp::Mul float *  ,
const float *  ,
float  ,
long 
[static]
 

Multiply vector with single value out-of-place.

\[z(i)=x(i)y, 0\leq{i}\leq{N-1}\]

Parameters:
Dest Destination, z()
Src1 Source 1, x()
Src2 Source 2, y
Count Vector length, N

Definition at line 1381 of file DSPOp.cc.

void clDSPOp::Mul double *  ,
const double *  ,
double  ,
long 
[static]
 

This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.

Definition at line 1410 of file DSPOp.cc.

void clDSPOp::Mul float *  ,
const float *  ,
long 
[static]
 

Multiply two vectors.

\[x(i)=x(i)y(i), 0\leq{i}\leq{N-1}\]

Parameters:
Dest Source & destination, x()
Src Source, y()
Count Vector length, N

Definition at line 1435 of file DSPOp.cc.

void clDSPOp::Mul double *  ,
const double *  ,
long 
[static]
 

This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.

Definition at line 1463 of file DSPOp.cc.

void clDSPOp::Mul stpSCplx  ,
const float *  ,
long 
[static]
 

This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.

Definition at line 1485 of file DSPOp.cc.

References CplxMul(), and stpSCplx.

void clDSPOp::Mul stpDCplx  ,
const double *  ,
long 
[static]
 

This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.

Definition at line 1496 of file DSPOp.cc.

References CplxMul(), and stpDCplx.

void clDSPOp::Mul stpSCplx  ,
const  stpSCplx,
long 
[static]
 

This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.

Definition at line 1507 of file DSPOp.cc.

References CplxMul(), and stpSCplx.

void clDSPOp::Mul stpDCplx  ,
const  stpDCplx,
long 
[static]
 

This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.

Definition at line 1537 of file DSPOp.cc.

References CplxMul(), and stpDCplx.

void clDSPOp::Mul float *  ,
const float *  ,
const float *  ,
long 
[static]
 

Multiply two vectors and return result in third.

\[z(i)=x(i)y(i), 0\leq{i}\leq{N-1}\]

Parameters:
Dest Destination, z()
Src1 Source 1, x()
Src2 Source 2, y()
Count Vector length, N

Definition at line 1562 of file DSPOp.cc.

void clDSPOp::Mul double *  ,
const double *  ,
const double *  ,
long 
[static]
 

This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.

Definition at line 1591 of file DSPOp.cc.

void clDSPOp::Mul stpSCplx  ,
const  stpSCplx,
const  stpSCplx,
long 
[static]
 

This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.

Definition at line 1616 of file DSPOp.cc.

References CplxMul(), and stpSCplx.

void clDSPOp::Mul stpDCplx  ,
const  stpDCplx,
const  stpDCplx,
long 
[static]
 

This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.

Definition at line 1653 of file DSPOp.cc.

References CplxMul(), and stpDCplx.

void clDSPOp::MulC stpSCplx  ,
const  stpSCplx,
long 
[static]
 

Multiply vector with others complex conjugate.

\[X(i)=X(i)Y(i)^{*}, 0\leq{i}\leq{N-1}\]

\[Z(i)=X(i)Y(i)^{*}, 0\leq{i}\leq{N-1}\]

Parameters:
Dest Source & destination, X()
Src Source, Y()
Count Vector length, N

Definition at line 1683 of file DSPOp.cc.

References CplxMulC(), and stpSCplx.

Referenced by dsp_ccmul(), dsp_ccmul_nip(), dsp_ccmulf(), dsp_ccmulf_nip(), and clDSPVector< TDSPVector_t >::MulC().

void clDSPOp::MulC stpDCplx  ,
const  stpDCplx,
long 
[static]
 

This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.

Definition at line 1694 of file DSPOp.cc.

References CplxMulC(), and stpDCplx.

void clDSPOp::MulC stpSCplx  ,
const  stpSCplx,
const  stpSCplx,
long 
[static]
 

This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.

Definition at line 1705 of file DSPOp.cc.

References CplxMulC(), and stpSCplx.

void clDSPOp::MulC stpDCplx  ,
const  stpDCplx,
const  stpDCplx,
long 
[static]
 

This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.

Definition at line 1718 of file DSPOp.cc.

References CplxMulC(), and stpDCplx.

void clDSPOp::Mul2 float *  ,
float *  ,
const float *  ,
long 
[static]
 

Multiply two vectors in-place with third vector.

\[\left\vert\begin{array}{l}x(i)=x(i)z(i)\\ y(i)=y(i)z(i)\end{array}\right., 0\leq{i}\leq{N-1}\]

Parameters:
Dest1 Source & destination 1, x()
Dest2 Source & destination 2, y()
Src Source, z()
Count Vector length, N

Definition at line 1731 of file DSPOp.cc.

void clDSPOp::Mul2 double *  ,
double *  ,
const double *  ,
long 
[static]
 

This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.

Definition at line 1744 of file DSPOp.cc.

void clDSPOp::Mul2 float *  ,
float *  ,
const float *  ,
const float *  ,
const float *  ,
long 
[static]
 

Multiply two vectors out-of-place with third vector and return results in separate two vectors.

Parameters:
Dest1 Destination 1
Dest2 Destination 2
Src1 Source 1
Src2 Source 2
Count Vector length

Definition at line 1757 of file DSPOp.cc.

void clDSPOp::Mul2 double *  ,
double *  ,
const double *  ,
const double *  ,
const double *  ,
long 
[static]
 

This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.

Definition at line 1770 of file DSPOp.cc.

void clDSPOp::Div float *  ,
float  ,
long 
[static]
 

Divide vector with single value.

\[x(i)=\frac{x(i)}{y}, 0\leq{i}\leq{N-1}\]

Parameters:
Dest Source & destination, x()
Src Source, y
Count Vector length, N

Definition at line 1783 of file DSPOp.cc.

Referenced by dsp_cdiv(), dsp_cdiv2(), dsp_cdiv2f(), dsp_cdiv3(), dsp_cdiv3f(), dsp_cdivf(), dsp_div(), dsp_div2(), dsp_div2f(), dsp_div3(), dsp_div3f(), dsp_divf(), clDSPVector< TDSPVector_t >::operator/(), and clDSPVector< TDSPVector_t >::operator/=().

void clDSPOp::Div double *  ,
double  ,
long 
[static]
 

This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.

Definition at line 1798 of file DSPOp.cc.

void clDSPOp::Div stpSCplx  ,
stSCplx  ,
long 
[static]
 

This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.

Definition at line 1813 of file DSPOp.cc.

References CplxDiv(), stpSCplx, and stSCplx.

void clDSPOp::Div stpDCplx  ,
stDCplx  ,
long 
[static]
 

This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.

Definition at line 1828 of file DSPOp.cc.

References CplxDiv(), stDCplx, and stpDCplx.

void clDSPOp::Div float *  ,
const float *  ,
long 
[static]
 

Divide two vectors.

\[x(i)=\frac{x(i)}{y(i)}, 0\leq{i}\leq{N-1}\]

Parameters:
Dest Source & destination, x()
Src Source, y()
Count Vector length, N

Definition at line 1843 of file DSPOp.cc.

void clDSPOp::Div double *  ,
const double *  ,
long 
[static]
 

This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.

Definition at line 1858 of file DSPOp.cc.

void clDSPOp::Div stpSCplx  ,
const  stpSCplx,
long 
[static]
 

This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.

Definition at line 1873 of file DSPOp.cc.

References CplxDiv(), and stpSCplx.

void clDSPOp::Div stpDCplx  ,
const  stpDCplx,
long 
[static]
 

This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.

Definition at line 1888 of file DSPOp.cc.

References CplxDiv(), and stpDCplx.

void clDSPOp::Div float *  ,
const float *  ,
const float *  ,
long 
[static]
 

Divide two vectors and return result in third.

\[z(i)=\frac{x(i)}{y(i)}, 0\leq{i}\leq{N-1}\]

Parameters:
Dest Destination, z()
Src1 Source 1, x()
Src2 Source 2, y()
Count Vector length, N

Definition at line 1903 of file DSPOp.cc.

void clDSPOp::Div double *  ,
const double *  ,
const double *  ,
long 
[static]
 

This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.

Definition at line 1919 of file DSPOp.cc.

void clDSPOp::Div stpSCplx  ,
const  stpSCplx,
const  stpSCplx,
long 
[static]
 

This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.

Definition at line 1935 of file DSPOp.cc.

References CplxDiv(), and stpSCplx.

void clDSPOp::Div stpDCplx  ,
const  stpDCplx,
const  stpDCplx,
long 
[static]
 

This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.

Definition at line 1953 of file DSPOp.cc.

References CplxDiv(), and stpDCplx.

void clDSPOp::Div1x float *  ,
long 
[static]
 

Calculate 1 / value in-place.

\[x(i)=\frac{1}{x(i)}, 0\leq{i}\leq{N-1}\]

Parameters:
Vect Source & destination
Count Vector length, N

Definition at line 1971 of file DSPOp.cc.

Referenced by clDSPVector< TDSPVector_t >::Div1x(), dsp_div1x(), dsp_div1x_nip(), dsp_div1xf(), and dsp_div1xf_nip().

void clDSPOp::Div1x double *  ,
long 
[static]
 

This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.

Definition at line 1982 of file DSPOp.cc.

void clDSPOp::Div1x float *  ,
const float *  ,
long 
[static]
 

Calculate 1 / value out-of-place.

\[y(i)=\frac{1}{x(i)}, 0\leq{i}\leq{N-1}\]

Parameters:
Dest Destination, y()
Src Source, x()
Count Vector length, N

Definition at line 1993 of file DSPOp.cc.

void clDSPOp::Div1x double *  ,
const double *  ,
long 
[static]
 

This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.

Definition at line 2004 of file DSPOp.cc.

void clDSPOp::MulAdd float *  ,
float  ,
float  ,
long 
[static]
 

Multiply-add vector in-place.

\[x(i)=x(i)s+o, 0\leq{i}\leq{N-1}\]

Parameters:
Vect Source & destination, x()
Mul Multiply value, s
Add Addition value, o
Count Vector length, N

Definition at line 2015 of file DSPOp.cc.

Referenced by dsp_muladd(), dsp_muladd_nip(), dsp_muladdf(), dsp_muladdf_nip(), and clDSPVector< TDSPVector_t >::MulAdd().

void clDSPOp::MulAdd double *  ,
double  ,
double  ,
long 
[static]
 

Definition at line 2039 of file DSPOp.cc.

void clDSPOp::MulAdd float *  ,
const float *  ,
float  ,
float  ,
long 
[static]
 

Multiply-add vector out-of-place.

\[y(i)=x(i)s+o, 0\leq{i}\leq{N-1}\]

Parameters:
Dest Destination, y()
Src Source, x()
Mul Multiply value, s
Add Addition value, o
Count Vector length, N

Definition at line 2059 of file DSPOp.cc.

void clDSPOp::MulAdd double *  ,
const double *  ,
double  ,
double  ,
long 
[static]
 

Definition at line 2084 of file DSPOp.cc.

void clDSPOp::Abs float *  ,
long 
[static]
 

Get absolute value in-place.

\[x(i)=|x(i)|, 0\leq{i}\leq{N-1}\]

Parameters:
Vect Source & destination, x()
Count Vector length, N

Definition at line 2105 of file DSPOp.cc.

Referenced by clDSPVector< TDSPVector_t >::Abs(), dsp_abs(), dsp_abs_nip(), dsp_absf(), and dsp_absf_nip().

void clDSPOp::Abs double *  ,
long 
[static]
 

This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.

Definition at line 2120 of file DSPOp.cc.

void clDSPOp::Abs float *  ,
const float *  ,
long 
[static]
 

Get absolute value out-of-place.

\[y(i)=|x(i)|, 0\leq{i}\leq{N-1}\]

Parameters:
Dest Destination, y()
Src Source, x()
Count Vector length, N

Definition at line 2135 of file DSPOp.cc.

void clDSPOp::Abs double *  ,
const double *  ,
long 
[static]
 

This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.

Definition at line 2150 of file DSPOp.cc.

void clDSPOp::Sqrt float *  ,
long 
[static]
 

Calculate square-roots in-place.

\[x(i)=\sqrt{x(i)}, 0\leq{i}\leq{N-1}\]

Parameters:
Vect Source & destination, x()
Count Vector length, N

Definition at line 2165 of file DSPOp.cc.

Referenced by dsp_sqrt(), dsp_sqrt_nip(), dsp_sqrtf(), dsp_sqrtf_nip(), and clDSPVector< TDSPVector_t >::Sqrt().

void clDSPOp::Sqrt double *  ,
long 
[static]
 

This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.

Definition at line 2180 of file DSPOp.cc.

void clDSPOp::Sqrt float *  ,
const float *  ,
long 
[static]
 

Calculate squre-roots out-of-place.

\[y(i)=\sqrt{x(i)}, 0\leq{i}\leq{N-1}\]

Parameters:
Dest Destination, y()
Src Source, x()
Count Vector length, N

Definition at line 2195 of file DSPOp.cc.

void clDSPOp::Sqrt double *  ,
const double *  ,
long 
[static]
 

This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.

Definition at line 2210 of file DSPOp.cc.

void clDSPOp::Zero float *  ,
long 
[static]
 

Set all vector elements to zero.

Parameters:
Vect Vector
Count Vector length

Definition at line 2225 of file DSPOp.cc.

Referenced by clFilter::DesignBP(), clFilter::DesignBR(), clFilter::DesignHP(), clFilter::DesignLP(), dsp_czero(), dsp_czerof(), dsp_zero(), dsp_zerof(), FIRAllocate(), IIRClear(), clFilter::Initialize(), and clDSPVector< TDSPVector_t >::Zero().

void clDSPOp::Zero double *  ,
long 
[static]
 

This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.

Definition at line 2240 of file DSPOp.cc.

void clDSPOp::Zero stpSCplx  ,
long 
[static]
 

This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.

Definition at line 2255 of file DSPOp.cc.

References stpSCplx.

void clDSPOp::Zero stpDCplx  ,
long 
[static]
 

This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.

Definition at line 2271 of file DSPOp.cc.

References stpDCplx.

void clDSPOp::Set float *  ,
float  ,
long 
[static]
 

Set all vector elements to specified value.

Parameters:
Dest Destination
Src Source value
Count Vector length

Definition at line 2287 of file DSPOp.cc.

Referenced by clFilter::DesignBP(), clFilter::DesignBR(), clFilter::DesignHP(), clFilter::DesignLP(), dsp_cset(), dsp_cset2(), dsp_cset2f(), dsp_csetf(), dsp_set(), dsp_set2(), dsp_set2f(), dsp_setf(), clFilter::Initialize(), and clDSPVector< TDSPVector_t >::Set().

void clDSPOp::Set double *  ,
double  ,
long 
[static]
 

This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.

Definition at line 2302 of file DSPOp.cc.

void clDSPOp::Set stpSCplx  ,
stSCplx  ,
long 
[static]
 

This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.

Definition at line 2317 of file DSPOp.cc.

References stpSCplx, and stSCplx.

void clDSPOp::Set stpDCplx  ,
stDCplx  ,
long 
[static]
 

This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.

Definition at line 2333 of file DSPOp.cc.

References stDCplx, and stpDCplx.

void clDSPOp::Set float *  ,
float  ,
long  ,
long  ,
long 
[static]
 

Set specified vector elements to specified value with boundary check.

Parameters:
Dest Destination
Src Source value
Start Starting index
Count Number of elements to set
Length Vector length

Definition at line 2349 of file DSPOp.cc.

void clDSPOp::Set double *  ,
double  ,
long  ,
long  ,
long 
[static]
 

This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.

Definition at line 2368 of file DSPOp.cc.

void clDSPOp::Set stpSCplx  ,
stSCplx  ,
long  ,
long  ,
long 
[static]
 

This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.

Definition at line 2387 of file DSPOp.cc.

References stpSCplx, and stSCplx.

void clDSPOp::Set stpDCplx  ,
stDCplx  ,
long  ,
long  ,
long 
[static]
 

This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.

Definition at line 2407 of file DSPOp.cc.

References stDCplx, and stpDCplx.

void clDSPOp::Clip float *  ,
float  ,
long 
[static]
 

Clip vector in-place to specified value.

\[x(i)=\left\{\begin{array}{ll}x(i)&,x(i)\leq{y}\\ y&,x(i)>y\end{array}\right., 0\leq{i}\leq{N-1}\]

Parameters:
Vect Source & destination, x()
Value Clipping value, y
Count Vector length, N

Definition at line 2427 of file DSPOp.cc.

Referenced by clDSPVector< TDSPVector_t >::Clip(), dsp_clip(), dsp_clip2(), dsp_clip2_nip(), dsp_clip2f(), dsp_clip2f_nip(), dsp_clip_nip(), dsp_clipf(), and dsp_clipf_nip().

void clDSPOp::Clip double *  ,
double  ,
long 
[static]
 

This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.

Definition at line 2452 of file DSPOp.cc.

void clDSPOp::Clip float *  ,
const float *  ,
float  ,
long 
[static]
 

Clip vector out-of-place to specified value.

\[z(i)=\left\{\begin{array}{ll}x(i)&,x(i)\leq{y}\\ y&,x(i)>y\end{array}\right., 0\leq{i}\leq{N-1}\]

Parameters:
Dest Destination, z()
Src Source, x()
Value Clipping value, y
Count Vector length, N

Definition at line 2477 of file DSPOp.cc.

void clDSPOp::Clip double *  ,
const double *  ,
double  ,
long 
[static]
 

This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.

Definition at line 2499 of file DSPOp.cc.

void clDSPOp::Clip float *  ,
float  ,
float  ,
long 
[static]
 

Clip vector in-place to fit between specified values.

\[x(i)=\left\{\begin{array}{ll}a&,x(i)<a\\ x(i)&,a\leq{x(i)}\leq{b}\\ b&,x(i)>b\end{array}\right., 0\leq{i}\leq{N-1}\]

Parameters:
Vect Source & destination, x()
Min Minimum value, a
Max Maximum value, b
Count Vector length, N

Definition at line 2521 of file DSPOp.cc.

void clDSPOp::Clip double *  ,
double  ,
double  ,
long 
[static]
 

This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.

Definition at line 2555 of file DSPOp.cc.

void clDSPOp::Clip float *  ,
const float *  ,
float  ,
float  ,
long 
[static]
 

Clip vector out-of-place to fit between specified values.

\[y(i)=\left\{\begin{array}{ll}a&,x(i)<a\\ x(i)&,a\leq{x(i)}\leq{b}\\ b&,x(i)>b\end{array}\right., 0\leq{i}\leq{N-1}\]

Parameters:
Dest Destination, y()
Src Source, x()
Min Minimum value, a
Max Maximum value, b
Count Vector length, N

Definition at line 2589 of file DSPOp.cc.

void clDSPOp::Clip double *  ,
const double *  ,
double  ,
double  ,
long 
[static]
 

This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.

Definition at line 2632 of file DSPOp.cc.

void clDSPOp::ClipZero float *  ,
long 
[static]
 

Clip smallest values in vector to zero (in-place).

\[x(i)=\left\{\begin{array}{ll}0&,x(i)<0\\ x(i)&,x(i)\leq{0}\end{array}\right., 0\leq{i}\leq{N-1}\]

Parameters:
Vect Source & destination, x()
Count Vector length, N

Definition at line 2675 of file DSPOp.cc.

Referenced by clDSPVector< TDSPVector_t >::ClipZero(), dsp_clipzero(), dsp_clipzero_nip(), dsp_clipzerof(), and dsp_clipzerof_nip().

void clDSPOp::ClipZero double *  ,
long 
[static]
 

This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.

Definition at line 2700 of file DSPOp.cc.

void clDSPOp::ClipZero float *  ,
const float *  ,
long 
[static]
 

Clip smallest values in vector to zero (out-of-place).

\[y(i)=\left\{\begin{array}{ll}0&,x(i)<0\\ x(i)&,x(i)\leq{0}\end{array}\right., 0\leq{i}\leq{N-1}\]

Parameters:
Dest Destination, y()
Src Source, x()
Count Vector length, N

Definition at line 2725 of file DSPOp.cc.

void clDSPOp::ClipZero double *  ,
const double *  ,
long 
[static]
 

This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.

Definition at line 2746 of file DSPOp.cc.

void clDSPOp::Copy float *  ,
const float *  ,
long 
[static]
 

Copy source vector to destination vector(s).

Parameters:
Dest Destination vector
Src Source vector
Count Vector length

Definition at line 2767 of file DSPOp.cc.

References likely.

Referenced by dsp_ccopy(), dsp_ccopyf(), dsp_copy(), dsp_copyf(), FIRAllocate(), FIRFilter(), FIRFilterF(), clFilter::GetCoeffs(), IIRInitialize(), clFilter::Initialize(), Median(), clFilter::Put(), ReBuffer(), ResampleAvg(), and clFilter::SetCoeffs().

void clDSPOp::Copy double *  ,
const double *  ,
long 
[static]
 

This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.

Definition at line 2819 of file DSPOp.cc.

References likely.

void clDSPOp::Copy stpSCplx  ,
const  stpSCplx,
long 
[static]
 

This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.

Definition at line 2871 of file DSPOp.cc.

References likely, stpSCplx, and stSCplx.

void clDSPOp::Copy stpDCplx  ,
const  stpDCplx,
long 
[static]
 

This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.

Definition at line 2925 of file DSPOp.cc.

References likely, stDCplx, and stpDCplx.

void clDSPOp::Copy float *  ,
float *  ,
const float *  ,
long 
[static]
 

This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.

Definition at line 2979 of file DSPOp.cc.

void clDSPOp::Copy double *  ,
double *  ,
const double *  ,
long 
[static]
 

This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.

Definition at line 2996 of file DSPOp.cc.

float clDSPOp::Convolve const float *  ,
const float *  ,
long 
[static]
 

Convolve two vectors (same length, finite) without lag.

Note:
Circular convolution, result is not scaled

\[z=\sum_{i=0}^{K}x(i)y(K-i), K=N-1\]

Parameters:
Src1 Source 1, x()
Src2 Source 2, y()
Count Vector length, N
Returns:
Convolution result, z

Definition at line 3013 of file DSPOp.cc.

Referenced by clDSPVector< TDSPVector_t >::Conv(), dsp_convolve(), dsp_convolve2(), dsp_convolve2f(), and dsp_convolvef().

double clDSPOp::Convolve const double *  ,
const double *  ,
long 
[static]
 

This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.

Definition at line 3033 of file DSPOp.cc.

void clDSPOp::Convolve float *  ,
const float *  ,
const float *  ,
long 
[static]
 

Convolve two vectors (same length, finite) with lag.

Note:
Circular convolution, result is not scaled

\[z(i)=\sum_{k=0}^{N-1}x(i-k)y(k)\]

Parameters:
Dest Destination, z()
Src1 Source 1, x()
Src2 Source 2, y()
Count Vector length, N

Definition at line 3053 of file DSPOp.cc.

void clDSPOp::Convolve double *  ,
const double *  ,
const double *  ,
long 
[static]
 

This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.

Definition at line 3081 of file DSPOp.cc.

float clDSPOp::Correlate const float *  ,
const float *  ,
long 
[static]
 

Correlate two vectors (same length, finite) without lag.

Note:
Circular correlation, result is scaled

\[z=\frac{1}{N}\sum_{i=0}^{N-1}x(i)y(i)\]

Parameters:
Src1 Source1, x()
Src2 Source2, y()
Count Vector length, N
Returns:
Correlation result, z

Definition at line 3109 of file DSPOp.cc.

Referenced by clDSPVector< TDSPVector_t >::Corr(), dsp_correlate(), dsp_correlate2(), dsp_correlate2f(), and dsp_correlatef().

double clDSPOp::Correlate const double *  ,
const double *  ,
long 
[static]
 

This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.

Definition at line 3128 of file DSPOp.cc.

void clDSPOp::Correlate float *  ,
const float *  ,
const float *  ,
long 
[static]
 

Correlate two vectors (same length, finite) with lag.

Note:
Circular correlation, result is scaled

\[z(i)=\frac{1}{N}\sum_{k=0}^{N-1}x(k)y(k+i)\]

Parameters:
Dest Destination, z()
Src1 Source 1, x()
Src2 Source 2, y()
Count Vector length, N

Definition at line 3147 of file DSPOp.cc.

void clDSPOp::Correlate double *  ,
const double *  ,
const double *  ,
long 
[static]
 

This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.

Definition at line 3175 of file DSPOp.cc.

float clDSPOp::AutoCorrelate const float *  ,
long 
[static]
 

Autocorrelate vector.

Note:
Circular, result is scaled

\[z=\frac{1}{N}\sum_{i=0}^{N-1}x(i)^2\]

Parameters:
Src Source, x()
Count Vector length, N
Returns:
Autocorrelation (energy)

Definition at line 3203 of file DSPOp.cc.

Referenced by clDSPVector< TDSPVector_t >::AutoCorr(), dsp_autocorr(), dsp_autocorr2(), dsp_autocorr2f(), and dsp_autocorrf().

double clDSPOp::AutoCorrelate const double *  ,
long 
[static]
 

This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.

Definition at line 3221 of file DSPOp.cc.

void clDSPOp::AutoCorrelate float *  ,
const float *  ,
long 
[static]
 

Autocorrelate vector.

Note:
Circular, result is scaled

\[y(i)=\frac{1}{N}\sum_{k=0}^{N-1}x(k)x(k+i)\]

Parameters:
Dest Destination, y()
Src Source, x()
Count Vector length, N

Definition at line 3239 of file DSPOp.cc.

void clDSPOp::AutoCorrelate double *  ,
const double *  ,
long 
[static]
 

This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.

Definition at line 3266 of file DSPOp.cc.

float clDSPOp::DotProduct const float *  ,
const float *  ,
long 
[static]
 

Dot product of two vectors.

\[z=\sum_{i=0}^{N-1}x(i)y(i)\]

Parameters:
Src1 Source 1, x()
Src2 Source 2, y()
Count Vector length, N
Returns:
Dot product

Definition at line 3293 of file DSPOp.cc.

Referenced by clDSPVector< TDSPVector_t >::DotProduct(), dsp_dotproduct(), and dsp_dotproductf().

double clDSPOp::DotProduct const double *  ,
const double *  ,
long 
[static]
 

This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.

Definition at line 3317 of file DSPOp.cc.

void clDSPOp::MinMax float *  ,
float *  ,
const float *  ,
long 
[static]
 

Find minimum and maximum values of vector.

Parameters:
Min Minimum
Max Maximum
Src Source
Count Vector length

Definition at line 3341 of file DSPOp.cc.

Referenced by dsp_minmax(), dsp_minmaxf(), clDSPVector< TDSPVector_t >::MinMax(), PeakLevel(), Scale(), Scale01(), and WinDolphChebyshev().

void clDSPOp::MinMax double *  ,
double *  ,
const double *  ,
long 
[static]
 

This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.

Definition at line 3394 of file DSPOp.cc.

float clDSPOp::Mean const float *  ,
long 
[static]
 

Calculate mean of vector.

\[a=\frac{1}{N}\sum_{i=0}^{N-1}x(i)\]

Parameters:
Src Source
Count Vector length
Returns:
Mean

Definition at line 3443 of file DSPOp.cc.

Referenced by dsp_mean(), dsp_meanf(), and clDSPVector< TDSPVector_t >::Mean().

double clDSPOp::Mean const double *  ,
long 
[static]
 

This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.

Definition at line 3463 of file DSPOp.cc.

float clDSPOp::Median const float *  ,
long 
[static]
 

Calculate median of vector.

\[m=\left\{\begin{array}{ll}x_{sorted}\left(\frac{N}{2}\right)&,N\bmod{2}\neq{0}\\ 0.5\times\left(x_{sorted}\left(\frac{N}{2}-1\right)+x_{sorted}\left(\frac{N}{2}\right)\right)&,N\bmod{2}=0 \end{array}\right.\]

Parameters:
Src Source, x()
Count Vector length, N
Returns:
Median, m

Definition at line 3483 of file DSPOp.cc.

References Copy(), and Sort().

Referenced by dsp_median(), dsp_medianf(), and clDSPVector< TDSPVector_t >::Median().

double clDSPOp::Median const double *  ,
long 
[static]
 

This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.

Definition at line 3509 of file DSPOp.cc.

References Copy(), and Sort().

void clDSPOp::Negate float *  ,
long 
[static]
 

Negate vector elements.

\[x(i)=-x(i), 0\leq{i}\leq{N-1}\]

Parameters:
Vect Source & destination
Count Vector length

Definition at line 3535 of file DSPOp.cc.

Referenced by dsp_negate(), dsp_negate_nip(), dsp_negatef(), dsp_negatef_nip(), and clDSPVector< TDSPVector_t >::Negate().

void clDSPOp::Negate double *  ,
long 
[static]
 

This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.

Definition at line 3546 of file DSPOp.cc.

void clDSPOp::Negate float *  ,
const float *  ,
long 
[static]
 

Negate vector elements.

\[y(i)=-x(i), 0\leq{i}\leq{N-1}\]

Parameters:
Dest Destination, y()
Src Source, x()
Count Vector length, N

Definition at line 3557 of file DSPOp.cc.

void clDSPOp::Negate double *  ,
const double *  ,
long 
[static]
 

This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.

Definition at line 3568 of file DSPOp.cc.

void clDSPOp::Normalize float *  ,
long 
[static]
 

Normalize vector elements.

\[x(i)=\frac{x(i)-\mu}{\sigma}, 0\leq{i}\leq{N-1}\]

Parameters:
Vect Source & destination, x()
Count Vector length, N

Definition at line 3579 of file DSPOp.cc.

References StdDev().

Referenced by dsp_normalize(), dsp_normalize_nip(), dsp_normalizef(), dsp_normalizef_nip(), and clDSPVector< TDSPVector_t >::Normalize().

void clDSPOp::Normalize double *  ,
long 
[static]
 

This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.

Definition at line 3593 of file DSPOp.cc.

References StdDev().

void clDSPOp::Normalize float *  ,
const float *  ,
long 
[static]
 

Normalize vector elements.

\[y(i)=\frac{x(i)-\mu}{\sigma}, 0\leq{i}\leq{N-1}\]

Parameters:
Dest Destination, y()
Src Source, x()
Count Vector length, N

Definition at line 3607 of file DSPOp.cc.

References StdDev().

void clDSPOp::Normalize double *  ,
const double *  ,
long 
[static]
 

This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.

Definition at line 3621 of file DSPOp.cc.

References StdDev().

float clDSPOp::Product const float *  ,
long 
[static]
 

Product of vector elements.

\[p=\prod{x(i)}, 0\leq{i}\leq{N-1}\]

Parameters:
Src Source, x()
Count Vector length, N
Returns:
Product, p

Definition at line 3635 of file DSPOp.cc.

Referenced by dsp_product(), and dsp_productf().

double clDSPOp::Product const double *  ,
long 
[static]
 

This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.

Definition at line 3648 of file DSPOp.cc.

void clDSPOp::Reverse float *  ,
long 
[static]
 

Reverse vector (in-place).

\[y(i)=x(K-i), K=N-1, 0\leq{i}\leq{N-1}\]

Parameters:
Vect Source & destination x()
Count Vector length, N

Definition at line 3661 of file DSPOp.cc.

Referenced by dsp_reverse(), dsp_reverse_nip(), dsp_reversef(), dsp_reversef_nip(), clFlipBand::Put(), and clDSPVector< TDSPVector_t >::Reverse().

void clDSPOp::Reverse double *  ,
long 
[static]
 

This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.

Definition at line 3688 of file DSPOp.cc.

void clDSPOp::Reverse stpSCplx  ,
long 
[static]
 

This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.

Definition at line 3715 of file DSPOp.cc.

References CplxConj(), _sSCplx::I, _sSCplx::R, stpSCplx, and stSCplx.

void clDSPOp::Reverse stpDCplx  ,
long 
[static]
 

This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.

Definition at line 3753 of file DSPOp.cc.

References CplxConj(), _sDCplx::I, _sDCplx::R, stDCplx, and stpDCplx.

void clDSPOp::Reverse float *  ,
const float *  ,
long 
[static]
 

Reverse vector (out-of-place).

\[y(i)=x(K-i), K=N-1, 0\leq{i}\leq{N-1}\]

Parameters:
Dest Destination, y()
Src Source, x()
Count Vector length

Definition at line 3791 of file DSPOp.cc.

void clDSPOp::Reverse double *  ,
const double *  ,
long 
[static]
 

This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.

Definition at line 3808 of file DSPOp.cc.

void clDSPOp::Reverse stpSCplx  ,
const  stpSCplx,
long 
[static]
 

This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.

Definition at line 3825 of file DSPOp.cc.

References CplxConj(), and stpSCplx.

void clDSPOp::Reverse stpDCplx  ,
const  stpDCplx,
long 
[static]
 

This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.

Definition at line 3842 of file DSPOp.cc.

References CplxConj(), and stpDCplx.

void clDSPOp::Scale float *  ,
long 
[static]
 

Scale (normalize) vector to range [-1:1].

\[x(i)=x(i)\frac{2}{\max-\min}+\left(1-\max\frac{2}{\max-\min}\right), 0\leq{i}\leq{N-1}\]

Parameters:
Vect Source & destination, x()
Count Vector length, N

Definition at line 3859 of file DSPOp.cc.

References MinMax().

Referenced by dsp_scale(), dsp_scale_nip(), dsp_scalef(), dsp_scalef_nip(), and clDSPVector< TDSPVector_t >::Scale().

void clDSPOp::Scale double *  ,
long 
[static]
 

This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.

Definition at line 3905 of file DSPOp.cc.

References MinMax().

void clDSPOp::Scale float *  ,
const float *  ,
long 
[static]
 

This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.

Parameters:
Dest Destination
Src Source
Count Vector length

Definition at line 3947 of file DSPOp.cc.

References MinMax().

void clDSPOp::Scale double *  ,
const double *  ,
long 
[static]
 

This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.

Definition at line 3993 of file DSPOp.cc.

References MinMax().

void clDSPOp::Scale01 float *  ,
long 
[static]
 

Scale (normalize) vector to range [0:1].

\[x(i)=x(i)\frac{1}{\max-\min}+\left(-\min\frac{1}{\max-\min}\right), 0\leq{i}\leq{N-1}\]

Parameters:
Vect Source & destination, x()
Count Vector length, N

Definition at line 4035 of file DSPOp.cc.

References MinMax().

Referenced by dsp_scale01(), dsp_scale01_nip(), dsp_scale01f(), dsp_scale01f_nip(), and clDSPVector< TDSPVector_t >::Scale01().

void clDSPOp::Scale01 double *  ,
long 
[static]
 

This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.

Definition at line 4079 of file DSPOp.cc.

References MinMax().

void clDSPOp::Scale01 float *  ,
const float *  ,
long 
[static]
 

This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.

Parameters:
Dest Destination
Src Source
Count Vector length

Definition at line 4119 of file DSPOp.cc.

References MinMax().

void clDSPOp::Scale01 double *  ,
const double *  ,
long 
[static]
 

This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.

Definition at line 4163 of file DSPOp.cc.

References MinMax().

void clDSPOp::Sort float *  ,
long 
[static]
 

Sort vector elements (in-place).

Vector is sorted using quick-sort algorithm.

Parameters:
Vect Source & destination
Count Vector length

Definition at line 4203 of file DSPOp.cc.

References FloatCompare().

Referenced by dsp_sort(), dsp_sortf(), dsp_sortl(), Median(), and clDSPVector< TDSPVector_t >::Sort().

void clDSPOp::Sort double *  ,
long 
[static]
 

This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.

Definition at line 4213 of file DSPOp.cc.

References DoubleCompare().

void clDSPOp::Sort long *  ,
long 
[static]
 

This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.

Definition at line 4223 of file DSPOp.cc.

References LongCompare().

void clDSPOp::StdDev float *  ,
float *  ,
const float *  ,
long 
[static]
 

Calculate standard deviation and mean of vector.

\[\mu=\frac{1}{N}\sum_{i=0}^{N-1}x(i)\]

\[\sigma=\sqrt{\frac{1}{N}\sum_{i=0}^{N-1}(x(i)-\mu)^2}\]

Parameters:
StdDev Standard deviation, $\sigma$
Mean Mean, $\mu$
Src Source, x()
Count Vector length, N

Definition at line 4233 of file DSPOp.cc.

Referenced by dsp_stddev(), dsp_stddevf(), Normalize(), and clDSPVector< TDSPVector_t >::StdDev().

void clDSPOp::StdDev double *  ,
double *  ,
const double *  ,
long 
[static]
 

This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.

Definition at line 4267 of file DSPOp.cc.

float clDSPOp::Sum const float *  ,
long 
[static]
 

Calculate sum of vector elements.

\[y=\sum_{i=0}^{N-1}x(i)\]

Parameters:
Src Source, x()
Count Vector length, N
Returns:
Sum, y

Definition at line 4301 of file DSPOp.cc.

Referenced by dsp_sum(), dsp_sumf(), and clDSPVector< TDSPVector_t >::Sum().

double clDSPOp::Sum const double *  ,
long 
[static]
 

This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.

Definition at line 4320 of file DSPOp.cc.

void clDSPOp::Square float *  ,
long 
[static]
 

Square vector in-place.

\[x(i)=x(i)^2, 0\leq{i}\leq{N-1}\]

Parameters:
Vect Source & destination, x()
Count Vector length, N

Definition at line 4339 of file DSPOp.cc.

Referenced by dsp_square(), dsp_square_nip(), dsp_squaref(), dsp_squaref_nip(), and clDSPVector< TDSPVector_t >::Square().

void clDSPOp::Square double *  ,
long 
[static]
 

This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.

Definition at line 4354 of file DSPOp.cc.

void clDSPOp::Square float *  ,
const float *  ,
long 
[static]
 

Square vector out-of-place.

\[y(i)=x(i)^2, 0\leq{i}\leq{N-1}\]

Parameters:
Dest Destination, y()
Src Source, x()
Count Vector length, N

Definition at line 4369 of file DSPOp.cc.

void clDSPOp::Square double *  ,
const double *  ,
long 
[static]
 

This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.

Definition at line 4384 of file DSPOp.cc.

void clDSPOp::Convert float *  ,
const unsigned char *  ,
long 
[static]
 

Vector datatype conversion.

Note:
12-bit data in LSBs, 24-bit data in MSBs
Parameters:
Dest Destination
Src Source
Count Vector length

Definition at line 4399 of file DSPOp.cc.

Referenced by clDSPVector< TDSPVector_t >::Convert(), dsp_convertd64c(), dsp_convertd64f(), dsp_convertd64i(), dsp_convertd64s(), dsp_convertf32(), dsp_convertf32c(), dsp_convertf32i(), dsp_convertf32s(), dsp_converts16(), dsp_converts16f(), dsp_converts32(), dsp_converts32f(), dsp_convertu8(), dsp_convertu8f(), and clFilter::Initialize().

void clDSPOp::Convert float *  ,
const signed short *  ,
long  ,
bool 
[static]
 

This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.

Parameters:
Dest Destination
Src Source
Count Vector length
12bit 12-bit data

Definition at line 4412 of file DSPOp.cc.

void clDSPOp::Convert float *  ,
const signed int *  ,
long  ,
bool 
[static]
 

This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.

Parameters:
Dest Destination
Src Source
Count Vector length
24bit 24-bit data

Definition at line 4441 of file DSPOp.cc.

void clDSPOp::Convert float *  ,
const double *  ,
long 
[static]
 

This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.

Definition at line 4472 of file DSPOp.cc.

void clDSPOp::Convert double *  ,
const unsigned char *  ,
long 
[static]
 

This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.

Definition at line 4487 of file DSPOp.cc.

void clDSPOp::Convert double *  ,
const signed short *  ,
long  ,
bool 
[static]
 

This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.

Definition at line 4501 of file DSPOp.cc.

void clDSPOp::Convert double *  ,
const signed int *  ,
long  ,
bool 
[static]
 

This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.

Definition at line 4520 of file DSPOp.cc.

void clDSPOp::Convert double *  ,
const float *  ,
long 
[static]
 

This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.

Definition at line 4541 of file DSPOp.cc.

void clDSPOp::Convert unsigned char *  ,
const float *  ,
long 
[static]
 

This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.

Definition at line 4556 of file DSPOp.cc.

References Round().

void clDSPOp::Convert unsigned char *  ,
const double *  ,
long 
[static]
 

This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.

Definition at line 4568 of file DSPOp.cc.

References Round().

void clDSPOp::Convert signed short *  ,
const float *  ,
long  ,
bool 
[static]
 

This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.

Definition at line 4581 of file DSPOp.cc.

References Round().

void clDSPOp::Convert signed short *  ,
const double *  ,
long  ,
bool 
[static]
 

This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.

Definition at line 4601 of file DSPOp.cc.

References Round().

void clDSPOp::Convert signed int *  ,
const float *  ,
long  ,
bool 
[static]
 

This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.

Definition at line 4616 of file DSPOp.cc.

References Round().

void clDSPOp::Convert signed int *  ,
const double *  ,
long  ,
bool 
[static]
 

This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.

Definition at line 4635 of file DSPOp.cc.

References Round().

void clDSPOp::CartToPolar float *  ,
float *  ,
const float *  ,
const float *  ,
long 
[static]
 

Convert cartesian to polar vectors (out-of-place).

See ::Cart2Polar for formula

Parameters:
Magn Magnitude
Phase Phase
Real Real
Imag Imaginary
Count Vector length

Definition at line 4654 of file DSPOp.cc.

References Cart2Polar().

Referenced by clDSPVector< TDSPVector_t >::CartToPolar(), dsp_cart2polar(), dsp_cart2polar2(), dsp_cart2polar2f(), dsp_cart2polar3(), dsp_cart2polar3f(), dsp_cart2polar4(), dsp_cart2polar4f(), and dsp_cart2polarf().

void clDSPOp::CartToPolar double *  ,
double *  ,
const double *  ,
const double *  ,
long 
[static]
 

This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.

Definition at line 4671 of file DSPOp.cc.

References Cart2Polar().

void clDSPOp::CartToPolar float *  ,
float *  ,
const  stpSCplx,
long 
[static]
 

This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.

Parameters:
Magn Magnitude
Phase Phase
Cart Cartesian
Count Vector length

Definition at line 4688 of file DSPOp.cc.

References Cart2Polar(), and stpSCplx.

void clDSPOp::CartToPolar double *  ,
double *  ,
const  stpDCplx,
long 
[static]
 

This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.

Definition at line 4705 of file DSPOp.cc.

References Cart2Polar(), and stpDCplx.

void clDSPOp::CartToPolar stpSPolar  ,
const  stpSCplx,
long 
[static]
 

This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.

Parameters:
Polar Polart
Cart Cartesian
Count Vector length

Definition at line 4722 of file DSPOp.cc.

References Cart2Polar(), stpSCplx, and stpSPolar.

void clDSPOp::CartToPolar stpDPolar  ,
const  stpDCplx,
long 
[static]
 

This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.

Definition at line 4734 of file DSPOp.cc.

References Cart2Polar(), stpDCplx, and stpDPolar.

void clDSPOp::CartToPolar utpSCoord  ,
long 
[static]
 

Convert cartesian to polar vectors (in-place).

Definition at line 4746 of file DSPOp.cc.

References Cart2Polar(), and utpSCoord.

void clDSPOp::CartToPolar utpDCoord  ,
long 
[static]
 

This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.

Definition at line 4757 of file DSPOp.cc.

References Cart2Polar(), and utpDCoord.

void clDSPOp::PolarToCart float *  ,
float *  ,
const float *  ,
const float *  ,
long 
[static]
 

Convert polar to cartesian vectors (out-of-place).

See ::Polar2Cart for formula

Parameters:
Real Real
Imag Imaginary
Magn Magnitude
Phase Phase
Count Vector length

Definition at line 4768 of file DSPOp.cc.

References Polar2Cart().

Referenced by dsp_polar2cart(), dsp_polar2cart2(), dsp_polar2cart2f(), dsp_polar2cart3(), dsp_polar2cart3f(), dsp_polar2cart4(), dsp_polar2cart4f(), dsp_polar2cartf(), and clDSPVector< TDSPVector_t >::PolarToCart().

void clDSPOp::PolarToCart double *  ,
double *  ,
const double *  ,
const double *  ,
long 
[static]
 

This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.

Definition at line 4785 of file DSPOp.cc.

References Polar2Cart().

void clDSPOp::PolarToCart stpSCplx  ,
const float *  ,
const float *  ,
long 
[static]
 

This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.

Parameters:
Cart Cartesian
Magn Magnitude
Phase Phase
Count Vector length

Definition at line 4802 of file DSPOp.cc.

References Polar2Cart(), and stpSCplx.

void clDSPOp::PolarToCart stpDCplx  ,
const double *  ,
const double *  ,
long 
[static]
 

This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.

Definition at line 4818 of file DSPOp.cc.

References Polar2Cart(), and stpDCplx.

void clDSPOp::PolarToCart stpSCplx  ,
const  stpSPolar,
long 
[static]
 

This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.

Parameters:
Polar Polar
Cart Cartesian
Count Vector length

Definition at line 4834 of file DSPOp.cc.

References Polar2Cart(), stpSCplx, and stpSPolar.

void clDSPOp::PolarToCart stpDCplx  ,
const  stpDPolar,
long 
[static]
 

This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.

Definition at line 4846 of file DSPOp.cc.

References Polar2Cart(), stpDCplx, and stpDPolar.

void clDSPOp::PolarToCart utpSCoord  ,
long 
[static]
 

Convert cartesian to polar vectors (in-place).

Definition at line 4858 of file DSPOp.cc.

References Polar2Cart(), and utpSCoord.

void clDSPOp::PolarToCart utpDCoord  ,
long 
[static]
 

This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.

Definition at line 4869 of file DSPOp.cc.

References Polar2Cart(), and utpDCoord.

float clDSPOp::CrossCorr const float *  ,
const float *  ,
long 
[static]
 

Calculate normalized cross correlation of two vectors without delay.

\[z=\frac{\frac{1}{N}\sum_{i=0}^{N-1}x(i)y(i)} {\frac{1}{N}\sqrt{\sum_{i=0}^{N-1}x(i)^2\sum_{i=0}^{N-1}y(i)^2}}\]

Parameters:
Src1 Source 1, x()
Src2 Source 2, y()
Count Vector length, N
Returns:
Normalized cross-correlation

Definition at line 4880 of file DSPOp.cc.

Referenced by clDSPVector< TDSPVector_t >::CrossCorr(), dsp_crosscorr(), and dsp_crosscorrf().

double clDSPOp::CrossCorr const double *  ,
const double *  ,
long 
[static]
 

This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.

Definition at line 4944 of file DSPOp.cc.

float clDSPOp::DelCrossCorr const float *  ,
const float *  ,
long  ,
long 
[static]
 

Calculate normalized cross correlation of two vectors with delay in second.

\[z=\frac{\frac{1}{K}\sum_{i=0}^{K-1}x(i)y(i+k)} {\frac{1}{K}\sqrt{\sum_{i=0}^{K-1}x(i)^2\sum_{i=0}^{K-1}y(i+k)^2}} ,K=N-k\]

Parameters:
Src1 Source 1, x()
Src2 Source 2, y()
Delay Delay, k
Count Vector length, N
Returns:
Normalized cross-correlation

Definition at line 5004 of file DSPOp.cc.

Referenced by clDSPVector< TDSPVector_t >::CrossCorr(), dsp_crosscorr2(), dsp_crosscorr2f(), dsp_crosscorr3(), and dsp_crosscorr3f().

double clDSPOp::DelCrossCorr const double *  ,
const double *  ,
long  ,
long 
[static]
 

This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.

Definition at line 5054 of file DSPOp.cc.

void clDSPOp::DelCrossCorr float *  ,
const float *  ,
const float *  ,
long  ,
const long *  ,
long 
[static]
 

Calculate normalized cross correlation of two vectors with delays specified in vector.

\[z(j)=\frac{\frac{1}{K}\sum_{i=0}^{K-1}x(i)y(i+k(j))} {\frac{1}{K}\sqrt{\sum_{i=0}^{K-1}x(i)^2\sum_{i=0}^{K-1}y(i+k(j))^2}} ,K=N-k(j),0\leq{j}\leq{M-1}\]

Parameters:
Dest Destination vector, z()
Src1 Source 1, x()
Src2 Source 2, y()
Count Vector length, N
Delay Delays, k()
DelayCount Delay vector length, M

Definition at line 5100 of file DSPOp.cc.

void clDSPOp::DelCrossCorr double *  ,
const double *  ,
const double *  ,
long  ,
const long *  ,
long 
[static]
 

This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.

Definition at line 5141 of file DSPOp.cc.

float clDSPOp::Energy const float *  ,
long 
[static]
 

Calculates energy (square) of vector.

\[w=\sum_{i=0}^{N-1}x(i)^2\]

Parameters:
Src Source, x()
Count Vector length, N
Returns:
Energy, w

Definition at line 5182 of file DSPOp.cc.

Referenced by dsp_energy(), dsp_energyf(), and clDSPVector< TDSPVector_t >::Energy().

double clDSPOp::Energy const double *  ,
long 
[static]
 

This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.

Definition at line 5199 of file DSPOp.cc.

void clDSPOp::Magnitude float *  ,
const  stpSCplx,
long 
[static]
 

Calculates magnitudes (linear) of vector.

\[V(i)=\sqrt{\Re_{X}(i)^2+\Im_{X}(i)^2}, 0\leq{i}\leq{N-1}\]

Parameters:
Dest Destination, V()
Src Source, X()
Count Vector length

Definition at line 5216 of file DSPOp.cc.

References stpSCplx.

Referenced by dsp_magnitude(), dsp_magnitudef(), and clDSPVector< TDSPVector_t >::Magnitude().

void clDSPOp::Magnitude double *  ,
const  stpDCplx,
long 
[static]
 

This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.

Definition at line 5238 of file DSPOp.cc.

References stpDCplx.

void clDSPOp::Power float *  ,
const  stpSCplx,
long 
[static]
 

Calculates powers (in dB) of vector.

\[P(i)=20\log\sqrt{\Re_{X}(i)^2+\Im_{X}(i)^2}, 0\leq{i}\leq{N-1}\]

Parameters:
Dest Destination, P()
Src Source, X()
Count Vector length

Definition at line 5260 of file DSPOp.cc.

References stpSCplx.

Referenced by dsp_power(), dsp_powerf(), and clDSPVector< TDSPVector_t >::Power().

void clDSPOp::Power double *  ,
const  stpDCplx,
long 
[static]
 

This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.

Definition at line 5278 of file DSPOp.cc.

References stpDCplx.

void clDSPOp::Phase float *  ,
const  stpSCplx,
long 
[static]
 

Calculated phases (in rad) of vector.

\[\varphi(i)=\arctan{\frac{\Im_{X}(i)}{\Re_{X}(i)}}, 0\leq{i}\leq{N-1}\]

Parameters:
Dest Destination, $\varphi(i)$
Src Source, X()
Count Vector length, N

Definition at line 5296 of file DSPOp.cc.

References stpSCplx.

Referenced by dsp_phase(), dsp_phasef(), and clDSPVector< TDSPVector_t >::Phase().

void clDSPOp::Phase double *  ,
const  stpDCplx,
long 
[static]
 

This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.

Definition at line 5312 of file DSPOp.cc.

References stpDCplx.

void clDSPOp::PowerPhase float *  ,
float *  ,
const  stpSCplx,
long 
[static]
 

Calculates powers (in dB) and phases (in rad) of vector See ::Power() and ::Phase() for formulas.

Parameters:
Power Powers
Phase Phases
Src Source
Count Vector length

Definition at line 5329 of file DSPOp.cc.

References _sSCplx::R, and stpSCplx.

Referenced by dsp_powerphase(), dsp_powerphasef(), and clDSPVector< TDSPVector_t >::PowerPhase().

void clDSPOp::PowerPhase double *  ,
double *  ,
const  stpDCplx,
long 
[static]
 

This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.

Definition at line 5352 of file DSPOp.cc.

References _sDCplx::R, and stpDCplx.

void clDSPOp::Decimate float *  ,
const float *  ,
long  ,
long 
[static]
 

Decimate vector without average.

Note:
This can be used in-place also
Parameters:
Dest Destination
Src Source
Factor Decimation factor
Count Vector length (source)

Definition at line 5375 of file DSPOp.cc.

Referenced by clDSPVector< TDSPVector_t >::Decimate(), dsp_decimate(), dsp_decimatef(), clIIRDecimator::Get(), clFIRDecimator::Get(), and clFFTDecimator::Get().

void clDSPOp::Decimate double *  ,
const double *  ,
long  ,
long 
[static]
 

This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.

Definition at line 5396 of file DSPOp.cc.

void clDSPOp::DecimateAvg float *  ,
const float *  ,
long  ,
long 
[static]
 

Decimate vector with average.

Linear (arithmetic) mean is used to evaluate new values.

Parameters:
Dest Destination
Src Source
Factor Decimation factor
Count Vector length (source)

Definition at line 5417 of file DSPOp.cc.

Referenced by clDSPVector< TDSPVector_t >::DecimateAvg(), dsp_decimateavg(), and dsp_decimateavgf().

void clDSPOp::DecimateAvg double *  ,
const double *  ,
long  ,
long 
[static]
 

This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.

Definition at line 5438 of file DSPOp.cc.

void clDSPOp::Interpolate float *  ,
const float *  ,
long  ,
long 
[static]
 

Iterpolate vector without average (nulling).

Parameters:
Dest Destination
Src Source
Factor Interpolation factor
Count Vector length (source)

Definition at line 5459 of file DSPOp.cc.

Referenced by dsp_interpolate(), dsp_interpolatef(), clDSPVector< TDSPVector_t >::Interpolate(), clIIRInterpolator::Put(), clFIRInterpolator::Put(), and clFFTInterpolator::Put().

void clDSPOp::Interpolate double *  ,
const double *  ,
long  ,
long 
[static]
 

This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.

Definition at line 5483 of file DSPOp.cc.

void clDSPOp::InterpolateAvg float *  ,
const float *  ,
long  ,
long 
[static]
 

Interpolate vector with average (linear).

Lagrange interpolation is used to estimate new values.

\[y(k)=\frac{k-(i+1)}{i-(i+1)}\times{x(i)}+\frac{k-i}{(i+1)-i}\times{x(i+1)}, 0\leq{k}\leq{M-1}, 0\leq{i}\leq{N-1}\]

Where M is destination length and N is source length.

Parameters:
Dest Destination
Src Source
Factor Interpolation factor
Count Vector length (source)

Definition at line 5507 of file DSPOp.cc.

Referenced by dsp_interpolateavg(), dsp_interpolateavgf(), and clDSPVector< TDSPVector_t >::InterpolateAvg().

void clDSPOp::InterpolateAvg double *  ,
const double *  ,
long  ,
long 
[static]
 

Definition at line 5548 of file DSPOp.cc.

void clDSPOp::Resample float *  ,
long  ,
const float *  ,
long 
[static]
 

Resample vector to different length.

Parameters:
Dest Destination
DestCount Destionation vector length
Src Source
SrcCount Source vector length

Definition at line 5589 of file DSPOp.cc.

References unlikely.

Referenced by dsp_resample(), dsp_resamplef(), and clDSPVector< TDSPVector_t >::Resample().

void clDSPOp::Resample double *  ,
long  ,
const double *  ,
long 
[static]
 

Definition at line 5607 of file DSPOp.cc.

References unlikely.

void clDSPOp::ResampleAvg float *  ,
long  ,
const float *  ,
long 
[static]
 

Resample vector to different length with average.

Parameters:
Dest Destination
DestCount Destination vector length
Src Source
SrcCount Source vector length

Definition at line 5625 of file DSPOp.cc.

References Copy(), and unlikely.

Referenced by dsp_resampleavg(), dsp_resampleavgf(), and clDSPVector< TDSPVector_t >::ResampleAvg().

void clDSPOp::ResampleAvg double *  ,
long  ,
const double *  ,
long 
[static]
 

Definition at line 5678 of file DSPOp.cc.

References Copy(), and unlikely.

float clDSPOp::RMS const float *  ,
long 
[static]
 

Calculate RMS (root mean square) of vector.

\[I=\sqrt{\frac{\sum_{i=0}^{N-1}x(i)^2}{N}}\]

Parameters:
Src Source, x()
Count Vector length, N
Returns:
RMS, I

Definition at line 5731 of file DSPOp.cc.

Referenced by dsp_rms(), dsp_rmsf(), and clDSPVector< TDSPVector_t >::RMS().

double clDSPOp::RMS const double *  ,
long 
[static]
 

This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.

Definition at line 5748 of file DSPOp.cc.

float clDSPOp::Variance float *  ,
float *  ,
const float *  ,
long 
[static]
 

Calculate variance and mean of vector.

Note:
variance and mean pointers can be NULL

\[\mu=\frac{1}{N}\sum_{i=0}^{N-1}x(i)\]

\[\sigma^2=\frac{\sum_{i=0}^{N}(x(i)-\mu)^2}{N}\]

Parameters:
Variance Variance, $\sigma^2$
Mean Mean, $\mu$
Src Source, x()
Count Vector length, N
Returns:
Variance $\sigma^2$

Definition at line 5765 of file DSPOp.cc.

Referenced by dsp_variance(), dsp_variancef(), and clDSPVector< TDSPVector_t >::Variance().

double clDSPOp::Variance double *  ,
double *  ,
const double *  ,
long 
[static]
 

This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.

Definition at line 5794 of file DSPOp.cc.

float clDSPOp::PeakLevel const float *  ,
long 
[static]
 

Find peak level of vector and return result in dB.

Parameters:
Src Source
Count Vector length
Returns:
Peak level (dB)

Definition at line 5823 of file DSPOp.cc.

References MinMax().

Referenced by dsp_peaklevel(), dsp_peaklevelf(), and clDSPVector< TDSPVector_t >::PeakLevel().

double clDSPOp::PeakLevel const double *  ,
long 
[static]
 

This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.

Definition at line 5841 of file DSPOp.cc.

References MinMax().

void clDSPOp::WinBartlett float *  ,
long 
 

Calculate Bartlett (triangle) window coefficients.

Parameters:
Dest Destination
Count Vector length

Definition at line 5859 of file DSPOp.cc.

Referenced by clDSPVector< TDSPVector_t >::WinBartlett().

void clDSPOp::WinBartlett double *  ,
long 
 

This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.

Definition at line 5880 of file DSPOp.cc.

void clDSPOp::WinBlackman float *  ,
long 
 

Calculate Blackman window coefficients.

\[y(n)=0.42-0.5\cos\left(\frac{2\pi{n}}{N}\right)+0.08\cos\left(\frac{4\pi{n}}{N}\right), 0\leq{n}\leq{N-1}\]

Parameters:
Dest Destination, y()
Count Vector length, N

Definition at line 5901 of file DSPOp.cc.

References fPI.

Referenced by clDSPVector< TDSPVector_t >::WinBlackman().

void clDSPOp::WinBlackman double *  ,
long 
 

This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.

Definition at line 5919 of file DSPOp.cc.

References dPI.

void clDSPOp::WinBlackman float *  ,
long  ,
float 
 

Calculate blackman window coefficients with specified alpha.

\[y(n)=\frac{\alpha+1}{2}-0.5\cos\left(\frac{2\pi{n}}{N-1}\right)-\frac{\alpha}{2}\cos\left(\frac{4\pi{n}}{N-1}\right), 0\leq{n}\leq{N-1}\]

or with optimal alpha when alpha is specified as 0

\[\alpha=\frac{0.5}{1+\cos\left(\frac{2\pi}{N-1}\right)}\]

(around -0.25 for large windows)

Definition at line 5937 of file DSPOp.cc.

References fPI.

void clDSPOp::WinBlackman double *  ,
long  ,
double 
 

Definition at line 5963 of file DSPOp.cc.

References dPI.

void clDSPOp::WinBlackmanHarris float *  ,
long 
 

Calculate Blackman-Harris window coefficients.

\[y(n)=0.42323-0.49855\cos\left(\frac{2\pi{n}}{N}\right)+0.07922\cos\left(\frac{4\pi{n}}{N}\right), 0\leq{n}\leq{N-1}\]

Parameters:
Dest Destination, y()
Count Vector length, N

Definition at line 5989 of file DSPOp.cc.

References fPI.

Referenced by clDSPVector< TDSPVector_t >::WinBlackmanHarris().

void clDSPOp::WinBlackmanHarris double *  ,
long 
 

This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.

Definition at line 6004 of file DSPOp.cc.

References dPI.

void clDSPOp::WinCosTapered float *  ,
long 
 

Calculate cosine tapered window coefficients.

\[y(n)=0.5\left(1-\cos\left(\frac{2\pi{n}}{N}\right)\right), 0\leq{n}\leq{N-1}\]

Parameters:
Dest Destination, y()
Count Vector length, N

Definition at line 6019 of file DSPOp.cc.

References fPI, and Round().

Referenced by clDSPVector< TDSPVector_t >::WinCosTapered().

void clDSPOp::WinCosTapered double *  ,
long 
 

This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.

Definition at line 6040 of file DSPOp.cc.

References dPI, and Round().

void clDSPOp::WinCosTaperedA float *  ,
long 
 

This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.

Apply cosine tapered window to vector (in-place)

Definition at line 6061 of file DSPOp.cc.

References fPI, and Round().

void clDSPOp::WinCosTaperedA double *  ,
long 
 

This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.

Definition at line 6080 of file DSPOp.cc.

References dPI, and Round().

void clDSPOp::WinCosTaperedA float *  ,
const float *  ,
long 
 

This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.

Apply cosine tapered window to vector (out-of-place)

Definition at line 6099 of file DSPOp.cc.

References fPI, and Round().

void clDSPOp::WinCosTaperedA double *  ,
const double *  ,
long 
 

This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.

Definition at line 6120 of file DSPOp.cc.

References dPI, and Round().

void clDSPOp::WinExactBlackman float *  ,
long 
 

Calculate exact Blackman window coefficients.

\[y(n)=\frac{7938}{18608}-\frac{9240}{18608}\cos\left(\frac{2\pi{n}}{N}\right)+\frac{1430}{18608}\cos\left(\frac{4\pi{n}}{N}\right), 0\leq{n}\leq{N-1}\]

Parameters:
Dest Destination, y()
Count Vector length, N

Definition at line 6141 of file DSPOp.cc.

References fPI.

Referenced by clDSPVector< TDSPVector_t >::WinExactBlackman().

void clDSPOp::WinExactBlackman double *  ,
long 
 

This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.

Definition at line 6160 of file DSPOp.cc.

References dPI.

void clDSPOp::WinExp float *  ,
float  ,
long 
 

Calculate exponential window coefficients.

\[y(n)=y(N-1-n)=\exp\left(\frac{\ln(z+1)}{N/2}n\right)-1, 0\leq{n}\leq{N/2}\]

Parameters:
Dest Destination, y()
Final Final value, z
Count Vector length, N

Definition at line 6179 of file DSPOp.cc.

Referenced by clDSPVector< TDSPVector_t >::WinExp().

void clDSPOp::WinExp double *  ,
double  ,
long 
 

This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.

Definition at line 6193 of file DSPOp.cc.

void clDSPOp::WinFlatTop float *  ,
long 
 

Calculate flat top window coefficients.

\[y(n)=0.2810639-0.5208972\cos\left(\frac{2\pi{n}}{N}\right)+0.1980399\cos\left(\frac{4\pi{n}}{N}\right), 0\leq{n}\leq{N-1}\]

Parameters:
Dest Destination, y()
Count Vector length, N

Definition at line 6207 of file DSPOp.cc.

References fPI.

Referenced by clDSPVector< TDSPVector_t >::WinFlatTop().

void clDSPOp::WinFlatTop double *  ,
long 
 

This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.

Definition at line 6222 of file DSPOp.cc.

References dPI.

void clDSPOp::WinGenericCos float *  ,
long  ,
const float *  ,
long 
 

Calculate generic cosine window coefficients.

\[y(n)=\sum_{i=0}^{M-1}-1^{i}x(i)\cos\left(\frac{2\pi{in}}{N}\right), 0\leq{n}\leq{N-1}\]

Parameters:
Dest Destination, y()
Count Vector length, N
Coeff Coefficients, x()
CoeffCount Coefficient vector length, M

Definition at line 6237 of file DSPOp.cc.

References fPI.

Referenced by clDSPVector< TDSPVector_t >::WinGenericCos().

void clDSPOp::WinGenericCos double *  ,
long  ,
const double *  ,
long 
 

This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.

Definition at line 6259 of file DSPOp.cc.

References dPI.

void clDSPOp::WinHamming float *  ,
long 
 

Calculate Hamming window coefficients.

\[y(n)=0.54-0.46\cos\left(\frac{2\pi{n}}{N}\right), 0\leq{n}\leq{N-1}\]

Parameters:
Dest Destination vector, y()
Count Vector length, N

Definition at line 6281 of file DSPOp.cc.

References fPI.

Referenced by clDSPVector< TDSPVector_t >::WinHamming().

void clDSPOp::WinHamming double *  ,
long 
 

This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.

Definition at line 6298 of file DSPOp.cc.

References dPI.

void clDSPOp::WinHanning float *  ,
long 
 

Calculate Hanning (Hann?) window coefficients.

\[y(n)=0.5-0.5\cos\left(\frac{2\pi{n}}{N}\right), 0\leq{n}\leq{N-1}\]

Parameters:
Dest Destination vector, y()
Count Vector length, N

Definition at line 6315 of file DSPOp.cc.

References fPI.

Referenced by clDSPVector< TDSPVector_t >::WinHanning().

void clDSPOp::WinHanning double *  ,
long 
 

This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.

Definition at line 6332 of file DSPOp.cc.

References dPI.

void clDSPOp::WinKaiser float *  ,
float  ,
long 
 

Calculate Kaiser window coefficients See ::ModZeroBessel() for $I_{0}$.

\[y(n)=\frac{I_{0}\left\{\beta\sqrt{1-\left|1-\frac{2n}{N}\right|^2}\right\}} {I_{0}\left\{\beta\right\}}, 0\leq{n}\leq{N-1}\]

Parameters:
Dest Destination, y()
Beta Beta, $\beta$
Count Vector length, N

Definition at line 6349 of file DSPOp.cc.

References ModZeroBessel().

Referenced by clFilter::Initialize(), and clDSPVector< TDSPVector_t >::WinKaiser().

void clDSPOp::WinKaiser double *  ,
double  ,
long 
 

This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.

Definition at line 6370 of file DSPOp.cc.

References ModZeroBessel().

void clDSPOp::WinKaiserBessel float *  ,
float  ,
long 
 

Calculate Kaiser-Bessel window coefficients See ::ModZeroBessel() for $I_{0}$.

\[w(n_{DFT})=I_{0}\left\{\pi\alpha\left[1.0-\left(\frac{n_{DFT}-N/2}{N/2}\right)^{2}\right]^{1/2}\right\}/I_{0}(\pi\alpha), 0\leq{n_{DFT}}\leq{N-1}\]

Parameters:
Dest Destination, w()
Alpha Alpha, $\alpha$
Count Vector length, N

Definition at line 6391 of file DSPOp.cc.

References fPI, and ModZeroBessel().

Referenced by clFilter::Initialize(), and clDSPVector< TDSPVector_t >::WinKaiserBessel().

void clDSPOp::WinKaiserBessel double *  ,
double  ,
long 
 

This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.

Definition at line 6409 of file DSPOp.cc.

References dPI, and ModZeroBessel().

void clDSPOp::WinTukey float *  ,
long 
 

Calculate Tukey window coefficients.

\[y(n)=0.5\left[1+\cos\left(\frac{(n-N/2)\pi}{N/2}\right)\right], 0\leq{n}\leq{N-1}\]

Parameters:
Dest Destination, y()
Count Vector length, N

Definition at line 6427 of file DSPOp.cc.

References fPI.

Referenced by clDSPVector< TDSPVector_t >::WinTukey().

void clDSPOp::WinTukey double *  ,
long 
 

This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.

Definition at line 6441 of file DSPOp.cc.

References dPI.

void clDSPOp::WinDolphChebyshev float *  ,
float  ,
long 
 

Calculate Dolph-Chebyshev window coefficients.

\[w(n)=\frac{1}{N}\left[1+2r\sum_{m=1}^{M}T_{2M}\left(x_{0}\cos{\frac{\theta_{m}}{2}}\right)\cos{m\theta_{n}}\right], {-M}\leq{n}\leq{M}\]

\[x_{0}=\cosh\left(\frac{1}{2M}\cosh^{-1}\frac{1}{r}\right)\]

Gamma (r) is sidelobe / mainlobe ratio.

Parameters:
Dest Destination w()
Gamma Gamma (r)
Count Vector length, N

Definition at line 6455 of file DSPOp.cc.

References ChebyshevPolynom(), fPI, MinMax(), and Mul().

Referenced by clFilter::Initialize(), and clDSPVector< TDSPVector_t >::WinDolphChebyshev().

void clDSPOp::WinDolphChebyshev double *  ,
double  ,
long 
 

Definition at line 6498 of file DSPOp.cc.

References ChebyshevPolynom(), dPI, MinMax(), and Mul().

void clDSPOp::Mix float *  ,
const float *  ,
long 
[static]
 

Mix two channels interleaved in vector.

Parameters:
Dest Destination
Src Source
Count Vector length (destination)

Definition at line 6541 of file DSPOp.cc.

Referenced by dsp_mix(), dsp_mix2(), dsp_mix2f(), dsp_mixf(), dsp_mixn(), dsp_mixnf(), and clDSPVector< TDSPVector_t >::Mix().

void clDSPOp::Mix double *  ,
const double *  ,
long 
[static]
 

This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.

Definition at line 6554 of file DSPOp.cc.

void clDSPOp::Mix float *  ,
const float *  ,
const float *  ,
long 
[static]
 

This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.

Mix two channels in separate vectors

Definition at line 6567 of file DSPOp.cc.

void clDSPOp::Mix double *  ,
const double *  ,
const double *  ,
long 
[static]
 

This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.

Definition at line 6579 of file DSPOp.cc.

void clDSPOp::Mix float *  ,
const float *  ,
long  ,
long 
[static]
 

This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.

Mix n channels interleaved in vector

Definition at line 6591 of file DSPOp.cc.

void clDSPOp::Mix double *  ,
const double *  ,
long  ,
long 
[static]
 

This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.

Definition at line 6614 of file DSPOp.cc.

void clDSPOp::Spatialize float *  ,
float *  ,
const float *  ,
long 
 

Spatialize one channel to two channels by inversing others phase.

For playing mono sound on stereo headphones.

Parameters:
Dest1 Destination 1
Dest2 Destination 2
Src Source
Count Vector length

Definition at line 6637 of file DSPOp.cc.

void clDSPOp::Spatialize double *  ,
double *  ,
const double *  ,
long 
 

This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.

Definition at line 6652 of file DSPOp.cc.

void clDSPOp::Spatialize float *  ,
const float *  ,
long 
 

This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.

Definition at line 6667 of file DSPOp.cc.

void clDSPOp::Spatialize double *  ,
const double *  ,
long 
 

This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.

Definition at line 6683 of file DSPOp.cc.

void clDSPOp::Extract float *  ,
const float *  ,
long  ,
long  ,
long 
[static]
 

Extract channel n from N channel interleaved input.

Parameters:
Dest Destination
Src Source
Channel Channel to extract
ChCount Channel count
Count Vector length (source)

Definition at line 6699 of file DSPOp.cc.

Referenced by dsp_extract(), dsp_extractf(), and clDSPVector< TDSPVector_t >::Extract().

void clDSPOp::Extract double *  ,
const double *  ,
long  ,
long  ,
long 
[static]
 

This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.

Definition at line 6713 of file DSPOp.cc.

void clDSPOp::Pack float *  ,
const float *  ,
long  ,
long  ,
long 
[static]
 

Pack channel n to N channel interleaved output.

Parameters:
Dest Destination
Src Source
Channel Channel to pack
ChCount Channel count
Count Vector length (source)

Definition at line 6727 of file DSPOp.cc.

Referenced by dsp_pack(), dsp_packf(), and clDSPVector< TDSPVector_t >::Pack().

void clDSPOp::Pack double *  ,
const double *  ,
long  ,
long  ,
long 
[static]
 

This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.

Definition at line 6739 of file DSPOp.cc.

long clDSPOp::ReBuffer float *  ,
const float *  ,
long  ,
long 
 

Rebuffer to different sized buffer.

Returns 0 if there was no complete result block, recall with new source buffer and same destination buffer.

Returns 1 if there was complete result block, recall with new source and new destination buffer next time.

Returns 2 if source buffer is not yet empty, but one result buffer available, recall with same source buffer and new destination buffer next time.

Parameters:
Dest Destination
Src Source
DestCount Destination vector length
SrcCount Source vector length
Returns:
Rebuffering result

Definition at line 6751 of file DSPOp.cc.

References Copy(), lPrevDestCount, and lPrevSrcCount.

long clDSPOp::ReBuffer double *  ,
const double *  ,
long  ,
long 
 

This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.

Definition at line 6788 of file DSPOp.cc.

References Copy(), lPrevDestCount, and lPrevSrcCount.

double clDSPOp::DegToRad double  dSource  )  [inline]
 

Convert degrees to radians.

\[y=\frac{\pi}{180}x\]

Parameters:
Source Degrees, x
Returns:
Radians, y

Definition at line 1925 of file DSPOp.hh.

References dPI.

float clDSPOp::DegToRad float  fSource  )  [inline]
 

This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.

Definition at line 1928 of file DSPOp.hh.

References fPI.

double clDSPOp::RadToDeg double  dSource  )  [inline]
 

Convert radians to degrees.

\[y=\frac{180}{\pi}x\]

Parameters:
Source Radians, x
Degrees,y 

Definition at line 1938 of file DSPOp.hh.

References dPI.

float clDSPOp::RadToDeg float  fSource  )  [inline]
 

This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.

Definition at line 1941 of file DSPOp.hh.

References fPI.

void clDSPOp::FFTWConvert stpSCplx  ,
const float *  ,
long 
[static]
 

Convert Real-FFTW complex output to our Cplx.

Note:
Destination length is source length / 2 + 1

This is only for FFTW < 3.x

Definition at line 7793 of file DSPOp.cc.

References _sSCplx::I, _sSCplx::R, and stpSCplx.

Referenced by dsp_fftw_convertcd2d(), dsp_fftw_convertcd2f(), dsp_fftw_convertcf2d(), dsp_fftw_convertcf2f(), dsp_fftw_convertd2cd(), dsp_fftw_convertd2cf(), dsp_fftw_convertf2cd(), dsp_fftw_convertf2cf(), and clDSPVector< TDSPVector_t >::FFTWConvert().

void clDSPOp::FFTWConvert stpDCplx  ,
const float *  ,
long 
[static]
 

This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.

Definition at line 7811 of file DSPOp.cc.

References _sDCplx::I, _sDCplx::R, and stpDCplx.

void clDSPOp::FFTWConvert stpSCplx  ,
const double *  ,
long 
[static]
 

This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.

Definition at line 7829 of file DSPOp.cc.

References _sSCplx::I, _sSCplx::R, and stpSCplx.

void clDSPOp::FFTWConvert stpDCplx  ,
const double *  ,
long 
[static]
 

This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.

Definition at line 7847 of file DSPOp.cc.

References _sDCplx::I, _sDCplx::R, and stpDCplx.

void clDSPOp::FFTWConvert float *  ,
const  stpSCplx,
long 
[static]
 

Convert our Cplx to Real-FFTW complex input.

Definition at line 7865 of file DSPOp.cc.

References _sSCplx::R, and stpSCplx.

void clDSPOp::FFTWConvert float *  ,
const  stpDCplx,
long 
[static]
 

This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.

Definition at line 7881 of file DSPOp.cc.

References _sDCplx::R, and stpDCplx.

void clDSPOp::FFTWConvert double *  ,
const  stpSCplx,
long 
[static]
 

This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.

Definition at line 7897 of file DSPOp.cc.

References _sSCplx::R, and stpSCplx.

void clDSPOp::FFTWConvert double *  ,
const  stpDCplx,
long 
[static]
 

This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.

Definition at line 7913 of file DSPOp.cc.

References _sDCplx::R, and stpDCplx.

void clDSPOp::FIRAllocate const float *  ,
long 
 

Allocate FIR filter.

Parameters:
Coeff Coefficients
Count Vector length

Definition at line 6828 of file DSPOp.cc.

References Copy(), FIRBuf, FIRCoeff, iFIRDlyIdx, lFIRLength, clAlloc::Size(), and Zero().

Referenced by clDSPVector< TDSPVector_t >::FIRAllocate(), and clFIRMultiRate::Initialize().

void clDSPOp::FIRAllocate const double *  ,
long 
 

This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.

Definition at line 6847 of file DSPOp.cc.

References Copy(), FIRBuf, FIRCoeff, iFIRDlyIdx, lFIRLength, clAlloc::Size(), and Zero().

void clDSPOp::FIRFilter float *  ,
long 
 

Filter using FIR filter.

Parameters:
Vect Source & destination
Count Vector length

Definition at line 6866 of file DSPOp.cc.

References Copy(), FIRBuf, FIRCoeff, FIRWork, iFIRDlyIdx, lFIRLength, and clAlloc::Size().

Referenced by clDSPVector< TDSPVector_t >::FIRFilter(), clFIRDecimator::Get(), and clFIRInterpolator::Put().

void clDSPOp::FIRFilter double *  ,
long 
 

This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.

Definition at line 6926 of file DSPOp.cc.

References Copy(), FIRBuf, FIRCoeff, FIRWork, iFIRDlyIdx, lFIRLength, and clAlloc::Size().

void clDSPOp::FIRFilter float *  ,
const float *  ,
long 
 

This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.

Parameters:
Dest Destination
Src Source
Count Vector length

Definition at line 6981 of file DSPOp.cc.

References Copy(), FIRBuf, FIRCoeff, FIRWork, iFIRDlyIdx, lFIRLength, and clAlloc::Size().

void clDSPOp::FIRFilter double *  ,
const double *  ,
long 
 

This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.

Definition at line 7041 of file DSPOp.cc.

References Copy(), FIRBuf, FIRCoeff, FIRWork, iFIRDlyIdx, lFIRLength, and clAlloc::Size().

void clDSPOp::FIRFilterF float *  ,
float *  ,
long 
 

Filter using FIR filter (fast version).

Note:
New data at source[FIRlength], must have FIRlength size scratch pad at start of source vector.
Parameters:
Dest Destination
Src Source
Count Vector length

Definition at line 7096 of file DSPOp.cc.

References Copy(), FIRCoeff, and lFIRLength.

void clDSPOp::FIRFilterF double *  ,
double *  ,
long 
 

This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.

Definition at line 7126 of file DSPOp.cc.

References Copy(), FIRCoeff, and lFIRLength.

void clDSPOp::FIRFree  ) 
 

Free FIR filter.

Definition at line 7156 of file DSPOp.cc.

References FIRBuf, FIRCoeff, and clAlloc::Free().

Referenced by clDSPVector< TDSPVector_t >::FIRFree(), and clFIRMultiRate::Uninitialize().

void clDSPOp::IIRInitialize const float *   ) 
 

Initialize IIR filter.

Data format is: [0..2] = b[0..2] [3..4] = a[0..1]

Parameters:
Coeffs Coefficient vector of length 5

Definition at line 7163 of file DSPOp.cc.

References Copy(), and fpIIR_C.

Referenced by clIIRCascade::Initialize().

void clDSPOp::IIRInitialize const double *   ) 
 

This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.

Definition at line 7169 of file DSPOp.cc.

References Copy(), and dpIIR_C.

void clDSPOp::IIRFilter float *  ,
long 
 

Filter using IIR filter.

\[H(z)=\frac{b_{0}+b_{1}z^{-1}+b_{2}z^{-2}}{1-a_{0}z^{-1}-a_{1}z^{-2}}\]

\[y(n)=\sum_{i=1}^{M}a_{i}y(n-i)+\sum_{j=0}^{N}b_{j}x(n-j)\]

Parameters:
Vect Source & destination
Count Vector length

Definition at line 7175 of file DSPOp.cc.

References fpIIR_C, fpIIR_X, and fpIIR_Y.

Referenced by clIIRCascade::Process().

void clDSPOp::IIRFilter double *  ,
long 
 

This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.

Definition at line 7217 of file DSPOp.cc.

References dpIIR_C, dpIIR_X, and dpIIR_Y.

void clDSPOp::IIRFilter float *  ,
const float *  ,
long 
 

This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.

Parameters:
Dest Destination
Src Source
Count Vector length

Definition at line 7255 of file DSPOp.cc.

References fpIIR_C, fpIIR_X, and fpIIR_Y.

void clDSPOp::IIRFilter double *  ,
const double *  ,
long 
 

This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.

Definition at line 7299 of file DSPOp.cc.

References dpIIR_C, dpIIR_X, and dpIIR_Y.

void clDSPOp::IIRClear  ) 
 

Clear IIR filter feedback chain.

Definition at line 7337 of file DSPOp.cc.

References dpIIR_X, dpIIR_Y, fpIIR_X, fpIIR_Y, and Zero().

Referenced by clIIRCascade::Clear().

void clDSPOp::FFTInitialize long  ,
bool 
 

Initialize FFT (and other transforms).

Parameters:
Size Transform size
Real Real transform?

Definition at line 7346 of file DSPOp.cc.

References bFFTInitialized, bRealTransform, clTransformS::cdft(), DBitRevWork, DCosSinTable, dFFTScale, dpCosSinTable, fFFTScale, FFTBuf, fpCosSinTable, lFFTLength, lpDBitRevWork, lpSBitRevWork, clTransformS::rdft(), SBitRevWork, SCosSinTable, clAlloc::Size(), Tfrm, vpDTfrm, and vpSTfrm.

Referenced by clDSPVector< TDSPVector_t >::FFTInitialize(), clHankel::Initialize(), clFlipBand::Initialize(), and clFilter::Initialize().

void clDSPOp::FFTUninitialize  ) 
 

Uninitialize FFT.

Definition at line 7469 of file DSPOp.cc.

References bFFTInitialized, bRealTransform, DBitRevWork, DCosSinTable, FFTBuf, clAlloc::Free(), SBitRevWork, SCosSinTable, vpDTfrm, and vpSTfrm.

Referenced by clDSPVector< TDSPVector_t >::FFTUninitialize(), clFlipBand::Uninitialize(), clFilter::Uninitialize(), and ~clDSPOp().

void clDSPOp::FFTi stpSCplx  ,
float * 
 

FFT half in-place, source vector is modified.

Note:
Output is FFT size / 2 + 1
Parameters:
Dest Destination
Src Source

Definition at line 7505 of file DSPOp.cc.

References fFFTScale, fpCosSinTable, lFFTLength, lpSBitRevWork, Mul(), clTransformS::rdft(), SBitRevWork, stpSCplx, Tfrm, and vpSTfrm.

Referenced by clFlipBand::Put(), clFilter::Put(), clFilter::ReadyFilterD(), and clFilter::ReadyFilterS().

void clDSPOp::FFTi stpDCplx  ,
double * 
 

This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.

Definition at line 7533 of file DSPOp.cc.

References DBitRevWork, dFFTScale, dpCosSinTable, lFFTLength, lpDBitRevWork, Mul(), clTransformS::rdft(), stpDCplx, Tfrm, and vpDTfrm.

void clDSPOp::FFTo stpSCplx  ,
const float * 
 

FFT out-of-place.

Note:
Output is FFT size / 2 + 1 for real input
Parameters:
Dest Destination
Src Source

Definition at line 7561 of file DSPOp.cc.

References fFFTScale, FFTBuf, fpCosSinTable, lFFTLength, lpSBitRevWork, Mul(), clTransformS::rdft(), SBitRevWork, stpSCplx, Tfrm, and vpSTfrm.

Referenced by clDSPVector< TDSPVector_t >::FFT().

void clDSPOp::FFTo stpDCplx  ,
const double * 
 

This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.

Definition at line 7594 of file DSPOp.cc.

References DBitRevWork, dFFTScale, dpCosSinTable, FFTBuf, lFFTLength, lpDBitRevWork, Mul(), clTransformS::rdft(), stpDCplx, Tfrm, and vpDTfrm.

void clDSPOp::FFTo stpSCplx  ,
const  stpSCplx
 

This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.

Definition at line 7627 of file DSPOp.cc.

References clTransformS::cdft(), fFFTScale, FFTBuf, fpCosSinTable, lFFTLength, lpSBitRevWork, Mul(), SBitRevWork, stpSCplx, Tfrm, and vpSTfrm.

void clDSPOp::FFTo stpDCplx  ,
const  stpDCplx
 

This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.

Definition at line 7656 of file DSPOp.cc.

References clTransformS::cdft(), DBitRevWork, dFFTScale, dpCosSinTable, FFTBuf, lFFTLength, lpDBitRevWork, Mul(), stpDCplx, Tfrm, and vpDTfrm.

void clDSPOp::IFFTo float *  ,
const  stpSCplx
 

IFFT out-of-place.

Note:
Input is FFT size / 2 + 1 for real output
Parameters:
Dest Destination
Src Source

Definition at line 7685 of file DSPOp.cc.

References fpCosSinTable, lFFTLength, lpSBitRevWork, clTransformS::rdft(), SBitRevWork, stpSCplx, Tfrm, and vpSTfrm.

Referenced by clDSPVector< TDSPVector_t >::IFFT(), clHankel::Process0(), clHankel::Process1(), clFlipBand::Put(), clFilter::Put(), clFilter::ReadyFilterD(), and clFilter::ReadyFilterS().

void clDSPOp::IFFTo double *  ,
const  stpDCplx
 

This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.

Definition at line 7709 of file DSPOp.cc.

References DBitRevWork, dpCosSinTable, lFFTLength, lpDBitRevWork, clTransformS::rdft(), stpDCplx, Tfrm, and vpDTfrm.

void clDSPOp::IFFTo stpSCplx  ,
const  stpSCplx
 

This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.

Definition at line 7733 of file DSPOp.cc.

References clTransformS::cdft(), FFTBuf, fpCosSinTable, lFFTLength, lpSBitRevWork, SBitRevWork, stpSCplx, Tfrm, and vpSTfrm.

void clDSPOp::IFFTo stpDCplx  ,
const  stpDCplx
 

This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.

Definition at line 7763 of file DSPOp.cc.

References clTransformS::cdft(), DBitRevWork, dpCosSinTable, FFTBuf, lFFTLength, lpDBitRevWork, stpDCplx, Tfrm, and vpDTfrm.


Member Data Documentation

long clDSPOp::lPrevSrcCount [private]
 

Definition at line 151 of file DSPOp.hh.

Referenced by clDSPOp(), and ReBuffer().

long clDSPOp::lPrevDestCount [private]
 

Definition at line 152 of file DSPOp.hh.

Referenced by clDSPOp(), and ReBuffer().

float clDSPOp::fPI [private]
 

Definition at line 153 of file DSPOp.hh.

Referenced by clDSPOp(), DegToRad(), RadToDeg(), WinBlackman(), WinBlackmanHarris(), WinCosTapered(), WinCosTaperedA(), WinDolphChebyshev(), WinExactBlackman(), WinFlatTop(), WinGenericCos(), WinHamming(), WinHanning(), WinKaiserBessel(), and WinTukey().

double clDSPOp::dPI [private]
 

Definition at line 154 of file DSPOp.hh.

Referenced by clDSPOp(), DegToRad(), RadToDeg(), WinBlackman(), WinBlackmanHarris(), WinCosTapered(), WinCosTaperedA(), WinDolphChebyshev(), WinExactBlackman(), WinFlatTop(), WinGenericCos(), WinHamming(), WinHanning(), WinKaiserBessel(), and WinTukey().

int clDSPOp::iFIRDlyIdx [private]
 

Definition at line 157 of file DSPOp.hh.

Referenced by FIRAllocate(), and FIRFilter().

long clDSPOp::lFIRLength [private]
 

Definition at line 158 of file DSPOp.hh.

Referenced by FIRAllocate(), FIRFilter(), and FIRFilterF().

clDSPAlloc clDSPOp::FIRCoeff [private]
 

Definition at line 159 of file DSPOp.hh.

Referenced by FIRAllocate(), FIRFilter(), FIRFilterF(), and FIRFree().

clDSPAlloc clDSPOp::FIRBuf [private]
 

Definition at line 160 of file DSPOp.hh.

Referenced by FIRAllocate(), FIRFilter(), and FIRFree().

clDSPAlloc clDSPOp::FIRWork [private]
 

Definition at line 161 of file DSPOp.hh.

Referenced by FIRFilter().

float clDSPOp::fpIIR_C[5] [private]
 

Definition at line 163 of file DSPOp.hh.

Referenced by IIRFilter(), and IIRInitialize().

float clDSPOp::fpIIR_X[3] [private]
 

Definition at line 164 of file DSPOp.hh.

Referenced by IIRClear(), and IIRFilter().

float clDSPOp::fpIIR_Y[2] [private]
 

Definition at line 165 of file DSPOp.hh.

Referenced by IIRClear(), and IIRFilter().

double clDSPOp::dpIIR_C[5] [private]
 

Definition at line 166 of file DSPOp.hh.

Referenced by IIRFilter(), and IIRInitialize().

double clDSPOp::dpIIR_X[3] [private]
 

Definition at line 167 of file DSPOp.hh.

Referenced by IIRClear(), and IIRFilter().

double clDSPOp::dpIIR_Y[2] [private]
 

Definition at line 168 of file DSPOp.hh.

Referenced by IIRClear(), and IIRFilter().

bool clDSPOp::bFFTInitialized [private]
 

Definition at line 170 of file DSPOp.hh.

Referenced by clDSPOp(), FFTInitialize(), FFTUninitialize(), and ~clDSPOp().

bool clDSPOp::bRealTransform [private]
 

Definition at line 171 of file DSPOp.hh.

Referenced by FFTInitialize(), and FFTUninitialize().

long clDSPOp::lFFTLength [private]
 

Definition at line 172 of file DSPOp.hh.

Referenced by FFTi(), FFTInitialize(), FFTo(), and IFFTo().

float clDSPOp::fFFTScale [private]
 

Definition at line 173 of file DSPOp.hh.

Referenced by FFTi(), FFTInitialize(), and FFTo().

double clDSPOp::dFFTScale [private]
 

Definition at line 174 of file DSPOp.hh.

Referenced by FFTi(), FFTInitialize(), and FFTo().

long* clDSPOp::lpSBitRevWork [private]
 

Definition at line 175 of file DSPOp.hh.

Referenced by clDSPOp(), FFTi(), FFTInitialize(), FFTo(), and IFFTo().

long* clDSPOp::lpDBitRevWork [private]
 

Definition at line 176 of file DSPOp.hh.

Referenced by clDSPOp(), FFTi(), FFTInitialize(), FFTo(), and IFFTo().

float* clDSPOp::fpCosSinTable [private]
 

Definition at line 177 of file DSPOp.hh.

Referenced by clDSPOp(), FFTi(), FFTInitialize(), FFTo(), and IFFTo().

double* clDSPOp::dpCosSinTable [private]
 

Definition at line 178 of file DSPOp.hh.

Referenced by clDSPOp(), FFTi(), FFTInitialize(), FFTo(), and IFFTo().

void* clDSPOp::vpSTfrm [private]
 

Definition at line 179 of file DSPOp.hh.

Referenced by FFTi(), FFTInitialize(), FFTo(), FFTUninitialize(), and IFFTo().

void* clDSPOp::vpDTfrm [private]
 

Definition at line 180 of file DSPOp.hh.

Referenced by FFTi(), FFTInitialize(), FFTo(), FFTUninitialize(), and IFFTo().

clDSPAlloc clDSPOp::SBitRevWork [private]
 

Definition at line 181 of file DSPOp.hh.

Referenced by FFTi(), FFTInitialize(), FFTo(), FFTUninitialize(), and IFFTo().

clDSPAlloc clDSPOp::DBitRevWork [private]
 

Definition at line 182 of file DSPOp.hh.

Referenced by FFTi(), FFTInitialize(), FFTo(), FFTUninitialize(), and IFFTo().

clDSPAlloc clDSPOp::SCosSinTable [private]
 

Definition at line 183 of file DSPOp.hh.

Referenced by FFTInitialize(), and FFTUninitialize().

clDSPAlloc clDSPOp::DCosSinTable [private]
 

Definition at line 184 of file DSPOp.hh.

Referenced by FFTInitialize(), and FFTUninitialize().

clDSPAlloc clDSPOp::FFTBuf [private]
 

Definition at line 185 of file DSPOp.hh.

Referenced by FFTInitialize(), FFTo(), FFTUninitialize(), and IFFTo().

clTransformS clDSPOp::Tfrm [private]
 

Definition at line 197 of file DSPOp.hh.

Referenced by FFTi(), FFTInitialize(), FFTo(), and IFFTo().


The documentation for this class was generated from the following files:
Generated on Tue Mar 2 19:47:07 2004 for libDSP by doxygen 1.3.6