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

From Pavel Stehule
Subject Re: efficient math vector operations on arrays
Date
Msg-id CAFj8pRBQPBec1j5sGB84yNzssT9dhWxK-ujeUv16hAQtPyHDaQ@mail.gmail.com
Whole thread Raw
In response to Re: efficient math vector operations on arrays  (Marcus Engene <mengpg2@engene.se>)
Responses Re: efficient math vector operations on arrays  (Jim Nasby <Jim.Nasby@BlueTreble.com>)
List pgsql-general


2015-12-24 8:34 GMT+01:00 Marcus Engene <mengpg2@engene.se>:
On 24/12/15 07:13, Pavel Stehule wrote:
Hi

2015-12-24 8:05 GMT+01:00 Marcus Engene <mengpg2@engene.se>:
Hi,

Are there highly efficient C extensions out there for math operations on arrays? Dot product and whatnot.

what you mean "highly efficient" ?

Implemented as a C module so I wont have to unnest or plpgsql.

ok,

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.

Pavel


Kind regards,
Marcus


pgsql-general by date:

Previous
From: Marcus Engene
Date:
Subject: Re: efficient math vector operations on arrays
Next
From: Craig Ringer
Date:
Subject: Re: BDR error while adding 3rd node to cluster