rogueviz::embeddings:: export more functions

This commit is contained in:
Zeno Rogue committed 2026-11-07 13:08:06 +01:00
1 parent 1387a6b9db
commit 1b213a9ab3
3 files changed
+7 -3

No files matched your search

+1 -1
View File
@@ -196,7 +196,7 @@ struct dmercator_embedding : untiled_embedding {
};
void read_dmercator(string fname, bool only_read = false) {
void read_dmercator(string fname, bool only_read) {
auto me = make_shared<dmercator_embedding> ();
int N = get_n();
-2
View File
@@ -3,8 +3,6 @@ namespace rogueviz {
namespace embeddings {
enum class fmt { hyperb, poincare, bhyper, bhyper_reduced };
string format_names[4] = { "hyperboloid trailing", "Poincare", "hyperboloid leading", "hyperboloid leading reduced" };
fmt coord_format;
+6
View File
@@ -93,6 +93,12 @@ int count_directed_edges();
void read_edgelist(const string& fn);
void read_polar(const string& fn);
enum class fmt { hyperb, poincare, bhyper, bhyper_reduced };
extern fmt coord_format;
void read_coord(const string& fn);
void read_dmercator(string fname, bool only_read = false);
void read_poincare(string fname, int dim);
struct rankinfo {
ld ranks = 0, rby = 0, map = 0, n = 0;
};