Calculates the center of a group.
The group
const Z4 = Chalkboard.abal.group(Chalkboard.abal.Z(4), (a, b) => (a + b) % 4, 0, (a) => (4 - a) % 4);const center = Chalkboard.abal.center(Z4); // Returns all of Z₄ because it is abelian Copy
const Z4 = Chalkboard.abal.group(Chalkboard.abal.Z(4), (a, b) => (a + b) % 4, 0, (a) => (4 - a) % 4);const center = Chalkboard.abal.center(Z4); // Returns all of Z₄ because it is abelian
Calculates the center of a group.