Representation
A (1D) irreducible representation of a finite group. Upon creation, the group homomorphism properties are verified.
Sources
representation.hpp
representation.cpp
representation.jl
Constructors
Trivial representation
Creates the trivial representation (all characters equal to 1) of a PermutationGroup
With characters
Creates a 1D representation of a PermutationGroup with given real or complex characters.
template <typename T>
Representation(PermutationGroup const &group, std::vector<T> const &characters);
template <typename T>
Representation(PermutationGroup const &group, arma::Col<T> const &characters);
template <typename T>
Representation(PermutationGroup const &group, T *characters, int64_t n_characters);
Name | Description |
---|---|
group | PermutationGroup of the Representation |
characters | characters of the representation |
n_characters | length of the array of characters |
The template parameter T
in C++ can either be double
or complex
.
Methods
size
Returns the size of the Representation, i.e. the number of group elements represented.
isreal
Returns the whether or not the Representation is real, I.E. the characters are real numbers and do not have an imaginary part.
* operator
Multiplies two Representations by overloading the *
operator.
to_string (operator<<)
Converts the Representation to a readable string representation.