2024-02-08 20:25:10 +01:00
|
|
|
def as_group_action_matrices(F, space, list_of_group_elements, basis):
|
2022-12-22 14:44:57 +01:00
|
|
|
n = len(list_of_group_elements)
|
|
|
|
d = len(space)
|
|
|
|
A = [matrix(F, d, d) for i in range(n)]
|
|
|
|
for i, g in enumerate(list_of_group_elements):
|
|
|
|
for j, omega in enumerate(space):
|
|
|
|
omega1 = omega.group_action(g)
|
|
|
|
v1 = omega1.coordinates(basis = basis)
|
|
|
|
A[i][:, j] = vector(v1)
|
2024-06-11 19:48:37 +02:00
|
|
|
return A
|