Opened 16 years ago
Closed 16 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 Changed 16 years ago by
Resolution: | → fixed |
---|---|
Status: | new → closed |
comment:2 Changed 16 years ago by
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 Changed 16 years ago by
Priority: | major → critical |
---|
comment:4 Changed 16 years ago by
(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 Changed 16 years ago by
Resolution: | → fixed |
---|---|
Status: | reopened → closed |
comment:6 Changed 16 years ago by
Resolution: | fixed |
---|---|
Status: | closed → reopened |
Add correct @version number in javadoc.
comment:7 Changed 16 years ago by
Resolution: | → fixed |
---|---|
Status: | reopened → closed |
(In [3514]) Fixes #650