2024-06-13 18:24:20 +02:00
|
|
|
def ith_magical_component(omega, zvee, g, super=True):
|
2024-06-10 19:55:49 +02:00
|
|
|
'''Given a form omega on AS cover, element g of group AS.group and normal basis element zmag, find the decomposition
|
|
|
|
sum_g g(zmag) omega_g and return omega_g.'''
|
|
|
|
z_vee_g = zvee.group_action(g)
|
|
|
|
new_form = z_vee_g*omega
|
2024-06-13 18:24:20 +02:00
|
|
|
return new_form.trace(super=super)
|