Treating float arrays as vectors? - Mailing list pgsql-general

From Celia McInnis
Subject Treating float arrays as vectors?
Date
Msg-id CAGD6t7JaCQfCyDidSZSEh1MJgRhhSrcxwNE0WVoMgKAwjtR6Mw@mail.gmail.com
Whole thread Raw
Responses Re: Treating float arrays as vectors?  (Paul Jungwirth <pj@illuminatedcomputing.com>)
List pgsql-general
Hi:

I would love it if there was a vector data type in postgresql along with such vector operations as addition, subtraction, scalar multiplication, cross product, dot product, normalization, length and various sorts of vector distances. So far I have been feeding my float arrays to plpython3u to do these kinds of operations. Is there a better way I can get this functionality?

Celia McInnis

pgsql-general by date:

Previous
From: Torsten Förtsch
Date:
Subject: Re: Listen and notify in psql process
Next
From: Vijaykumar Jain
Date:
Subject: compute_query_id