WaveletFunctionBase<T>
Base Classes · AiDotNet.WaveletFunctions
Base class for all wavelet function implementations providing common functionality.
Implements: IWaveletFunction<T>
Known derived types: BSplineWavelet<T>, BattleLemarieWavelet<T>, BiorthogonalWavelet<T>, CoifletWavelet<T>, ContinuousMexicanHatWavelet<T>, DOGWavelet<T>, DaubechiesWavelet<T>, FejérKorovkinWavelet<T>, GaborWavelet<T>, GaussianWavelet<T>, HaarWavelet<T>, MexicanHatWavelet<T>, MeyerWavelet<T>, MorletWavelet<T>, PaulWavelet<T>, ReverseBiorthogonalWavelet<T>, ShannonWavelet<T>, SymletWavelet<T>
For Beginners
This is a foundation class that all wavelet types build upon.
Think of this base class like a blueprint that ensures all wavelets have:
- Access to mathematical operations (addition, multiplication, etc.)
- A consistent structure that makes them work together
- Shared utilities that every wavelet needs
When you create a new wavelet type, you inherit from this class to get all these common features automatically, then just implement what makes your wavelet unique.
How It Works
This abstract base class provides shared infrastructure for wavelet function implementations, including numeric operations support. All wavelet functions in the library should inherit from this base class to ensure consistent behavior and reduce code duplication.
Methods
| Method | Summary |
|---|---|
T Calculate(T x) |
Calculates the wavelet function at every element of x. |
Tensor<T> Calculate(Tensor<T> x) |
Calculates the wavelet function at every element of x. |
ValueTuple<Vector<T>, Vector<T>> Decompose(Vector<T> input) |
Decomposes an input signal using the wavelet transform. |
Vector<T> GetScalingCoefficients() |
Gets the scaling coefficients used in the wavelet transform. |
Vector<T> GetWaveletCoefficients() |
Gets the wavelet coefficients used in the wavelet transform. |