DSP-LinPred
view release on metacpan - search on metacpan
view release on metacpan or search on metacpan
lib/DSP/LinPred.pm view on Meta::CPAN
unshift(@$x_stack,$x_est);
push(@$estimated,$x_est);
pop(@$x_stack);
}
return($estimated);
}
# update only
# x should be array reference
sub update{
my $self = shift;
my $x = shift;
my $h_length = $self->h_length;
my $h = $self->h;
my $x_stack = $self->x_stack;
for ( my $kx=0; $kx <= $#{$x}; $kx++){
unshift(@$x_stack,$x->[$kx]);
pop(@$x_stack);
$self->x_count($self->x_count + 1);
view all matches for this distributionview release on metacpan - search on metacpan
( run in 0.454 second using v1.00-cache-2.02-grep-82fe00e-cpan-4673cadbf75 )