9
7
my $corr = new Statistics::Basic::Correlation([1 .. 10], [1 .. 10]);
15
15
$corr->set_vector( [11 .. 13], [11 .. 13] );
18
18
$corr->ginsert( 13, 12 );
21
25
my $j = new Statistics::Basic::Correlation;
23
27
$j->set_vector( [11 .. 13], [11 .. 13] );
26
34
my $c = correlation([4,7,7], [4,7,7]);
30
ok( $c == correlation([7,7,3], [7,7,4]) );
39
ok( $c, correlation([7,7,3], [7,7,4]) );