This page contains documentation related to safely constructing a Transf instance.
Functions | |
| template<typename Return, typename OtherContainer> | |
| std::enable_if_t< IsTransf< Return >, Return > | make (OtherContainer &&cont) |
| Construct a Transf from universal reference container and check. | |
| template<typename Return, typename OtherScalar> | |
| std::enable_if_t< IsTransf< Return >, Return > | make (std::initializer_list< OtherScalar > cont) |
| Construct a Transf from initializer list and check. | |
|
nodiscard |
Constructs a Transf 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.
| Return | the return type. Must satisfy IsTransf<Return>. |
| OtherContainer | universal reference for the type of the container. |
| cont | the container. |
N.| LibsemigroupsException | if any of the following hold:
|
cont.
|
nodiscard |
Constructs a Transf initialized using the initializer list cont as follows: the image of the point i under the transformation is the value in position i of the container cont.
| Return | the return type. Must satisfy IsTransf<Return>. |
| OtherContainer | universal reference for the type of the container. |
| cont | the container. |
N.| LibsemigroupsException | if any of the following hold:
|
cont.