mirror of
https://github.com/pgvector/pgvector.git
synced 2026-06-06 14:01:31 +08:00
Renamed functions to l2_norm [skip ci]
This commit is contained in:
@@ -29,9 +29,9 @@ SELECT halfvec_cmp('[2,3]', '[1,2,3]');
|
||||
|
||||
SELECT halfvec_dims('[1,2,3]'::halfvec);
|
||||
|
||||
SELECT round(halfvec_norm('[1,1]')::numeric, 5);
|
||||
SELECT halfvec_norm('[3,4]');
|
||||
SELECT halfvec_norm('[0,1]');
|
||||
SELECT round(l2_norm('[1,1]'::halfvec)::numeric, 5);
|
||||
SELECT l2_norm('[3,4]'::halfvec);
|
||||
SELECT l2_norm('[0,1]'::halfvec);
|
||||
|
||||
SELECT l2_distance('[0,0]'::halfvec, '[3,4]');
|
||||
SELECT l2_distance('[0,0]'::halfvec, '[0,1]');
|
||||
|
||||
Reference in New Issue
Block a user