Skip to content

Commit

Permalink
math.statistics: fix help-lint
Browse files Browse the repository at this point in the history
  • Loading branch information
mrjbq7 committed Feb 7, 2024
1 parent c635029 commit 7142ba3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion basis/math/statistics/statistics-docs.factor
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 7142ba3

Please sign in to comment.