Math::GSL::Wavelet - Wavelets (for 1-D real data)
use Math::GSL::Wavelet qw/:all/;
Here is a list of all the functions included in this module :
gsl_wavelet_alloc($T, $k)
gsl_wavelet_free($w)
gsl_wavelet_name
gsl_wavelet_workspace_alloc($n)
gsl_wavelet_workspace_free($work)
gsl_wavelet_transform
gsl_wavelet_transform_forward($w, $data, $stride, $n, $work)
where the first element is the smoothing coefficient s_{-1,0}, followed by the detail coefficients d_{j,k} for each level j. The backward transform inverts these coefficients to obtain the original data. These functions return a status of $GSL_SUCCESS upon successful completion. $GSL_EINVAL is returned if $n is not an integer power of 2 or if insufficient workspace is provided.
gsl_wavelet_transform_inverse
This module also contains the following constants with their valid k value for the gsl_wavelet_alloc function :
This is the Daubechies wavelet family of maximum phase with k/2 vanishing moments. The implemented wavelets are k=4, 6, ..., 20, with k even.
This is the Haar wavelet. The only valid choice of k for the Haar wavelet is k=2.
This is the biorthogonal B-spline wavelet family of order (i,j). The implemented values of k = 100*i + j are 103, 105, 202, 204, 206, 208, 301, 303, 305 307, 309.
Jonathan Leto <jonathan@leto.net> and Thierry Moisan <thierry.moisan@gmail.com>
Copyright (C) 2008 Jonathan Leto and Thierry Moisan
This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
To install Math::GSL, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Math::GSL
CPAN shell
perl -MCPAN -e shell install Math::GSL
For more information on module installation, please visit the detailed CPAN module installation guide.