Re: efficient math vector operations on arrays - Mailing list pgsql-general

From Jony Cohen
Subject Re: efficient math vector operations on arrays
Date
Msg-id CAD9xk19omK8OnSO9PHAS3KbDw5PZFh+2hfdEdg+eycCpjG7Gyg@mail.gmail.com
Whole thread Raw
In response to Re: efficient math vector operations on arrays  (Jim Nasby <Jim.Nasby@BlueTreble.com>)
Responses Re: efficient math vector operations on arrays  (Jim Nasby <Jim.Nasby@BlueTreble.com>)
List 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.

Regards,
 - Jony

On Fri, Dec 25, 2015 at 9:58 PM, Jim Nasby <Jim.Nasby@bluetreble.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@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-general

pgsql-general by date:

Previous
From: Sébastien Boutté
Date:
Subject: Re: Postgres Ubuntu Default Package vs Enterprise DB vs Compiled One
Next
From: Hiroyuki Sato
Date:
Subject: grep -f keyword data query