in reply to Re: LineFit.pm error due to undef value
in thread LineFit.pm error due to undef value
I'll add (thought I expect this will go right over your head) that you don't even need to deref and reref the arrays:
sub correlation { . . . my( $x_ref, $y_ref ) = @_; my $lfit = Statistics::LineFit->new(); $lfit->setData( $x_ref, $y_ref ); . . . }
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
| A reply falls below the community's threshold of quality. You may see it by logging in. |