This page contains documentation for the make function overloads for safely constructing HPCombi types.
Functions | |
| template<typename Container> | |
| HPCombi::Perm16 | make< HPCombi::Perm16 > (Container &&cont) |
| Construct a HPCombi::Perm16 from universal reference and check. | |
| template<typename Container> | |
| HPCombi::PPerm16 | make< HPCombi::PPerm16 > (Container &&cont) |
| Construct a HPCombi::PPerm16 from container and check. | |
| template<typename Int> | |
| HPCombi::PPerm16 | make< HPCombi::PPerm16 > (std::initializer_list< Int > const &dom, std::initializer_list< Int > const &ran, size_t M=16) |
| Construct a HPCombi::PPerm16 from domain, range, and degree, and check. | |
| HPCombi::PPerm16 | make< HPCombi::PPerm16 > (std::vector< uint8_t > const &dom, std::vector< uint8_t > const &ran, size_t deg=16) |
| Construct a HPCombi::PPerm16 from domain, range, and degree, and check. | |
| template<typename Container> | |
| HPCombi::PTransf16 | make< HPCombi::PTransf16 > (Container &&cont) |
| Construct a HPCombi::PTransf16 from universal reference and check. | |
| HPCombi::PTransf16 | make< HPCombi::PTransf16 > (std::vector< uint8_t > const &dom, std::vector< uint8_t > const &ran, size_t deg=16) |
| Construct a HPCombi::PTransf16 from domain, range, and degree, and check. | |
| template<typename Container> | |
| HPCombi::Transf16 | make< HPCombi::Transf16 > (Container &&cont) |
| Construct a HPCombi::Transf16 from universal reference and check. | |
|
nodiscard |
Constructs a HPCombi::Perm16 initialized using the container cont as follows: the image of the point i under the permutation is the value in position i of the container cont.
| Container | type of the container. |
| cont | the container. |
| LibsemigroupsException | if any of the following hold:
|
cont.
|
nodiscard |
Constructs a HPCombi::PPerm16 initialized using the container cont as follows: the image of the point i under the partial perm is the value in position i of the container cont.
| Container | type of the container. |
| cont | the container. |
| LibsemigroupsException | if any of the following hold:
|
cont.
|
nodiscard |
Constructs a partial perm of degree M such that f[dom[i]] = ran[i] for all i and which is 0xFF on every other value in the range \([0, M)\).
| Int | the type of the integers in the initializer lists. |
| dom | the domain. |
| ran | the range. |
| M | the degree. |
| LibsemigroupsException | if any of the following fail to hold:
|
dom.
|
nodiscard |
Constructs a partial perm of degree deg such that f[dom[i]] =
ran[i] for all i and which is 0xFF on every other value in the range \([0, deg)\).
| dom | the domain. |
| ran | the range. |
| deg | the degree. |
| LibsemigroupsException | if any of the following fail to hold:
|
dom.
|
nodiscard |
Constructs a HPCombi::PTransf16 initialized using the container cont as follows: the image of the point i under the transformation is the value in position i of the container cont.
| Container | type of the container. |
| cont | the container. |
| LibsemigroupsException | if any of the following hold:
|
cont.
|
nodiscard |
Constructs a partial transformation of degree deg such that f[dom[i]] = ran[i] for all i and which is 0xFF on every other value in the range \([0, M)\).
| dom | the domain. |
| ran | the range. |
| deg | the degree (defaults to 16). |
| LibsemigroupsException | if any of the following fail to hold:
|
dom.
|
nodiscard |
Constructs a HPCombi::Transf16 initialized using the container cont as follows: the image of the point i under the transformation is the value in position i of the container cont.
| Container | type of the container. |
| cont | the container. |
| LibsemigroupsException | if any of the following hold:
|
cont.