| От | Stupor Genius |
|---|---|
| Тема | RE: [HACKERS] Standard Deviation function. |
| Дата | |
| Msg-id | 000001bd9022$48ee3360$ad99accf@darren обсуждение исходный текст |
| Ответ на | Standard Deviation function. (Chris Albertson <chris@topdog.pas1.logicon.com>) |
| Ответы |
Re: [HACKERS] Standard Deviation function.
|
| Список | pgsql-hackers |
> I really need a Standard Deviation aggregate function... > > I know about the man pages for "create aggregate" and "create > function". Is there something else I should look at? > > It seems kind of hard to do with only two state functions unless > I "cheat". I need to keep three values, Count, Sum, and Sum of > Squares. > > Any hints or advice?? I thought about this a long time ago and had an idea but never got around to trying to implement it. I was going to have some functions that worked on a structure of two doubles to track the sum and square instead of using only one simple type. darrenk
В списке pgsql-hackers по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера