From: jkatz (@jkatz) <noreply+jkatz@github.com>
To: pgvector/pgvector <noreply+pgvector-pgvector@github.com>
Subject: Re: [pgvector/pgvector] PR #802: Pgvector crossproduct
Date: Wed, 19 Mar 2025 03:03:54 +0000
Message-ID: <gh-pgvector-pgvector-802-c2735205255@github.com> (raw)
In-Reply-To: <gh-pgvector-pgvector-802@github.com>
References: <gh-pgvector-pgvector-802@github.com>
From 5 minutes of search, I couldn't find any other PostgreSQL extensions that expose this (PostGIS has an [internal function](https://postgis.net/docs/doxygen/3.5/d2/ddd/lwgeodetic_8c_ab49bfa54fdded3ab7135b890d977cebf.html]) - primarily I'm trying to see if anyone has defined an operator for this.
Given the mathematical notation is `x` for cross product, I'd be hesitant to use `<*>` here (and I was also trying to find some prior art if PostgreSQL extensions used `<*>`; it's hard to search for operators 😢 ). However - while there's still discussion on the patch itself, I'd suggest we try to use an operator closer to the mathematical one, or a commonly accepted one, maybe `<x>`?