PTransf¶
-
template<size_t N = 0, typename Scalar = std::conditional_t<N == 0, uint32_t, typename SmallestInteger<N>::type>>
using libsemigroups::PTransf = std::conditional_t<N == 0, DynamicPTransf<Scalar>, StaticPTransf<N, Scalar>>¶ Defined in
transf.hpp
.This alias equals either DynamicPTransf or StaticPTransf depending on the template parameters
N
andScalar
.If
N
is0
(the default), thenPTransf
is DynamicPTransf. In this case the default value ofScalar
isuint32_t
. IfN
is not0
, thenPTransf
is StaticPTransf, and the default value ofScalar
is the smallest integer type able to holdN
. See also SmallestInteger.- Template Parameters
N – the degree (default:
0
)Scalar – an unsigned integer type (the type of the image values)