Chalkboard - v3.0.4
    Preparing search index...

    Function invmorphism

    • Defines the inverse morphism for an isomorphism (which is the only type of morphism that is invertible).

      Type Parameters

      • T
      • U

      Parameters

      Returns ChalkboardMorphism<U, T>

      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