PAL 1D Arrays: Complex Analysis and Accumulation

Magnitude measures, norms, dot products, multiply-accumulate operations, subset processing, correlation, means, and ring-buffer helpers for one-dimensional complex data.

PAL 1D Arrays: Complex Analysis and Accumulation — 48 functions

KiratPal1DComplexAbs­SquaredTo1DFloat

Signature
T_INT KiratPal1DComplexAbsSquaredTo1DFloat( const T_COMPLEX* pcSource, T_FLOAT* pfDestination, T_INT iSize);
Description
Calculates element-wise squares or complex squared magnitudes.
Mathematical operation
\(y_i=|z_i|^2=(\Re z_i)^2+(\Im z_i)^2\).
Supported implementations
  • ANSI C - portable reference implementation
  • Intel/AMD processors - Intel IPP library support

KiratPal1DComplexAbsTo­1DFloat

Signature
T_INT KiratPal1DComplexAbsTo1DFloat( const T_COMPLEX* pcSource, T_FLOAT* pfDestination, T_INT iSize);
Description
Calculates the element-wise absolute value/magnitude.
Mathematical operation
\(y_i=|x_i|\)
Supported implementations
  • ANSI C - portable reference implementation
  • Intel/AMD processors - Intel IPP library support

KiratPalAbs1DComplex

Signature
T_INT KiratPalAbs1DComplex(const T_COMPLEX* pcSource, T_FLOAT* pfDestination, T_INT iSize);
Description
Calculates the element-wise absolute value/magnitude.
Mathematical operation
\(y_i=|x_i|\)
Supported implementations
  • ANSI C - portable reference implementation
  • Intel/AMD processors - Intel IPP library support

KiratPalAbsApprox­1DComplex

Signature
void KiratPalAbsApprox1DComplex(const T_COMPLEX* pcSource, T_FLOAT* pfDestination, T_INT iSize);
Description
Calculates a fast element-wise approximation of complex magnitude.
Mathematical operation
\(y_i\approx|z_i|\) using the named PAL approximation.
Supported implementations
  • ANSI C - portable reference implementation

KiratPalAbs­Squared1DComplex

Signature
T_INT KiratPalAbsSquared1DComplex(const T_COMPLEX* pcSource, T_FLOAT* pfDestination, T_INT iSize);
Description
Calculates element-wise squares or complex squared magnitudes.
Mathematical operation
\(y_i=|z_i|^2=(\Re z_i)^2+(\Im z_i)^2\).
Supported implementations
  • ANSI C - portable reference implementation
  • Intel/AMD processors - Intel IPP library support

KiratPalAdd1DComplexAbs­Squaredto1DFloat

Signature
T_INT KiratPalAdd1DComplexAbsSquaredto1DFloat( const T_COMPLEX* pcSource, T_FLOAT* pfDestination, T_INT iSize);
Description
Adds scalar, vector, or array values element-wise; ToDest writes to a separate destination, while Acc accumulates into an existing destination.
Mathematical operation
\(d_i\leftarrow d_i+(\Re z_i)^2+(\Im z_i)^2\).
Supported implementations
  • ANSI C - portable reference implementation

KiratPalAddAbs­1DComplex

Signature
T_INT KiratPalAddAbs1DComplex(const T_COMPLEX* pcSource, T_FLOAT* pfDestination, T_INT iSize);
Description
Adds scalar, vector, or array values element-wise; ToDest writes to a separate destination, while Acc accumulates into an existing destination.
Mathematical operation
\(d_i\leftarrow d_i+\sqrt{(\Re z_i)^2+(\Im z_i)^2}\).
Supported implementations
  • ANSI C - portable reference implementation

KiratPalAddAbs­Approx1DComplex

Signature
void KiratPalAddAbsApprox1DComplex( const T_COMPLEX* pcSource, T_FLOAT* pfDestination, T_INT iSize);
Description
Adds scalar, vector, or array values element-wise; ToDest writes to a separate destination, while Acc accumulates into an existing destination.
Mathematical operation
\(d_i\leftarrow d_i+\sqrt{(\Re z_i)^2+(\Im z_i)^2}\); the current generic `KiratPalComplexAbsApprox` path uses the ordinary square root.
Supported implementations
  • ANSI C - portable reference implementation

KiratPalAddAbsSquared­1DComplex

Signature
T_INT KiratPalAddAbsSquared1DComplex( const T_COMPLEX* pcSource, T_FLOAT* pfDestination, T_INT iSize);
Description
Adds scalar, vector, or array values element-wise; ToDest writes to a separate destination, while Acc accumulates into an existing destination.
Mathematical operation
\(d_i\leftarrow d_i+(\Re z_i)^2+(\Im z_i)^2\).
Supported implementations
  • ANSI C - portable reference implementation

KiratPalAddBiasedAbs­Approx1DComplex

Signature
void KiratPalAddBiasedAbsApprox1DComplex( const T_COMPLEX* pcSource, T_FLOAT* pfDestination, T_INT iSize);
Description
Adds scalar, vector, or array values element-wise; ToDest writes to a separate destination, while Acc accumulates into an existing destination.
Mathematical operation
\(d_i\leftarrow d_i+|\Re z_i|+|\Im z_i|\).
Supported implementations
  • ANSI C - portable reference implementation

KiratPalAddSubset1DComplex­AbsSquaredto1DFloat

Signature
T_INT KiratPalAddSubset1DComplexAbsSquaredto1DFloat( const T_COMPLEX* pcSource, T_FLOAT* pfDestination, T_INT iSize, T_INT* piPoints);
Description
Adds scalar, vector, or array values element-wise; ToDest writes to a separate destination, while Acc accumulates into an existing destination.
Mathematical operation
\(d_i\leftarrow d_i+(\Re z_i)^2+(\Im z_i)^2\) for the selected source indices.
Supported implementations
  • ANSI C - portable reference implementation

KiratPalAutoCorr1D­ComplexTo1DComplex

Signature
T_INT KiratPalAutoCorr1DComplexTo1DComplex( const T_COMPLEX* pcSource, T_COMPLEX* pcDestination, T_INT iSourceSize, T_INT iDestinationSize);
Description
Calculates the complex autocorrelation of a vector; depending on the parameter, normalization can be normal, biased, or unbiased.
Mathematical operation
\(r[k]=\sum_n x[n]x^*[n-k]\) over the valid overlap used by the implementation.
Supported implementations
  • ANSI C - portable reference implementation

KiratPalBiasedAbs­Approx1DComplex

Signature
void KiratPalBiasedAbsApprox1DComplex( const T_COMPLEX* pcSource, T_FLOAT* pfDestination, T_INT iSize);
Description
Calculates a fast element-wise approximation of complex magnitude.
Mathematical operation
\(y_i=|\Re z_i|+|\Im z_i|\).
Supported implementations
  • ANSI C - portable reference implementation

KiratPalCheck­Degenerated1DComplex

Signature
T_BOOL KiratPalCheckDegenerated1DComplex(const T_COMPLEX* pcVector, T_INT iSize);
Description
Checks whether all vector elements are numerically degenerate, i.e. close to zero.
Mathematical operation
\(\text{degenerated}\iff \max_i|z_i|\le \varepsilon_{\mathrm{SYS}}\) according to the source threshold test.
Supported implementations
  • ANSI C - portable reference implementation

KiratPalCopy1D­ConjComplex

Signature
T_INT KiratPalCopy1DConjComplex(const T_COMPLEX* pcSource, T_COMPLEX* pcDestination, T_INT iSize);
Description
Copies the specified data or subrange to the destination.
Mathematical operation
\(y_i=x_i^*\).
Supported implementations
  • ANSI C - portable reference implementation
  • Intel/AMD processors - Intel IPP library support

KiratPalCopy1DConj­ComplexMirrored

Signature
T_INT KiratPalCopy1DConjComplexMirrored( const T_COMPLEX* pcSource, T_COMPLEX* pcDestination, T_INT iSize);
Description
Copies the specified data or subrange to the destination.
Mathematical operation
\(y_i=x_{N-1-i}^*\) (mirrored order plus conjugation).
Supported implementations
  • ANSI C - portable reference implementation
  • Intel/AMD processors - Intel IPP library support

KiratPalCopy1D­FloatRealAnd1DFloatImagTo1DComplex

Signature
T_INT KiratPalCopy1DFloatRealAnd1DFloatImagTo1DComplex( const T_FLOAT* pfSourceReal, const T_FLOAT* pfSourceImag, T_COMPLEX* pcDestination, T_INT iSize);
Description
Copies the specified data or subrange to the destination.
Mathematical operation
\(z_i=r_i+jq_i\).
Supported implementations
  • ANSI C - portable reference implementation
  • Intel/AMD processors - Intel IPP library support

KiratPalCopy1D­FloatTo1DComplex

Signature
T_INT KiratPalCopy1DFloatTo1DComplex( const T_FLOAT* pfSource, T_COMPLEX* pcDestination, T_INT iSize);
Description
Copies the specified data or subrange to the destination.
Mathematical operation
\(z_i=x_i+j0\).
Supported implementations
  • ANSI C - portable reference implementation
  • Intel/AMD processors - Intel IPP library support

KiratPalCopySubset­1DComplex

Signature
T_INT KiratPalCopySubset1DComplex( const T_COMPLEX* pcSource, T_COMPLEX* pcDestination, T_INT iSize, T_INT* piPoints);
Description
Copies the specified data or subrange to the destination.
Mathematical operation
\(D_{\mathbf i}=S_{\mathbf i+\mathbf o}\) on the requested subset/ROI, with offsets and extents given by the function arguments.
Supported implementations
  • ANSI C - portable reference implementation

KiratPalDotProd1D­ComplexWith1DComplex

Signature
T_INT KiratPalDotProd1DComplexWith1DComplex( const T_COMPLEX* pcSource1, const T_COMPLEX* pcSource2, T_COMPLEX* pcDpResult, T_INT iSize);
Description
Calculates the dot product of two vectors; complex variants use the complex multiplication convention specified by the function.
Mathematical operation
\(s=\sum_i a_i b_i\) (no conjugation unless explicitly stated by the function name).
Supported implementations
  • ANSI C - portable reference implementation
  • Intel/AMD processors - Intel IPP library support

KiratPalDotProd1DC­omplexWith1DFloat

Signature
T_INT KiratPalDotProd1DComplexWith1DFloat( const T_COMPLEX* pcSource1, const T_FLOAT* pfSource2, T_COMPLEX* pcDpResult, T_INT iSize);
Description
Calculates the dot product of two vectors; complex variants use the complex multiplication convention specified by the function.
Mathematical operation
\(s=\sum_i z_i x_i\).
Supported implementations
  • ANSI C - portable reference implementation
  • Intel/AMD processors - Intel IPP library support

KiratPalDownsample­1DComplex

Signature
T_INT KiratPalDownsample1DComplex( const T_COMPLEX* pcSource, T_COMPLEX* pcDestination, T_INT iSrcLen, T_INT iDstLen, T_INT iFactor, T_INT iPhase);
Description
Downsamples a vector by retaining every R-th element.
Mathematical operation
\(y_k=x_{kR}\) for integer downsampling factor \(R\).
Supported implementations
  • ANSI C - portable reference implementation
  • Intel/AMD processors - Intel IPP library support

KiratPalGetMean­1DComplex

Signature
T_COMPLEX KiratPalGetMean1DComplex(const T_COMPLEX* pcVector, T_INT iSize);
Description
Calculates the arithmetic mean, optionally considering only non-zero values.
Mathematical operation
\(\bar x=N^{-1}\sum_i x_i\).
Supported implementations
  • ANSI C - portable reference implementation
  • Intel/AMD processors - Intel IPP library support

KiratPalMult1DBiasedAbsA­pproxComplexWith1D­ComplexToDest

Signature
T_INT KiratPalMult1DBiasedAbsApproxComplexWith1DComplexToDest( const T_COMPLEX* pcSource1, const T_COMPLEX* pcSource2, T_COMPLEX* pcDestination, T_INT iSize);
Description
Multiplies scalar, vector, or array values element-wise; Acc variants add the product to the destination.
Mathematical operation
\(d_i=a(z_i)\,w_i\), where \(a(z)=|\Re z|+|\Im z|\).
Supported implementations
  • ANSI C - portable reference implementation

KiratPalMultAcc1DC­omplexWith1DComplex

Signature
T_INT KiratPalMultAcc1DComplexWith1DComplex( const T_COMPLEX* pcSource1, const T_COMPLEX* pcSource2, T_COMPLEX* pcDestination, T_INT iSize);
Description
Multiplies scalar, vector, or array values element-wise; Acc variants add the product to the destination.
Mathematical operation
\(d_i\leftarrow d_i+a_ib_i\) (subset variants only over the selected range).
Supported implementations
  • ANSI C - portable reference implementation
  • Intel/AMD processors - Intel IPP library support

KiratPalMultAcc1DComplex­With1DComplexConjugate

Signature
T_INT KiratPalMultAcc1DComplexWith1DComplexConjugate( const T_COMPLEX* pcSource1, const T_COMPLEX* pcSource2, T_COMPLEX* pcDestination, T_INT iSize);
Description
Multiplies scalar, vector, or array values element-wise; Acc variants add the product to the destination.
Mathematical operation
\(d_i\leftarrow d_i+a_ib_i^*\) (subset variants only over the selected range).
Supported implementations
  • ANSI C - portable reference implementation
  • Intel/AMD processors - Intel IPP library support

KiratPalMultAcc1DComplex­With1DComplexScale

Signature
T_INT KiratPalMultAcc1DComplexWith1DComplexScale( const T_COMPLEX* pcSource1, const T_COMPLEX* pcSource2, T_FLOAT fScale, T_COMPLEX* pcDestination, T_INT iSize);
Description
Multiplies scalar, vector, or array values element-wise; Acc variants add the product to the destination.
Mathematical operation
\(d_i\leftarrow d_i+c\,a_ib_i\) (subset variants only over the selected range).
Supported implementations
  • ANSI C - portable reference implementation

KiratPalMultAcc1DComplex­With1DComplexScaleFast

Signature
T_INT KiratPalMultAcc1DComplexWith1DComplexScaleFast( const T_COMPLEX* pcSource1, const T_COMPLEX* pcSource2, T_FLOAT fScale, T_COMPLEX* pcDestination, T_COMPLEX* pcHelpVec, T_INT iSize);
Description
Multiplies scalar, vector, or array values element-wise; Acc variants add the product to the destination.
Mathematical operation
\(d_i\leftarrow d_i+c\,a_ib_i\) (subset variants only over the selected range).
Supported implementations
  • ANSI C - portable reference implementation

KiratPalMultAcc1D­ComplexWith1DFloat

Signature
T_INT KiratPalMultAcc1DComplexWith1DFloat( const T_COMPLEX* pcSource1, const T_FLOAT* pfSource2, T_COMPLEX* pcDestination, T_INT iSize);
Description
Multiplies scalar, vector, or array values element-wise; Acc variants add the product to the destination.
Mathematical operation
\(d_i\leftarrow d_i+a_ib_i\) (subset variants only over the selected range).
Supported implementations
  • ANSI C - portable reference implementation

KiratPalMultAcc1D­ComplexWithFloat

Signature
T_INT KiratPalMultAcc1DComplexWithFloat( const T_COMPLEX* pcSource, T_FLOAT fScale, T_COMPLEX* pcDestination, T_INT iSize);
Description
Multiplies scalar, vector, or array values element-wise; Acc variants add the product to the destination.
Mathematical operation
\(d_i\leftarrow d_i+a_ib_i\) (subset variants only over the selected range).
Supported implementations
  • ANSI C - portable reference implementation

KiratPalMultAccSubset1D­ComplexWith1DComplex

Signature
T_INT KiratPalMultAccSubset1DComplexWith1DComplex( const T_COMPLEX* pcSource1, const T_COMPLEX* pcSource2, T_COMPLEX* pcDestination, T_INT iSize, T_INT* piPoints);
Description
Multiplies scalar, vector, or array values element-wise; Acc variants add the product to the destination.
Mathematical operation
\(d_i\leftarrow d_i+a_ib_i\) (subset variants only over the selected range).
Supported implementations
  • ANSI C - portable reference implementation
  • Intel/AMD processors - Intel IPP library support

KiratPalMultAccSubset1D­ComplexWith1DComplexConjugate

Signature
T_INT KiratPalMultAccSubset1DComplexWith1DComplexConjugate( const T_COMPLEX* pcSource1, const T_COMPLEX* pcSource2, T_COMPLEX* pcDestination, T_INT iSize, T_INT* piPoints);
Description
Multiplies scalar, vector, or array values element-wise; Acc variants add the product to the destination.
Mathematical operation
\(d_i\leftarrow d_i+a_ib_i^*\) (subset variants only over the selected range).
Supported implementations
  • ANSI C - portable reference implementation
  • Intel/AMD processors - Intel IPP library support

KiratPalMultAdd1D­ComplexAbsSquaredto1DFloat

Signature
T_INT KiratPalMultAdd1DComplexAbsSquaredto1DFloat( const T_COMPLEX* pcSource, T_FLOAT* pfDestination, T_FLOAT fValue, T_INT iSize);
Description
Adds scalar, vector, or array values element-wise; ToDest writes to a separate destination, while Acc accumulates into an existing destination.
Mathematical operation
\(d_i\leftarrow d_i+c[(\Re z_i)^2+(\Im z_i)^2]\).
Supported implementations
  • ANSI C - portable reference implementation

KiratPalMultAdd1DComplex­BiasedApproxAbsto1DFloat

Signature
T_INT KiratPalMultAdd1DComplexBiasedApproxAbsto1DFloat( const T_COMPLEX* pcSource, T_FLOAT* pfDestination, T_FLOAT fValue, T_INT iSize);
Description
Adds scalar, vector, or array values element-wise; ToDest writes to a separate destination, while Acc accumulates into an existing destination.
Mathematical operation
\(d_i\leftarrow d_i+c(|\Re z_i|+|\Im z_i|)\).
Supported implementations
  • ANSI C - portable reference implementation

KiratPalMultAddSubset1D­ComplexAbsSquaredto1DFloat

Signature
T_INT KiratPalMultAddSubset1DComplexAbsSquaredto1DFloat( const T_COMPLEX* pcSource, T_FLOAT* pfDestination, T_FLOAT fValue, T_INT iSize, T_INT* piPoints);
Description
Adds scalar, vector, or array values element-wise; ToDest writes to a separate destination, while Acc accumulates into an existing destination.
Mathematical operation
\(d_i\leftarrow d_i+c[(\Re z_{p_i})^2+(\Im z_{p_i})^2]\) when an index vector \(p_i\) is supplied; otherwise \(p_i=i\).
Supported implementations
  • ANSI C - portable reference implementation

KiratPalMultSubset1DComplex­With1DComplexToDest

Signature
T_INT KiratPalMultSubset1DComplexWith1DComplexToDest( const T_COMPLEX* pcSource1, const T_COMPLEX* pcSource2, T_COMPLEX* pcDestination, T_INT iSize, T_INT* piPoints);
Description
Multiplies scalar, vector, or array values element-wise; Acc variants add the product to the destination.
Mathematical operation
\(d_i=a_ib_i\).
Supported implementations
  • ANSI C - portable reference implementation

KiratPalMultSubset1D­ComplexWith1DFloat

Signature
T_INT KiratPalMultSubset1DComplexWith1DFloat( const T_FLOAT* pfSource, T_COMPLEX* pcDestination, T_INT iSize, T_INT* piPoints);
Description
Multiplies scalar, vector, or array values element-wise; Acc variants add the product to the destination.
Mathematical operation
\(d_i\leftarrow d_is_i\).
Supported implementations
  • ANSI C - portable reference implementation

KiratPalMultSubtract1D­ComplexAbsSquaredFrom1DFloat

Signature
T_INT KiratPalMultSubtract1DComplexAbsSquaredFrom1DFloat( const T_COMPLEX* pcSource, T_FLOAT* pfDestination, T_FLOAT fValue, T_INT iSize);
Description
Subtracts scalar, vector, or array values element-wise; “A from B” means B−A mathematically.
Mathematical operation
\(d_i\leftarrow d_i-c[(\Re z_i)^2+(\Im z_i)^2]\).
Supported implementations
  • ANSI C - portable reference implementation

KiratPalMultSubtract1DComplex­BiasedApproxAbsFrom1DFloat

Signature
T_INT KiratPalMultSubtract1DComplexBiasedApproxAbsFrom1DFloat( const T_COMPLEX* pcSource, T_FLOAT* pfDestination, T_FLOAT fValue, T_INT iSize);
Description
Subtracts scalar, vector, or array values element-wise; “A from B” means B−A mathematically.
Mathematical operation
\(d_i\leftarrow d_i-c(|\Re z_i|+|\Im z_i|)\).
Supported implementations
  • ANSI C - portable reference implementation

KiratPalMultSubtractSubset­1DComplexAbsSquaredFrom1DFloat

Signature
T_INT KiratPalMultSubtractSubset1DComplexAbsSquaredFrom1DFloat( const T_COMPLEX* pcSource, T_FLOAT* pfDestination, T_FLOAT fValue, T_INT iSize, T_INT* piPoints);
Description
Subtracts scalar, vector, or array values element-wise; “A from B” means B−A mathematically.
Mathematical operation
\(d_i\leftarrow d_i-c[(\Re z_{p_i})^2+(\Im z_{p_i})^2]\) when an index vector \(p_i\) is supplied; otherwise \(p_i=i\).
Supported implementations
  • ANSI C - portable reference implementation

KiratPalSquared1DComplex

Signature
T_INT KiratPalSquared1DComplex(T_COMPLEX* pcDestination, T_INT iSize);
Description
Calculates element-wise squares or complex squared magnitudes.
Mathematical operation
\(z_i\leftarrow z_i^2=[(\Re z_i)^2-(\Im z_i)^2]+j\,2(\Re z_i)(\Im z_i)\).
Supported implementations
  • ANSI C - portable reference implementation
  • Intel/AMD processors - Intel IPP library support

KiratPalSquared1D­ComplexToDest

Signature
T_INT KiratPalSquared1DComplexToDest( const T_COMPLEX* pcSource, T_COMPLEX* pcDestination, T_INT iSize);
Description
Calculates element-wise squares or complex squared magnitudes.
Mathematical operation
\(y_i=z_i^2=[(\Re z_i)^2-(\Im z_i)^2]+j\,2(\Re z_i)(\Im z_i)\).
Supported implementations
  • ANSI C - portable reference implementation
  • Intel/AMD processors - Intel IPP library support

KiratPalSquaredL2­Norm1DComplex

Signature
T_INT KiratPalSquaredL2Norm1DComplex(const T_COMPLEX* pcSource, T_FLOAT* pfReult, T_INT iSize);
Description
Calculates the Euclidean/L2 norm of a vector.
Mathematical operation
\(s=\sum_i|z_i|^2\).
Supported implementations
  • ANSI C - portable reference implementation
  • Intel/AMD processors - Intel IPP library support

KiratPalSubtract1DComplex­AbsSquaredFrom1DFloat

Signature
T_INT KiratPalSubtract1DComplexAbsSquaredFrom1DFloat( const T_COMPLEX* pcSource, T_FLOAT* pfDestination, T_INT iSize);
Description
Subtracts scalar, vector, or array values element-wise; “A from B” means B−A mathematically.
Mathematical operation
\(d_i\leftarrow d_i-[(\Re z_i)^2+(\Im z_i)^2]\).
Supported implementations
  • ANSI C - portable reference implementation

KiratPalSubtractSubset1D­ComplexAbsSquaredFrom1DFloat

Signature
T_INT KiratPalSubtractSubset1DComplexAbsSquaredFrom1DFloat( const T_COMPLEX* pcSource, T_FLOAT* pfDestination, T_INT iSize, T_INT* piPoints);
Description
Subtracts scalar, vector, or array values element-wise; “A from B” means B−A mathematically.
Mathematical operation
\(d_i\leftarrow d_i-[(\Re z_{p_i})^2+(\Im z_{p_i})^2]\) when \(p\) is supplied; otherwise \(p_i=i\).
Supported implementations
  • ANSI C - portable reference implementation

KiratPalSubtractSubset1D­ComplexFrom1DComplexToDest

Signature
T_INT KiratPalSubtractSubset1DComplexFrom1DComplexToDest( const T_COMPLEX* pcSource1, const T_COMPLEX* pcSource2, T_COMPLEX* pcDestination, T_INT iSize, T_INT* piPonts);
Description
Subtracts scalar, vector, or array values element-wise; “A from B” means B−A mathematically.
Mathematical operation
\(d_i=x^{(1)}_{p_i}-x^{(2)}_i\) when index vector \(p\) is supplied.
Supported implementations
  • ANSI C - portable reference implementation

KiratPalSumUp1D­ComplexVectorToScalar

Signature
T_COMPLEX KiratPalSumUp1DComplexVectorToScalar(const T_COMPLEX* pcSource, T_INT iSize);
Description
Sums array elements; variants sum values, magnitudes, powers, or Boolean true values.
Mathematical operation
\(s=\sum_i z_i\).
Supported implementations
  • ANSI C - portable reference implementation
  • Intel/AMD processors - Intel IPP library support

KiratPalSumUpAbs1DComplex­VectorToFloatScalar

Signature
T_FLOAT KiratPalSumUpAbs1DComplexVectorToFloatScalar(const T_COMPLEX* pcSource, T_INT iSize);
Description
Sums array elements; variants sum values, magnitudes, powers, or Boolean true values.
Mathematical operation
\(s=\sum_i|z_i|\).
Supported implementations
  • ANSI C - portable reference implementation