1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2025-10-31 22:12:59 +00:00

SolN manifold

This commit is contained in:
Zeno Rogue
2019-10-03 20:10:48 +02:00
parent 4872ad01f4
commit d69cb4e946
12 changed files with 176 additions and 120 deletions

View File

@@ -1131,8 +1131,12 @@ enum iePrecision { iLazy, iTable };
/** inverse exponential function \see hr::direct_exp */
EX hyperpoint inverse_exp(const hyperpoint h, iePrecision p, bool just_direction IS(true)) {
#if CAP_SOLV
if(sol) return solv::get_inverse_exp(h, p == iLazy, just_direction);
if(nih) return nihv::get_inverse_exp(h, p == iLazy, just_direction);
if(solnih) {
if(nih)
return solnihv::get_inverse_exp_nsym(h, p == iLazy, just_direction);
else
return solnihv::get_inverse_exp_symsol(h, p == iLazy, just_direction);
}
#endif
if(nil) return nilv::get_inverse_exp(h, p == iLazy ? 5 : 20);
if(sl2) return slr::get_inverse_exp(h);