# Decompose a reducible representation into irreducible representations of a point group
# (without --characters the characters are prompted class by class)

crystod-group --decompose --point-group 3m --characters 4 1 2

* Point group *
3m

* Reducible representation *
1E: 4
2C3: 1
3sgv: 2

* Result *
2(A1) + 1(E)


crystod-group --decompose --point-group 3m --characters 5 2 1

* Point group *
3m

* Reducible representation *
1E: 5
2C3: 2
3sgv: 1

* Result *
2(A1) + 1(A2) + 1(E)


crystod-group --decompose --point-group 3m --characters 7 1 -1

* Point group *
3m

* Reducible representation *
1E: 7
2C3: 1
3sgv: -1

* Result *
1(A1) + 2(A2) + 2(E)


crystod-group --decompose --point-group 432 --characters 5 -1 1 -1 1

* Point group *
432

* Reducible representation *
1E: 5
6C4: -1
3C2: 1
8C3: -1
6C2': 1

* Result *
1(E) + 1(T2)


crystod-group --decompose --point-group m-3m --characters 5 -1 1 -1 1 5 -1 -1 1 1

* Point group *
m-3m

* Reducible representation *
1E: 5
8C3: -1
6C2: 1
6C4: -1
3C4^2: 1
1i: 5
6S4: -1
8S6: -1
3sgh: 1
6sgd: 1

* Result *
1(Eg) + 1(T2g)


crystod-group --decompose --point-group 4 --characters 2 0 -2

* Point group *
4

* Reducible representation *
1E: 2
2C4: 0
1C2: -2

* Result *
1(E)
