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 and Scalar.

If N is 0 (the default), then PTransf is DynamicPTransf. In this case the default value of Scalar is uint32_t. If N is not 0, then PTransf is StaticPTransf, and the default value of Scalar is the smallest integer type able to hold N. See also SmallestInteger.

Template Parameters
  • N – the degree (default: 0)

  • Scalar – an unsigned integer type (the type of the image values)