Chalkboard - v3.0.4
    Preparing search index...

    Function isBijective

    • Checks if a morphism is bijective (i.e. both injective and surjective).

      Type Parameters

      • T
      • U

      Parameters

      Returns boolean

      const Z4 = Chalkboard.abal.group(Chalkboard.abal.Z(4), (a, b) => (a + b) % 4, 0, (a) => (4 - a) % 4);
      const identity = Chalkboard.abal.idmorphism(Z4);
      const valid = Chalkboard.abal.isBijective(identity); // Returns true