mirror of
https://github.com/pgvector/pgvector.git
synced 2026-12-05 08:48:38 +00:00
Added vector_dims [skip ci]
This commit is contained in:
1 parent
98deaa7407
commit
9514a7ffcd
5 files changed
+24
No files matched your search
@@ -48,6 +48,8 @@ SELECT intvec_cmp('[1,2,3]', '[1,2]');
|
||||
SELECT intvec_cmp('[1,2]', '[2,3,4]');
|
||||
SELECT intvec_cmp('[2,3]', '[1,2,3]');
|
||||
|
||||
SELECT vector_dims('[1,2,3]'::intvec);
|
||||
|
||||
SELECT l2_distance('[0,0]'::intvec, '[3,4]');
|
||||
SELECT l2_distance('[0,0]'::intvec, '[0,1]');
|
||||
SELECT l2_distance('[1,2]'::intvec, '[3]');
|
||||
|
||||
Reference in new issue
Block a user