Opened 18 years ago
Closed 17 years ago
#650 closed task (fixed)
Geometric mean
Reported by: | Johan Enell | Owned by: | Johan Enell |
---|---|---|---|
Priority: | critical | Milestone: | BASE 2.4 |
Component: | core | Version: | trunk |
Keywords: | Cc: |
Description
Create an geometric mean expression in the query package. Use the arithmetic mean in the calculation.
exp(avg(ln(x)))
Change History (7)
comment:1 by , 18 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
comment:2 by , 18 years ago
Resolution: | fixed |
---|---|
Status: | closed → reopened |
The LN() and EXP() functions have different names in different databases. See LogExpression and ExpExpression for more info.
comment:3 by , 18 years ago
Priority: | major → critical |
---|
comment:4 by , 18 years ago
(In [3517]) References #650 Creates Ql and String from the parts already made in LogExpression and ExpExpression. Uses lazy initialization for the full GeometricMean expression. This could be changed to creating the expression every time it is needed. Don't know which impementation that is most efficient.
comment:5 by , 18 years ago
Resolution: | → fixed |
---|---|
Status: | reopened → closed |
comment:6 by , 17 years ago
Resolution: | fixed |
---|---|
Status: | closed → reopened |
Add correct @version number in javadoc.
comment:7 by , 17 years ago
Resolution: | → fixed |
---|---|
Status: | reopened → closed |
(In [3514]) Fixes #650