mirror of
https://github.com/DBD-SQLite/DBD-SQLite
synced 2025-06-08 06:38:12 -04:00
resolved #79364
This commit is contained in:
parent
a057f2b119
commit
8f3215ded2
1 changed files with 1 additions and 1 deletions
|
@ -1522,7 +1522,7 @@ Here is a simple aggregate function which returns the variance
|
||||||
|
|
||||||
my $sigma = 0;
|
my $sigma = 0;
|
||||||
foreach my $v ( @$self ) {
|
foreach my $v ( @$self ) {
|
||||||
$sigma += ($x - $mu)**2;
|
$sigma += ($v - $mu)**2;
|
||||||
}
|
}
|
||||||
$sigma = $sigma / ($n - 1);
|
$sigma = $sigma / ($n - 1);
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue