]> gitweb.factorcode.org Git - factor.git/commitdiff
math.statistics: fix help-lint
authorJohn Benediktsson <mrjbq7@gmail.com>
Wed, 7 Feb 2024 19:36:13 +0000 (11:36 -0800)
committerJohn Benediktsson <mrjbq7@gmail.com>
Wed, 7 Feb 2024 19:36:13 +0000 (11:36 -0800)
basis/math/statistics/statistics-docs.factor

index 09867dbb6b4aa1abb61d08ef53c18df4467d1d8f..25d07a79476c0144a3eb282bc90ec771915a700b 100644 (file)
@@ -5,7 +5,7 @@ IN: math.statistics
 HELP: geometric-mean
 { $values { "seq" sequence } { "x" "a non-negative real number" } }
 { $description "Computes the geometric mean of all elements in " { $snippet "seq" } ". The geometric mean measures the central tendency of a data set and minimizes the effects of extreme values." }
-{ $examples { $example "USING: math.statistics prettyprint ;" "{ 1 2 3 } geometric-mean ." "1.81712059283214" } }
+{ $examples { $example "USING: math.statistics prettyprint ;" "{ 1 2 3 } geometric-mean ." "1.8171205928321397" } }
 { $errors "Throws a " { $link signal-error. } " (square-root of 0) if the sequence is empty." } ;
 
 HELP: harmonic-mean