FpSemigroup(T const&)¶
-
template<typename
T>libsemigroups::FpSemigroup::FpSemigroup(T const &S)¶ Construct an FpSemigroup isomorphic to the FroidurePin instance
S.- Exceptions
This function guarantees not to throw a LibsemigroupsException.
- Complexity
Linear in
S.size().- Warning
the parameter
T const& Sis copied, this might be expensive, use a std::shared_ptr to avoid the copy!- Template Parameters
T: a class derived from FroidurePinBase.
- Parameters
S: a const reference to the semigroup isomorphic to the one being constructed.