rogueviz:: embedding:: embedding name and information

This commit is contained in:
Zeno Rogue
2025-12-05 09:41:52 +01:00
parent 8c4f25bf36
commit e6436118f2
4 changed files with 17 additions and 1 deletions
+4
View File
@@ -12,6 +12,10 @@ namespace embeddings {
struct polar_embedding : public untiled_embedding {
vector<polar_point> coords;
virtual string name() override { return "polar in BFKL format"; }
virtual int get_dimension() override { return 2; }
hyperpoint as_hyperpoint(int id) override {
return spin(coords[id].theta) * xpush0(coords[id].r);
}