From: | Jony Cohen <jony(dot)cohenjo(at)gmail(dot)com> |
---|---|
To: | Jim Nasby <Jim(dot)Nasby(at)bluetreble(dot)com> |
Cc: | Pavel Stehule <pavel(dot)stehule(at)gmail(dot)com>, Marcus Engene <mengpg2(at)engene(dot)se>, "pgsql-general(at)postgresql(dot)org" <pgsql-general(at)postgresql(dot)org> |
Subject: | Re: efficient math vector operations on arrays |
Date: | 2015-12-27 08:00:00 |
Message-ID: | CAD9xk19omK8OnSO9PHAS3KbDw5PZFh+2hfdEdg+eycCpjG7Gyg@mail.gmail.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-general |
Hi, Don't know if it's exactly what you're looking for but the MADLib
package has utility function for matrix and vector operations.
see: http://doc.madlib.net/latest/group__grp__array.html
Regards,
- Jony
On Fri, Dec 25, 2015 at 9:58 PM, Jim Nasby <Jim(dot)Nasby(at)bluetreble(dot)com> wrote:
> On 12/24/15 1:56 AM, Pavel Stehule wrote:
>
>> I don't know any extension that calculate euclid distance, but it should
>> be trivial in C - if you don't need to use generic types and generic
>> operations.
>>
>
> Before messing around with that, I'd recommend trying either pl/r or
> pl/pythonu.
> --
> Jim Nasby, Data Architect, Blue Treble Consulting, Austin TX
> Experts in Analytics, Data Architecture and PostgreSQL
> Data in Trouble? Get it in Treble! http://BlueTreble.com
>
>
> --
> Sent via pgsql-general mailing list (pgsql-general(at)postgresql(dot)org)
> To make changes to your subscription:
> http://www.postgresql.org/mailpref/pgsql-general
>
From | Date | Subject | |
---|---|---|---|
Next Message | Hiroyuki Sato | 2015-12-27 09:53:17 | grep -f keyword data query |
Previous Message | Sébastien Boutté | 2015-12-26 23:28:12 | Re: Postgres Ubuntu Default Package vs Enterprise DB vs Compiled One |