Class documentation of Concepts

Loading...
Searching...
No Matches
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::Sequence< F >
 
class  concepts::BaseSequence< F >
 
class  concepts::Sequence< bool >
 

Namespaces

namespace  concepts
 

Macros

#define SeqInput_D   0
 

Functions

template<class F >
std::istream & concepts::operator>> (std::istream &is, BaseSequence< F > &seq)
 
template<class F >
Sequence< F > concepts::makeSequence (uint n, const F &first,...)
 
template<class F >
Sequence< F > concepts::makeSequence (std::initializer_list< F > list)
 
template<class F >
Sequence< F > concepts::makeEquidistantSequence (uint n, const F &first, const F &diff)
 
Sequence< intconcepts::makeRangeSequence (uint n)
 Returns the sequence 0,1,...,n-1.
 
Sequence< intconcepts::makeRangeSequence (int start, int afterlast)
 Returns the sequence start, start+1,...,afterlast-1.
 
Sequence< intconcepts::makeRangeSequence (int start, int afterlast, uint dist)
 
Sequence< intconcepts::makeSignAlternatingSequence (uint n)
 Returns the sequence +1,-1, +1,...
 
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 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)
 

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 22 of file sequence.hh.