new embedding: Euclidean cylinder

This commit is contained in:
Zeno Rogue committed 2023-01-24 15:17:09 +01:00
1 parent bab78c8179
commit 8744420504
7 files changed
+75 -7

No files matched your search

+1
View File
@@ -35,6 +35,7 @@ hyperpoint get_center(const vector<hyperpoint>& vh) {
hyperpoint h = Hypc;
for(auto h1: vh) h = h + h1;
if(geom3::euc_in_product()) return h / isize(vh);
if(geom3::euc_cylinder()) h /= isize(vh);
return normalize_flat(h);
}