tfel
Loading...
Searching...
No Matches
tfel::math::TinyPermutation< N > Struct Template Reference
Inheritance diagram for tfel::math::TinyPermutation< N >:
tfel::math::tvector< N, unsigned short > tfel::math::VectorConceptBase< tvector< N, unsigned short > > tfel::math::GenericFixedSizeArray< tvector< N, unsigned short >, FixedSizeVectorPolicy< N, unsigned short > >

Public Member Functions

TFEL_HOST_DEVICE constexpr TinyPermutation ()
 default constructor
 TinyPermutation (const TinyPermutation &)=delete
 TinyPermutation (TinyPermutation &&)=delete
TinyPermutation & operator= (const TinyPermutation &)=delete
TinyPermutation & operator= (TinyPermutation &&)=delete
template<typename T>
TFEL_HOST_DEVICE constexpr void exe (tvector< N, T > &) const
 apply the permutation to the given vector
TFEL_HOST_DEVICE constexpr void swap (const unsigned short, const unsigned short)
TFEL_HOST_DEVICE constexpr bool isIdentity () const
template<typename T>
constexpr void exe (tvector< N, T > &v) const

Protected Attributes

bool is_identity = true
Protected Attributes inherited from tfel::math::GenericFixedSizeArray< tvector< N, unsigned short >, FixedSizeVectorPolicy< N, unsigned short > >
FixedSizeVectorPolicy< N, unsigned short >::value_type v [getArrayPolicySize< FixedSizeVectorPolicy< N, unsigned short > >()]
 values holded

Additional Inherited Members

Protected Types inherited from tfel::math::tvector< N, unsigned short >
using GenericFixedSizeArrayBase
 a simple alias
Protected Types inherited from tfel::math::VectorConceptBase< tvector< N, unsigned short > >
using ConceptTag
Protected Types inherited from tfel::math::GenericFixedSizeArray< tvector< N, unsigned short >, FixedSizeVectorPolicy< N, unsigned short > >
using value_type
Protected Member Functions inherited from tfel::math::tvector< N, unsigned short >
TFEL_HOST_DEVICE constexpr void copy (const InputIterator src) noexcept
 TFEL_MATH_FIXED_SIZE_ARRAY_DEFAULT_METHODS (tvector, GenericFixedSizeArrayBase)
TFEL_HOST_DEVICE tvector (const fsarray< N, unsigned short > &) noexcept
 implicit conversion from an fsarray provided for backward compatibility.
TFEL_HOST_DEVICE constexpr auto slice () noexcept
 create a slice
Protected Member Functions inherited from tfel::math::GenericFixedSizeArray< tvector< N, unsigned short >, FixedSizeVectorPolicy< N, unsigned short > >
TFEL_HOST_DEVICE constexpr GenericFixedSizeArray (const std::initializer_list< ValueType > &values) noexcept
TFEL_HOST_DEVICE constexpr GenericFixedSizeArray< tvector< N, unsigned short >, FixedSizeVectorPolicy< N, unsigned short >, getArrayPolicySize< FixedSizeVectorPolicy< N, unsigned short > >() >::size_type getContainerSize () const noexcept
TFEL_HOST_DEVICE constexpr tvector< N, unsigned short > & operator= (const OtherArray &) noexcept
 assign values values from an other array
TFEL_HOST_DEVICE constexpr tvector< N, unsigned short > & operator+= (const OtherArray &) noexcept
TFEL_HOST_DEVICE constexpr tvector< N, unsigned short > & operator-= (const OtherArray &) noexcept
TFEL_HOST_DEVICE constexpr tvector< N, unsigned short > & operator*= (const ValueType2 &) noexcept
TFEL_HOST_DEVICE constexpr tvector< N, unsigned short > & operator/= (const ValueType2 &) noexcept
TFEL_HOST_DEVICE constexpr GenericFixedSizeArray< tvector< N, unsigned short >, FixedSizeVectorPolicy< N, unsigned short >, getArrayPolicySize< FixedSizeVectorPolicy< N, unsigned short > >() >::pointer data () noexcept
Static Protected Member Functions inherited from tfel::math::GenericFixedSizeArray< tvector< N, unsigned short >, FixedSizeVectorPolicy< N, unsigned short > >
static TFEL_HOST_DEVICE constexpr tvector< N, unsigned short > zero ()

The documentation for this struct was generated from the following files: