def gluing_phc_standalone(manifold): thingy = manifold_reps.PHCGluingSolutionsOfClosed(manifold) R = PolynomialRing(QQ, thingy.variables) I = R.ideal([R(eqn) for eqn in thingy.equations]) return phc_wrapper.find_solutions(I)
def test_phc(manifold): G = manifold.fundamental_group(True, True, False) I = character_variety(G) return phc_wrapper.find_solutions(I)
def ptolemy_phc(manifold): I = extended.ptolemy_ideal_for_filled(manifold) return phc_wrapper.find_solutions(I)