Re: efficient math vector operations on arrays

From: Pavel Stehule <pavel(dot)stehule(at)gmail(dot)com>
To: Marcus Engene <mengpg2(at)engene(dot)se>
Cc: "pgsql-general(at)postgresql(dot)org" <pgsql-general(at)postgresql(dot)org>
Subject: Re: efficient math vector operations on arrays
Date: 2015-12-24 07:56:02
Message-ID: CAFj8pRBQPBec1j5sGB84yNzssT9dhWxK-ujeUv16hAQtPyHDaQ@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

2015-12-24 8:34 GMT+01:00 Marcus Engene <mengpg2(at)engene(dot)se>:

> On 24/12/15 07:13, Pavel Stehule wrote:
>
> Hi
>
> 2015-12-24 8:05 GMT+01:00 Marcus Engene <mengpg2(at)engene(dot)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
>
>

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Killian Driscoll 2015-12-24 08:03:26 Re: Transfer db from one port to another
Previous Message Marcus Engene 2015-12-24 07:34:22 Re: efficient math vector operations on arrays