Aleph-w 7.10.0
A C++ Library for Data Structures and Algorithms
Loading...
Searching...
No Matches
fft_test.cc File Reference

Exhaustive tests for fft.H. More...

#include <gtest/gtest.h>
#include <algorithm>
#include <cmath>
#include <complex>
#include <numbers>
#include <random>
#include <stdexcept>
#include <vector>
#include <fft.H>
#include <tpl_array.H>
Include dependency graph for fft_test.cc:

Go to the source code of this file.

Functions

 TEST (FFT, TransformRejectsOnlyEmptyInput)
 
 TEST (FFT, PowerOfTwoPredicate)
 
 TEST (FFT, SimdBackendNameIsRecognized)
 
 TEST (FFT, ComplexRoundTrip)
 
 TEST (FFT, MatchesNaiveDFTForComplexSignals)
 
 TEST (FFT, RealTransformMatchesLiftedComplexTransform)
 
 TEST (FFT, ArbitraryLengthRoundTrip)
 
 TEST (FFT, AcceptsGenericComplexContainers)
 
 TEST (FFT, AcceptsGenericRealContainers)
 
 TEST (FFT, SpectrumAliasesMatchTransform)
 
 TEST (FFT, MagnitudeAndPowerSpectrumUtilities)
 
 TEST (FFT, PhaseSpectrumUtility)
 
 TEST (FFT, PaddedTransformHandlesNonPowerOfTwoInputs)
 
 TEST (FFT, ParallelComplexTransformMatchesSequential)
 
 TEST (FFT, ParallelArbitraryLengthComplexTransformMatchesSequential)
 
 TEST (FFT, ParallelRealTransformMatchesSequential)
 
 TEST (FFT, RealInverseRestoresSignal)
 
 TEST (FFT, RealInverseRejectsNonHermitianSpectrum)
 
 TEST (FFT, RealSpectrumHasHermitianSymmetry)
 
 TEST (FFT, CompactRealSpectrumMatchesFullSpectrum)
 
 TEST (FFT, CompactRealInverseRestoresEvenAndOddSignals)
 
 TEST (FFT, KnownSignalsProduceExpectedSpectra)
 
 TEST (FFT, ComplexConvolutionMatchesNaive)
 
 TEST (FFT, ParallelComplexConvolutionMatchesSequential)
 
 TEST (FFT, GenericComplexConvolutionMatchesArrayVersion)
 
 TEST (FFT, RealConvolutionMatchesNaive)
 
 TEST (FFT, ParallelRealConvolutionMatchesSequential)
 
 TEST (FFT, GenericRealConvolutionMatchesArrayVersion)
 
 TEST (FFT, RandomizedConvolutionCrossCheck)
 
 TEST (FFT, EmptyConvolutionProducesEmptyResult)
 
 TEST (FFT, FloatRoundTrip)
 
 TEST (FFT, LongDoubleRoundTrip)
 
 TEST (FFTPlan, ConstructionAcceptsArbitraryPositiveSizes)
 
 TEST (FFTPlan, SizeReturnsConstructedSize)
 
 TEST (FFTPlan, TransformRejectsSizeMismatch)
 
 TEST (FFTPlan, MatchesStaticTransform)
 
 TEST (FFTPlan, RoundTrip)
 
 TEST (FFTPlan, ReusePlanForMultipleTransforms)
 
 TEST (FFTPlan, InverseTransformReal)
 
 TEST (FFTPlan, ParallelInverseTransformReal)
 
 TEST (FFTPlan, MatchesNaiveDFTLargeN)
 
 TEST (FFTPlan, ParallelMatchesSequential)
 
 TEST (FFTPlan, BatchTransformMatchesScalarLoop)
 
 TEST (FFTPlan, BatchTransformRejectsMismatchedSizes)
 
 TEST (FFTPlan, BatchCompactRealSpectrumMatchesScalarLoop)
 
 TEST (FFTPlan, BatchInverseTransformRealMatchesScalarLoop)
 
 TEST (FFTPlan, CompactRealSpectrumRoundTrip)
 
 TEST (FFTPlan, FloatPlan)
 
 TEST (FFTPlan, ParsevalTheorem)
 
 TEST (FFTPlan, LinearityProperty)
 
 TEST (FFTLargeN, MatchesNaiveDFTUpTo256)
 
 TEST (FFTLargeN, ComplexRoundTrip)
 
 TEST (FFTLargeN, RealRoundTrip)
 
 TEST (FFTLargeN, ParsevalTheorem)
 
 TEST (FFTLargeN, DCComponentEqualsSumOfSignal)
 
 TEST (FFTLargeN, HermitianSymmetryLargeRealSignals)
 
 TEST (FFTLargeN, RealTransformMatchesComplexLiftLargeN)
 
 TEST (FFTLargeN, ParallelLargeN)
 
 TEST (FFTLargeN, ParallelRealLargeN)
 
 TEST (FFTLargeN, ParallelMultiplyLargeN)
 
 TEST (FFTLargeN, ConvolutionNaiveCrossCheckLargeN)
 
 TEST (FFT, RealTransformN1)
 
 TEST (FFT, RealTransformN2)
 
 TEST (FFT, RealTransformN4)
 
 TEST (FFTFloatStress, LargeNRoundTrip)
 
 TEST (FFTFloatStress, ParsevalTheorem)
 
 TEST (FFTFloatStress, FloatMultiply)
 
 TEST (FFTFloatStress, HighDynamicRange)
 
 TEST (FFTFloatStress, HighDynamicRangeLargeN)
 
 TEST (FFTConvolution, Commutativity)
 
 TEST (FFTConvolution, IdentityElement)
 
 TEST (FFTConvolution, ShiftByDelayedImpulse)
 
 TEST (FFTConvolution, ScalingByConstant)
 
 TEST (FFTConvolution, ComplexCommutativity)
 
 TEST (FFTConvolution, SingleElementInputs)
 
 TEST (FFTConvolution, ConvolutionTheoremDirect)
 
 TEST (FFTWindows, CanonicalSmallWindows)
 
 TEST (FFTWindows, DegenerateSizes)
 
 TEST (FFTWindows, KaiserWindowAndFirwinDesignsShowExpectedResponseShape)
 
 TEST (FFTWindows, FirlsLeastSquaresDesignSupportsBandsAndWeights)
 
 TEST (FFTWindows, RemezEquirippleDesignSupportsBandsAndWeights)
 
 TEST (FFTWindows, ApplyWindowRealAndComplex)
 
 TEST (FFTWindows, ApplyWindowRejectsMismatchedSizes)
 
 TEST (FFTWindows, WindowedSpectrumMatchesManualPipeline)
 
 TEST (FFTWindows, WindowMetricsAndFrameHelpers)
 
 TEST (FFTDSPUtilities, WelchCsdAndCoherenceIdentifyTone)
 
 TEST (FFTDSPUtilities, UpfirdnAndResamplePolyBehaveAsExpected)
 
 TEST (FFTSTFT, FrameSignalExactAndPadded)
 
 TEST (FFTSTFT, MatchesManualFramePipeline)
 
 TEST (FFTSTFT, RejectsInvalidParameters)
 
 TEST (FFTSTFT, IstftReconstructsWindowedFrames)
 
 TEST (FFTSTFT, IstftRejectsInvalidParameters)
 
 TEST (FFTSTFT, CenteredOptionsAndOverlapConstraints)
 
 TEST (FFTSTFT, AllowsNonPowerOfTwoFftSize)
 
 TEST (FFTSTFT, ParallelAndStreamingProcessorMatchOffline)
 
 TEST (FFTSTFT, BatchedStftAndIstftMatchScalarPaths)
 
 TEST (FFTSTFT, ISTFTProcessorMatchesOffline)
 
 TEST (FFTSTFT, BatchedProcessorsMatchOfflineAndParallelPaths)
 
 TEST (FFTSTFT, DefaultConstructedProcessorsRemainUnconfigured)
 
 TEST (FFTND, TransformAxisSupportsRowMajorAndCustomStrideLayouts)
 
 TEST (FFTND, Transform2DMatchesSequentialAxisPipeline)
 
 TEST (FFTND, Transform3DAndBatched2DPathsRoundTrip)
 
 TEST (FFTSTFT, MultichannelLayoutsAvoidManualRepacking)
 
 TEST (FFTFiltFilt, IdentityAndConstantSignal)
 
 TEST (FFTFiltFilt, MatchesNaiveReflectiveReference)
 
 TEST (FFTFiltFilt, ParallelAndContainerOverloads)
 
 TEST (FFTFiltFilt, EmptyInputsReturnEmpty)
 
 TEST (FFTFiltFiltIIR, IdentityAndConstantSignal)
 
 TEST (FFTFiltFiltIIR, MatchesNaiveReferenceAndBiquadWrapper)
 
 TEST (FFTFiltFiltIIR, CascadeSectionsMatchReference)
 
 TEST (FFTIIRUtilities, LFilterStatefulMatchesOneShot)
 
 TEST (FFTIIRUtilities, SOSFilterStatefulMatchesOneShot)
 
 TEST (FFTIIRUtilities, BatchedLFilterAndBankMatchScalarPaths)
 
 TEST (FFTIIRUtilities, BatchedSOSFilterAndBankMatchScalarPaths)
 
 TEST (FFTIIRUtilities, FreqzMatchesAnalyticAndCascadeProduct)
 
 TEST (FFTIIRUtilities, RootsStabilityAndDelayMetrics)
 
 TEST (FFTIIRUtilities, ZerosOfRootsOfVeryDifferentMagnitudes)
 
 TEST (FFTIIRUtilities, PairingMarginsAndCancellationChecks)
 
 TEST (FFTIIRUtilities, RootSolverHandlesConditionedHighOrderPolynomials)
 
 TEST (FFTIIRUtilities, RootSolverMatchesRandomStableRootSets)
 
 TEST (FFTIIRUtilities, SosAnalyticDelayMatchesSectionSums)
 
 TEST (FFTIIRUtilities, RefinedMarginsTrackHighResolutionReference)
 
 TEST (FFTIIRUtilities, SosStabilityMarginUsesWorstSection)
 
 TEST (FFTIIRUtilities, GainAndPhaseMarginsDetectCrossovers)
 
 TEST (FFTIIRUtilities, DefaultConstructedFiltersRemainUnconfigured)
 
 TEST (FFTIIRDesign, BilinearAndPrototypeDesignsAreStable)
 
 TEST (FFTIIRDesign, ExtendedDesignFamiliesCoverBandModesAndAdditionalPrototypes)
 
 TEST (FFTIIRDesign, EllipticFamilyCoversRepresentativeResponses)
 
 TEST (FFTOverlapAdd, MatchesDirectConvolution)
 
 TEST (FFTOverlapAdd, ReusableConvolverAndParallelPath)
 
 TEST (FFTOverlapAdd, EmptyInputsAndInvalidKernel)
 
 TEST (FFTOverlapAdd, IncrementalProcessBlockMatchesFullConvolution)
 
 TEST (FFTOverlapAdd, IncrementalParallelAndReset)
 
 TEST (FFTOverlapSave, MatchesDirectConvolutionAndStreaming)
 
 TEST (FFTPartitionedConvolver, MatchesDirectConvolutionAndStreaming)
 
 TEST (FFTOverlapAddBank, MatchesPerChannelDirectConvolution)
 
 TEST (FFTOverlapAddBank, StreamingParallelMatchesOfflinePerChannel)
 
 TEST (FFTOverlapAddBank, PreservesEmptyChannelsAndSparseBlocks)
 

Detailed Description

Exhaustive tests for fft.H.

Definition in file fft_test.cc.

Function Documentation

◆ TEST() [1/138]

TEST ( FFT  ,
AcceptsGenericComplexContainers   
)

Definition at line 820 of file fft_test.cc.

◆ TEST() [2/138]

TEST ( FFT  ,
AcceptsGenericRealContainers   
)

Definition at line 844 of file fft_test.cc.

◆ TEST() [3/138]

TEST ( FFT  ,
ArbitraryLengthRoundTrip   
)

Definition at line 800 of file fft_test.cc.

References Aleph::Array< T >::append(), Aleph::Array< T >::reserve(), and rng.

◆ TEST() [4/138]

TEST ( FFT  ,
CompactRealInverseRestoresEvenAndOddSignals   
)

Definition at line 1045 of file fft_test.cc.

References Aleph::Array< T >::size().

◆ TEST() [5/138]

TEST ( FFT  ,
CompactRealSpectrumMatchesFullSpectrum   
)

Definition at line 1027 of file fft_test.cc.

References Aleph::Array< T >::size().

◆ TEST() [6/138]

TEST ( FFT  ,
ComplexConvolutionMatchesNaive   
)

Definition at line 1083 of file fft_test.cc.

◆ TEST() [7/138]

TEST ( FFT  ,
ComplexRoundTrip   
)

Definition at line 750 of file fft_test.cc.

◆ TEST() [8/138]

TEST ( FFT  ,
EmptyConvolutionProducesEmptyResult   
)

Definition at line 1206 of file fft_test.cc.

◆ TEST() [9/138]

TEST ( FFT  ,
FloatRoundTrip   
)

Definition at line 1212 of file fft_test.cc.

◆ TEST() [10/138]

TEST ( FFT  ,
GenericComplexConvolutionMatchesArrayVersion   
)

Definition at line 1118 of file fft_test.cc.

◆ TEST() [11/138]

TEST ( FFT  ,
GenericRealConvolutionMatchesArrayVersion   
)

Definition at line 1157 of file fft_test.cc.

◆ TEST() [12/138]

TEST ( FFT  ,
KnownSignalsProduceExpectedSpectra   
)

Definition at line 1064 of file fft_test.cc.

◆ TEST() [13/138]

TEST ( FFT  ,
LongDoubleRoundTrip   
)

Definition at line 1235 of file fft_test.cc.

◆ TEST() [14/138]

TEST ( FFT  ,
MagnitudeAndPowerSpectrumUtilities   
)

◆ TEST() [15/138]

TEST ( FFT  ,
MatchesNaiveDFTForComplexSignals   
)

Definition at line 770 of file fft_test.cc.

References Aleph::Array< T >::append(), Aleph::Array< T >::reserve(), and rng.

◆ TEST() [16/138]

TEST ( FFT  ,
PaddedTransformHandlesNonPowerOfTwoInputs   
)

Definition at line 924 of file fft_test.cc.

References Aleph::Array< T >::append().

◆ TEST() [17/138]

TEST ( FFT  ,
ParallelArbitraryLengthComplexTransformMatchesSequential   
)

Definition at line 961 of file fft_test.cc.

◆ TEST() [18/138]

TEST ( FFT  ,
ParallelComplexConvolutionMatchesSequential   
)

Definition at line 1100 of file fft_test.cc.

◆ TEST() [19/138]

TEST ( FFT  ,
ParallelComplexTransformMatchesSequential   
)

Definition at line 938 of file fft_test.cc.

◆ TEST() [20/138]

TEST ( FFT  ,
ParallelRealConvolutionMatchesSequential   
)

Definition at line 1146 of file fft_test.cc.

◆ TEST() [21/138]

TEST ( FFT  ,
ParallelRealTransformMatchesSequential   
)

Definition at line 982 of file fft_test.cc.

◆ TEST() [22/138]

TEST ( FFT  ,
PhaseSpectrumUtility   
)

◆ TEST() [23/138]

TEST ( FFT  ,
PowerOfTwoPredicate   
)

Definition at line 723 of file fft_test.cc.

◆ TEST() [24/138]

TEST ( FFT  ,
RandomizedConvolutionCrossCheck   
)

Definition at line 1168 of file fft_test.cc.

References Aleph::Array< T >::append(), m, Aleph::Array< T >::reserve(), and rng.

◆ TEST() [25/138]

TEST ( FFT  ,
RealConvolutionMatchesNaive   
)

Definition at line 1136 of file fft_test.cc.

◆ TEST() [26/138]

TEST ( FFT  ,
RealInverseRejectsNonHermitianSpectrum   
)

Definition at line 1002 of file fft_test.cc.

◆ TEST() [27/138]

TEST ( FFT  ,
RealInverseRestoresSignal   
)

Definition at line 992 of file fft_test.cc.

◆ TEST() [28/138]

TEST ( FFT  ,
RealSpectrumHasHermitianSymmetry   
)

Definition at line 1014 of file fft_test.cc.

References k.

◆ TEST() [29/138]

TEST ( FFT  ,
RealTransformMatchesLiftedComplexTransform   
)

Definition at line 790 of file fft_test.cc.

◆ TEST() [30/138]

TEST ( FFT  ,
RealTransformN1   
)

Definition at line 1944 of file fft_test.cc.

◆ TEST() [31/138]

TEST ( FFT  ,
RealTransformN2   
)

Definition at line 1952 of file fft_test.cc.

◆ TEST() [32/138]

TEST ( FFT  ,
RealTransformN4   
)

Definition at line 1964 of file fft_test.cc.

◆ TEST() [33/138]

TEST ( FFT  ,
SimdBackendNameIsRecognized   
)

Definition at line 731 of file fft_test.cc.

References Aleph::and.

◆ TEST() [34/138]

TEST ( FFT  ,
SpectrumAliasesMatchTransform   
)

◆ TEST() [35/138]

TEST ( FFT  ,
TransformRejectsOnlyEmptyInput   
)

Definition at line 717 of file fft_test.cc.

◆ TEST() [36/138]

TEST ( FFTConvolution  ,
Commutativity   
)

Definition at line 2129 of file fft_test.cc.

References Aleph::Array< T >::append(), Aleph::Array< T >::reserve(), and rng.

◆ TEST() [37/138]

TEST ( FFTConvolution  ,
ComplexCommutativity   
)

Definition at line 2186 of file fft_test.cc.

References Aleph::Array< T >::append(), and rng.

◆ TEST() [38/138]

TEST ( FFTConvolution  ,
ConvolutionTheoremDirect   
)

◆ TEST() [39/138]

TEST ( FFTConvolution  ,
IdentityElement   
)

Definition at line 2153 of file fft_test.cc.

◆ TEST() [40/138]

TEST ( FFTConvolution  ,
ScalingByConstant   
)

Definition at line 2174 of file fft_test.cc.

References Aleph::Array< T >::size().

◆ TEST() [41/138]

TEST ( FFTConvolution  ,
ShiftByDelayedImpulse   
)

Definition at line 2162 of file fft_test.cc.

◆ TEST() [42/138]

TEST ( FFTConvolution  ,
SingleElementInputs   
)

Definition at line 2202 of file fft_test.cc.

◆ TEST() [43/138]

TEST ( FFTDSPUtilities  ,
UpfirdnAndResamplePolyBehaveAsExpected   
)

Definition at line 2550 of file fft_test.cc.

References Aleph::Array< T >::append(), options, and Aleph::Array< T >::reserve().

◆ TEST() [44/138]

TEST ( FFTDSPUtilities  ,
WelchCsdAndCoherenceIdentifyTone   
)

Definition at line 2525 of file fft_test.cc.

References options, and y.

◆ TEST() [45/138]

TEST ( FFTFiltFilt  ,
EmptyInputsReturnEmpty   
)

Definition at line 3346 of file fft_test.cc.

◆ TEST() [46/138]

TEST ( FFTFiltFilt  ,
IdentityAndConstantSignal   
)

Definition at line 3304 of file fft_test.cc.

◆ TEST() [47/138]

TEST ( FFTFiltFilt  ,
MatchesNaiveReflectiveReference   
)

Definition at line 3314 of file fft_test.cc.

References Aleph::Array< T >::append(), Aleph::Array< T >::reserve(), and rng.

◆ TEST() [48/138]

TEST ( FFTFiltFilt  ,
ParallelAndContainerOverloads   
)

◆ TEST() [49/138]

TEST ( FFTFiltFiltIIR  ,
CascadeSectionsMatchReference   
)

◆ TEST() [50/138]

TEST ( FFTFiltFiltIIR  ,
IdentityAndConstantSignal   
)

Definition at line 3356 of file fft_test.cc.

◆ TEST() [51/138]

TEST ( FFTFiltFiltIIR  ,
MatchesNaiveReferenceAndBiquadWrapper   
)

◆ TEST() [52/138]

TEST ( FFTFloatStress  ,
FloatMultiply   
)

Definition at line 2033 of file fft_test.cc.

◆ TEST() [53/138]

TEST ( FFTFloatStress  ,
HighDynamicRange   
)

◆ TEST() [54/138]

TEST ( FFTFloatStress  ,
HighDynamicRangeLargeN   
)

Definition at line 2096 of file fft_test.cc.

References Aleph::Array< T >::append(), Aleph::Array< T >::reserve(), and rng.

◆ TEST() [55/138]

TEST ( FFTFloatStress  ,
LargeNRoundTrip   
)

Definition at line 1979 of file fft_test.cc.

References Aleph::Array< T >::append(), Aleph::Array< T >::reserve(), and rng.

◆ TEST() [56/138]

TEST ( FFTFloatStress  ,
ParsevalTheorem   
)

Definition at line 2003 of file fft_test.cc.

References Aleph::Array< T >::append(), Aleph::Array< T >::reserve(), and rng.

◆ TEST() [57/138]

TEST ( FFTIIRDesign  ,
BilinearAndPrototypeDesignsAreStable   
)

Definition at line 3935 of file fft_test.cc.

◆ TEST() [58/138]

TEST ( FFTIIRDesign  ,
EllipticFamilyCoversRepresentativeResponses   
)

Definition at line 4080 of file fft_test.cc.

References Aleph::Array< T >::is_empty().

◆ TEST() [59/138]

TEST ( FFTIIRDesign  ,
ExtendedDesignFamiliesCoverBandModesAndAdditionalPrototypes   
)

Definition at line 3985 of file fft_test.cc.

◆ TEST() [60/138]

TEST ( FFTIIRUtilities  ,
BatchedLFilterAndBankMatchScalarPaths   
)

◆ TEST() [61/138]

TEST ( FFTIIRUtilities  ,
BatchedSOSFilterAndBankMatchScalarPaths   
)

◆ TEST() [62/138]

TEST ( FFTIIRUtilities  ,
DefaultConstructedFiltersRemainUnconfigured   
)

Definition at line 3922 of file fft_test.cc.

◆ TEST() [63/138]

TEST ( FFTIIRUtilities  ,
FreqzMatchesAnalyticAndCascadeProduct   
)

Definition at line 3645 of file fft_test.cc.

◆ TEST() [64/138]

TEST ( FFTIIRUtilities  ,
GainAndPhaseMarginsDetectCrossovers   
)

Definition at line 3891 of file fft_test.cc.

◆ TEST() [65/138]

TEST ( FFTIIRUtilities  ,
LFilterStatefulMatchesOneShot   
)

◆ TEST() [66/138]

TEST ( FFTIIRUtilities  ,
PairingMarginsAndCancellationChecks   
)

Definition at line 3731 of file fft_test.cc.

◆ TEST() [67/138]

TEST ( FFTIIRUtilities  ,
RefinedMarginsTrackHighResolutionReference   
)

Definition at line 3834 of file fft_test.cc.

◆ TEST() [68/138]

TEST ( FFTIIRUtilities  ,
RootSolverHandlesConditionedHighOrderPolynomials   
)

Definition at line 3757 of file fft_test.cc.

References Aleph::Array< T >::create().

◆ TEST() [69/138]

TEST ( FFTIIRUtilities  ,
RootSolverMatchesRandomStableRootSets   
)

Definition at line 3778 of file fft_test.cc.

References Aleph::Array< T >::append(), and rng.

◆ TEST() [70/138]

TEST ( FFTIIRUtilities  ,
RootsStabilityAndDelayMetrics   
)

Definition at line 3665 of file fft_test.cc.

References section().

◆ TEST() [71/138]

TEST ( FFTIIRUtilities  ,
SosAnalyticDelayMatchesSectionSums   
)

Definition at line 3807 of file fft_test.cc.

◆ TEST() [72/138]

TEST ( FFTIIRUtilities  ,
SOSFilterStatefulMatchesOneShot   
)

◆ TEST() [73/138]

TEST ( FFTIIRUtilities  ,
SosStabilityMarginUsesWorstSection   
)

Definition at line 3878 of file fft_test.cc.

◆ TEST() [74/138]

TEST ( FFTIIRUtilities  ,
ZerosOfRootsOfVeryDifferentMagnitudes   
)

Definition at line 3710 of file fft_test.cc.

References k, Aleph::Array< T >::size(), and value.

◆ TEST() [75/138]

TEST ( FFTLargeN  ,
ComplexRoundTrip   
)

Definition at line 1705 of file fft_test.cc.

References Aleph::Array< T >::append(), Aleph::Array< T >::reserve(), and rng.

◆ TEST() [76/138]

TEST ( FFTLargeN  ,
ConvolutionNaiveCrossCheckLargeN   
)

Definition at line 1918 of file fft_test.cc.

References Aleph::Array< T >::append(), m, Aleph::Array< T >::reserve(), and rng.

◆ TEST() [77/138]

TEST ( FFTLargeN  ,
DCComponentEqualsSumOfSignal   
)

Definition at line 1780 of file fft_test.cc.

References Aleph::Array< T >::append(), Aleph::Array< T >::reserve(), and rng.

◆ TEST() [78/138]

TEST ( FFTLargeN  ,
HermitianSymmetryLargeRealSignals   
)

Definition at line 1802 of file fft_test.cc.

References Aleph::Array< T >::append(), k, Aleph::Array< T >::reserve(), and rng.

◆ TEST() [79/138]

TEST ( FFTLargeN  ,
MatchesNaiveDFTUpTo256   
)

Definition at line 1680 of file fft_test.cc.

References Aleph::Array< T >::append(), Aleph::Array< T >::reserve(), and rng.

◆ TEST() [80/138]

TEST ( FFTLargeN  ,
ParallelLargeN   
)

Definition at line 1850 of file fft_test.cc.

References Aleph::Array< T >::append(), Aleph::Array< T >::reserve(), and rng.

◆ TEST() [81/138]

TEST ( FFTLargeN  ,
ParallelMultiplyLargeN   
)

Definition at line 1895 of file fft_test.cc.

References Aleph::Array< T >::append(), Aleph::Array< T >::reserve(), and rng.

◆ TEST() [82/138]

TEST ( FFTLargeN  ,
ParallelRealLargeN   
)

Definition at line 1876 of file fft_test.cc.

References Aleph::Array< T >::append(), Aleph::Array< T >::reserve(), and rng.

◆ TEST() [83/138]

TEST ( FFTLargeN  ,
ParsevalTheorem   
)

Definition at line 1753 of file fft_test.cc.

References Aleph::Array< T >::append(), Aleph::Array< T >::reserve(), and rng.

◆ TEST() [84/138]

TEST ( FFTLargeN  ,
RealRoundTrip   
)

Definition at line 1731 of file fft_test.cc.

References Aleph::Array< T >::append(), Aleph::Array< T >::reserve(), and rng.

◆ TEST() [85/138]

TEST ( FFTLargeN  ,
RealTransformMatchesComplexLiftLargeN   
)

Definition at line 1832 of file fft_test.cc.

References Aleph::Array< T >::append(), Aleph::Array< T >::reserve(), and rng.

◆ TEST() [86/138]

TEST ( FFTND  ,
Transform2DMatchesSequentialAxisPipeline   
)

Definition at line 3160 of file fft_test.cc.

References Aleph::Array< T >::append(), col, and row.

◆ TEST() [87/138]

TEST ( FFTND  ,
Transform3DAndBatched2DPathsRoundTrip   
)

Definition at line 3191 of file fft_test.cc.

References Aleph::Array< T >::append(), k, and Aleph::Array< T >::size().

◆ TEST() [88/138]

TEST ( FFTND  ,
TransformAxisSupportsRowMajorAndCustomStrideLayouts   
)

Definition at line 3113 of file fft_test.cc.

References Aleph::Array< T >::append(), col, row, and Aleph::Array< T >::size().

◆ TEST() [89/138]

TEST ( FFTOverlapAdd  ,
EmptyInputsAndInvalidKernel   
)

Definition at line 4186 of file fft_test.cc.

◆ TEST() [90/138]

TEST ( FFTOverlapAdd  ,
IncrementalParallelAndReset   
)

◆ TEST() [91/138]

TEST ( FFTOverlapAdd  ,
IncrementalProcessBlockMatchesFullConvolution   
)

Definition at line 4198 of file fft_test.cc.

References Aleph::Array< T >::append(), offset, Aleph::Array< T >::reserve(), and rng.

◆ TEST() [92/138]

TEST ( FFTOverlapAdd  ,
MatchesDirectConvolution   
)

Definition at line 4127 of file fft_test.cc.

References Aleph::Array< T >::append(), Aleph::Array< T >::reserve(), and rng.

◆ TEST() [93/138]

TEST ( FFTOverlapAdd  ,
ReusableConvolverAndParallelPath   
)

◆ TEST() [94/138]

TEST ( FFTOverlapAddBank  ,
MatchesPerChannelDirectConvolution   
)

◆ TEST() [95/138]

TEST ( FFTOverlapAddBank  ,
PreservesEmptyChannelsAndSparseBlocks   
)

Definition at line 4477 of file fft_test.cc.

References Aleph::Array< T >::size().

◆ TEST() [96/138]

TEST ( FFTOverlapAddBank  ,
StreamingParallelMatchesOfflinePerChannel   
)

◆ TEST() [97/138]

TEST ( FFTOverlapSave  ,
MatchesDirectConvolutionAndStreaming   
)

Definition at line 4290 of file fft_test.cc.

References Aleph::Array< T >::append(), Aleph::Array< T >::reserve(), and rng.

◆ TEST() [98/138]

TEST ( FFTPartitionedConvolver  ,
MatchesDirectConvolutionAndStreaming   
)

Definition at line 4326 of file fft_test.cc.

References Aleph::Array< T >::append(), Aleph::Array< T >::reserve(), and rng.

◆ TEST() [99/138]

TEST ( FFTPlan  ,
BatchCompactRealSpectrumMatchesScalarLoop   
)

◆ TEST() [100/138]

TEST ( FFTPlan  ,
BatchInverseTransformRealMatchesScalarLoop   
)

Definition at line 1535 of file fft_test.cc.

References Aleph::Array< T >::append(), Aleph::Array< T >::reserve(), and rng.

◆ TEST() [101/138]

TEST ( FFTPlan  ,
BatchTransformMatchesScalarLoop   
)

◆ TEST() [102/138]

TEST ( FFTPlan  ,
BatchTransformRejectsMismatchedSizes   
)

Definition at line 1480 of file fft_test.cc.

◆ TEST() [103/138]

TEST ( FFTPlan  ,
CompactRealSpectrumRoundTrip   
)

Definition at line 1575 of file fft_test.cc.

References Aleph::Array< T >::size().

◆ TEST() [104/138]

TEST ( FFTPlan  ,
ConstructionAcceptsArbitraryPositiveSizes   
)

Definition at line 1262 of file fft_test.cc.

◆ TEST() [105/138]

TEST ( FFTPlan  ,
FloatPlan   
)

Definition at line 1591 of file fft_test.cc.

◆ TEST() [106/138]

TEST ( FFTPlan  ,
InverseTransformReal   
)

◆ TEST() [107/138]

TEST ( FFTPlan  ,
LinearityProperty   
)

Definition at line 1639 of file fft_test.cc.

References Aleph::Array< T >::append(), Aleph::Array< T >::reserve(), rng, and y.

◆ TEST() [108/138]

TEST ( FFTPlan  ,
MatchesNaiveDFTLargeN   
)

Definition at line 1399 of file fft_test.cc.

References Aleph::Array< T >::append(), Aleph::Array< T >::reserve(), and rng.

◆ TEST() [109/138]

TEST ( FFTPlan  ,
MatchesStaticTransform   
)

Definition at line 1297 of file fft_test.cc.

References Aleph::Array< T >::append(), Aleph::Array< T >::reserve(), and rng.

◆ TEST() [110/138]

TEST ( FFTPlan  ,
ParallelInverseTransformReal   
)

Definition at line 1378 of file fft_test.cc.

References Aleph::Array< T >::append(), Aleph::Array< T >::reserve(), and rng.

◆ TEST() [111/138]

TEST ( FFTPlan  ,
ParallelMatchesSequential   
)

Definition at line 1416 of file fft_test.cc.

References Aleph::Array< T >::append(), Aleph::Array< T >::reserve(), and rng.

◆ TEST() [112/138]

TEST ( FFTPlan  ,
ParsevalTheorem   
)

Definition at line 1611 of file fft_test.cc.

References Aleph::Array< T >::append(), Aleph::Array< T >::reserve(), and rng.

◆ TEST() [113/138]

TEST ( FFTPlan  ,
ReusePlanForMultipleTransforms   
)

Definition at line 1341 of file fft_test.cc.

References Aleph::Array< T >::append(), Aleph::Array< T >::reserve(), and rng.

◆ TEST() [114/138]

TEST ( FFTPlan  ,
RoundTrip   
)

Definition at line 1319 of file fft_test.cc.

References Aleph::Array< T >::append(), Aleph::Array< T >::reserve(), and rng.

◆ TEST() [115/138]

TEST ( FFTPlan  ,
SizeReturnsConstructedSize   
)

Definition at line 1275 of file fft_test.cc.

◆ TEST() [116/138]

TEST ( FFTPlan  ,
TransformRejectsSizeMismatch   
)

Definition at line 1290 of file fft_test.cc.

◆ TEST() [117/138]

TEST ( FFTSTFT  ,
AllowsNonPowerOfTwoFftSize   
)

Definition at line 2728 of file fft_test.cc.

References Aleph::Array< T >::size(), and Aleph::size().

◆ TEST() [118/138]

TEST ( FFTSTFT  ,
BatchedProcessorsMatchOfflineAndParallelPaths   
)

◆ TEST() [119/138]

TEST ( FFTSTFT  ,
BatchedStftAndIstftMatchScalarPaths   
)

◆ TEST() [120/138]

TEST ( FFTSTFT  ,
CenteredOptionsAndOverlapConstraints   
)

◆ TEST() [121/138]

TEST ( FFTSTFT  ,
DefaultConstructedProcessorsRemainUnconfigured   
)

Definition at line 3097 of file fft_test.cc.

◆ TEST() [122/138]

TEST ( FFTSTFT  ,
FrameSignalExactAndPadded   
)

Definition at line 2583 of file fft_test.cc.

References Aleph::Array< T >::size().

◆ TEST() [123/138]

TEST ( FFTSTFT  ,
ISTFTProcessorMatchesOffline   
)

◆ TEST() [124/138]

TEST ( FFTSTFT  ,
IstftReconstructsWindowedFrames   
)

Definition at line 2629 of file fft_test.cc.

References Aleph::Array< T >::size().

◆ TEST() [125/138]

TEST ( FFTSTFT  ,
IstftRejectsInvalidParameters   
)

Definition at line 2650 of file fft_test.cc.

References Aleph::Array< T >::append().

◆ TEST() [126/138]

TEST ( FFTSTFT  ,
MatchesManualFramePipeline   
)

Definition at line 2598 of file fft_test.cc.

References Aleph::Array< T >::size(), and Aleph::size().

◆ TEST() [127/138]

TEST ( FFTSTFT  ,
MultichannelLayoutsAvoidManualRepacking   
)

Definition at line 3234 of file fft_test.cc.

References Aleph::Array< T >::size().

◆ TEST() [128/138]

TEST ( FFTSTFT  ,
ParallelAndStreamingProcessorMatchOffline   
)

◆ TEST() [129/138]

TEST ( FFTSTFT  ,
RejectsInvalidParameters   
)

Definition at line 2618 of file fft_test.cc.

◆ TEST() [130/138]

TEST ( FFTWindows  ,
ApplyWindowRealAndComplex   
)

◆ TEST() [131/138]

TEST ( FFTWindows  ,
ApplyWindowRejectsMismatchedSizes   
)

Definition at line 2462 of file fft_test.cc.

◆ TEST() [132/138]

TEST ( FFTWindows  ,
CanonicalSmallWindows   
)

Definition at line 2255 of file fft_test.cc.

◆ TEST() [133/138]

TEST ( FFTWindows  ,
DegenerateSizes   
)

Definition at line 2270 of file fft_test.cc.

◆ TEST() [134/138]

TEST ( FFTWindows  ,
FirlsLeastSquaresDesignSupportsBandsAndWeights   
)

Definition at line 2329 of file fft_test.cc.

◆ TEST() [135/138]

TEST ( FFTWindows  ,
KaiserWindowAndFirwinDesignsShowExpectedResponseShape   
)

Definition at line 2282 of file fft_test.cc.

◆ TEST() [136/138]

TEST ( FFTWindows  ,
RemezEquirippleDesignSupportsBandsAndWeights   
)

Definition at line 2382 of file fft_test.cc.

◆ TEST() [137/138]

TEST ( FFTWindows  ,
WindowedSpectrumMatchesManualPipeline   
)

◆ TEST() [138/138]

TEST ( FFTWindows  ,
WindowMetricsAndFrameHelpers   
)

Definition at line 2496 of file fft_test.cc.