Autor Beitrag
Jacdelad
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 109

Win XP Pro
Borland Developer Studio 2006 Architect
BeitragVerfasst: Mi 10.05.06 14:53 
Hm,

kann mir eventuell jemand sagen, wie ich das logarithmische Mittel von MEHR als 2 Werten errechne?

Jac

_________________
Es gibt 10 Arten von Menschen: Die einen, die Binärcode verstehen und die, die es nicht tun.
BenBE
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 8721
Erhaltene Danke: 191

Win95, Win98SE, Win2K, WinXP
D1S, D3S, D4S, D5E, D6E, D7E, D9PE, D10E, D12P, DXEP, L0.9\FPC2.0
BeitragVerfasst: Mi 10.05.06 16:02 
Wenn Du kurz erklärst, was das ist, und wie man's für 2 Werte berechnet, kann man das sicherlich schnell auf mehr Werte erweitern ...

_________________
Anyone who is capable of being elected president should on no account be allowed to do the job.
Ich code EdgeMonkey - In dubio pro Setting.
Gausi
ontopic starontopic starontopic starontopic starontopic starontopic starofftopic starofftopic star
Beiträge: 8549
Erhaltene Danke: 478

Windows 7, Windows 10
D7 PE, Delphi XE3 Prof, Delphi 10.3 CE
BeitragVerfasst: Mi 10.05.06 16:09 
Auch wenn Wikipedia nicht immer richtig sein muss, aber so legt das hier und die Fußbote dazu nahe, dass das ganz und gar nciht trivial ist. Versuch mal, ob du irgendwo den Artikel finden kannst, der da genannt ist ( A.O.Pittenger: The logarithmic mean in n variables. In: Amer. Math. Monthly, 92 (1985), S 99–104.)

_________________
We are, we were and will not be.
Jacdelad Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 109

Win XP Pro
Borland Developer Studio 2006 Architect
BeitragVerfasst: Mi 10.05.06 16:11 
Also für zwei Werte:

(x-y)/Ln(x/y)

bzw.

(x-y)/(Ln(y)-Ln(y))

Soweit so gut, nur leider weiß ich nicht, wie man das auf viele Elemente vereinheitlichen kann...

Jac

_________________
Es gibt 10 Arten von Menschen: Die einen, die Binärcode verstehen und die, die es nicht tun.
BenBE
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 8721
Erhaltene Danke: 191

Win95, Win98SE, Win2K, WinXP
D1S, D3S, D4S, D5E, D6E, D7E, D9PE, D10E, D12P, DXEP, L0.9\FPC2.0
BeitragVerfasst: Mi 10.05.06 16:18 
Nach einer kurzen Suche mit Google habe ich dieses PDF gefunden:

www.survo.fi/papers/logmean.pdf

Dort scheint sowohl die Herleitung als auch ein Ansatz zur Implementation geliefert zu werden. Wenn ich die Formel dort richtig interpretiere scheint es nicht unter O(n^2) zu gehen...

_________________
Anyone who is capable of being elected president should on no account be allowed to do the job.
Ich code EdgeMonkey - In dubio pro Setting.
Jacdelad Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 109

Win XP Pro
Borland Developer Studio 2006 Architect
BeitragVerfasst: Mi 10.05.06 20:20 
Danke, ich schaus mir gleich an...hab mich schon dumm und dämlich gesucht...!

Jac

_________________
Es gibt 10 Arten von Menschen: Die einen, die Binärcode verstehen und die, die es nicht tun.