Chalkboard - v3.0.4
    Preparing search index...

    Function isomorphism

    • Defines an isomorphism between two algebraic structures.

      Type Parameters

      • T
      • U

      Parameters

      • struc1: ChalkboardStructure<T>

        The first algebraic structure which is the domain of the morphism

      • struc2: ChalkboardStructure<U>

        The second algebraic structure which is the codomain of the morphism

      • mapping: (element: T) => U

        The bijective function that takes an element from the first structure and maps it to the second structure

      Returns ChalkboardMorphism<T, U>

      const Z4 = Chalkboard.abal.group(Chalkboard.abal.Z(4), (a, b) => (a + b) % 4, 0, (a) => (4 - a) % 4);
      const inverse = Chalkboard.abal.isomorphism(Z4, Z4, (x) => (3 * x) % 4); // Defines an isomorphism of Z₄