Defines the inverse morphism for an isomorphism (which is the only type of morphism that is invertible).
The isomorphism
const Z4 = Chalkboard.abal.group(Chalkboard.abal.Z(4), (a, b) => (a + b) % 4, 0, (a) => (4 - a) % 4);const inverse = Chalkboard.abal.automorphism(Z4, (x) => (3 * x) % 4);const original = Chalkboard.abal.invmorphism(inverse); // Returns the inverse morphism Copy
const Z4 = Chalkboard.abal.group(Chalkboard.abal.Z(4), (a, b) => (a + b) % 4, 0, (a) => (4 - a) % 4);const inverse = Chalkboard.abal.automorphism(Z4, (x) => (3 * x) % 4);const original = Chalkboard.abal.invmorphism(inverse); // Returns the inverse morphism
Defines the inverse morphism for an isomorphism (which is the only type of morphism that is invertible).