sequence.hh File Reference
#include <vector>
#include <algorithm>
#include <set>
#include <queue>
#include <stdarg.h>
#include <initializer_list>
#include "basics/typedefs.hh"
#include "basics/outputOperator.hh"
#include "basics/exceptions.hh"
#include "basics/pointerOutput.hh"
Go to the source code of this file.
Classes | |
class | concepts::BaseSequence< F > |
Sequence with operations and output operator. More... | |
class | concepts::BaseSequence< F > |
Sequence with operations and output operator. More... | |
class | concepts::Sequence< F > |
Sequence with operations, output operator, and method of the particular element types. More... | |
class | concepts::Sequence< bool > |
Namespaces | |
concepts | |
Basic namespace for Concepts-2. | |
Macros | |
#define | SeqInput_D 0 |
Functions | |
template<class F > | |
Sequence< F > | concepts::makeEquidistantSequence (uint n, const F &first, const F &diff) |
Sequence< int > | concepts::makeRangeSequence (int start, int afterlast) |
Returns the sequence start , start+1 ,...,afterlast-1 . More... | |
Sequence< int > | concepts::makeRangeSequence (int start, int afterlast, uint dist) |
Returns the sequence start , start+dist ,... More... | |
Sequence< int > | concepts::makeRangeSequence (uint n) |
Returns the sequence 0,1,...,n-1 . More... | |
template<class F > | |
Sequence< F > | concepts::makeSequence (std::initializer_list< F > list) |
Creates an sequence of length from a comma separated list of values. More... | |
template<class F > | |
Sequence< F > | concepts::makeSequence (uint n, const F &first,...) |
Creates an sequence of length from a comma separated list of values. More... | |
template<class F , class G > | |
Sequence< typename Combtype< F, G >::type > | concepts::operator* (const Sequence< F > seq1, const G factor) |
template<class F , class G > | |
Sequence< typename Combtype< F, G >::type > | concepts::operator* (const Sequence< F > seq1, const Sequence< G > seq2) |
template<class F , class G > | |
Sequence< typename Combtype< F, G >::type > | concepts::operator/ (const Sequence< F > seq1, const G divisor) |
template<class F , class G > | |
Sequence< typename Combtype< F, G >::type > | concepts::operator/ (const Sequence< F > seq1, const Sequence< G > seq2) |
template<class F > | |
std::istream & | concepts::operator>> (std::istream &is, BaseSequence< F > &seq) |
Detailed Description
Sequence of elements, like array, based on std::vector with operations, output operator, and method of the particular element types.
Definition in file sequence.hh.
Macro Definition Documentation
◆ SeqInput_D
#define SeqInput_D 0 |
Definition at line 23 of file sequence.hh.