DOKK / manpages / debian 12 / pdl / PDL::Linear.3pm.en
Linear(3pm) User Contributed Perl Documentation Linear(3pm)

PDL::Filter::Linear - linear filtering for PDL

        $x = new PDL::Filter::Linear(
                {Weights => $v,
                 Point => 10});
        $y = new PDL::Filter::Gaussian(15,2); # 15 points, 2 std devn.
        ($pred,$corrslic) = $x->predict($dat);

A wrapper for generic linear filters. Just for convenience. This should in the future use DataPresenter.

Also, this class should at some point learn to do FFT whenever it is useful.

2023-04-27 perl v5.36.0