DUNE-ACFEM (unstable)
SequenceGenerators
Generate integer sequences. More...
Typedefs | |
template<std::size_t N, std::ptrdiff_t Offset = 0, std::ptrdiff_t Stride = 1L, std::size_t Repeat = 1> | |
using | Dune::ACFem::MakeIndexSequence = MakeSequence< std::size_t, N, Offset, Stride, Repeat > |
Make a sequence of std::size_t elements. More... | |
template<class T > | |
using | Dune::ACFem::MakeSequenceFor = MakeIndexSequence< size< T >()> |
Make a simple index sequence of the size of the argument, which may be anything for which size<T>() evaluates to a constant non-negative integer. | |
template<std::size_t N, std::size_t Value> | |
using | Dune::ACFem::MakeConstantSequence = MakeIndexSequence< N, Value, 0 > |
Generate a constant index sequence of the given size. | |
template<std::size_t N, std::ptrdiff_t Offset = 0, std::size_t Repeat = 1> | |
using | Dune::ACFem::MakeReverseSequence = MakeIndexSequence< N,(ptrdiff_t) N-1+Offset, -1, Repeat > |
Generate a simple reverse sequence. | |
template<class T , T N, std::ptrdiff_t Offset = 0, std::ptrdiff_t Stride = 1L, std::size_t Repeat = 1> | |
using | Dune::ACFem::MakeSequence = typename BuildSequence< T, N, Offset, Stride, Repeat >::Type |
Make an index sequence with an optional offset. More... | |
Detailed Description
Generate integer sequences.
Typedef Documentation
◆ MakeIndexSequence
template<std::size_t N, std::ptrdiff_t Offset = 0, std::ptrdiff_t Stride = 1L, std::size_t Repeat = 1>
using Dune::ACFem::MakeIndexSequence = typedef MakeSequence<std::size_t, N, Offset, Stride, Repeat> |
Make a sequence of std::size_t elements.
See MakeSequence.
◆ MakeSequence
template<class T , T N, std::ptrdiff_t Offset = 0, std::ptrdiff_t Stride = 1L, std::size_t Repeat = 1>
using Dune::ACFem::MakeSequence = typedef typename BuildSequence<T, N, Offset, Stride, Repeat>::Type |
Make an index sequence with an optional offset.
- Parameters
-
T The type of the elements. N The number of "different" sequence entries. Offset An offset added to all sequence entries. Note: the offset is allowed to be negative. Stride A The stride size between different sequence entries. In particular, if Stride == 0 then a constant sequence is generated. Repeat The number of repetitions of each individual sequence values. The actual size of the generated sequence is N*Repeat.
|
Legal Statements / Impressum |
Hosted by TU Dresden |
generated with Hugo v0.111.3
(Dec 27, 23:30, 2024)