142 if ( n < 2 || k == 0 )
158 void dump(std::ostream &)
const;
Token * end() const
Definition: tarrayobj.h:70
Index size(void) const
Definition: tokenstack.h:155
void pop_move(Token &e)
Definition: tokenstack.h:90
void swap(void)
Definition: tokenstack.h:125
size_t capacity(void) const
Definition: tarrayobj.h:80
void swap(Token &e)
Definition: tokenstack.h:130
Token & top(void)
Definition: tokenstack.h:102
void push_back_by_pointer(Datum *rhs)
Push back a datum pointer.
Definition: tarrayobj.h:174
void move(Token &c)
Definition: token.h:142
TokenArray toArray(void) const
Definition: tokenstack.h:160
bool reserve(size_t)
Definition: tarrayobj.cc:197
void push_back_by_ref(const Token &t)
Push back a reference.
Definition: tarrayobj.h:161
void erase(size_t, size_t)
Definition: tarrayobj.cc:261
Definition: tokenstack.h:38
Definition: tarrayobj.h:37
const Token & pick(size_t i) const
Definition: tokenstack.h:111
void pop(void)
Definition: tokenstack.h:85
Definition: tokenarray.h:62
unsigned long Index
Definition: token.h:372
void push_by_pointer(Datum *rhs)
Push a valid datum to the stack.
Definition: tokenstack.h:80
void push_back_move(Token &t)
Definition: tarrayobj.h:147
void dump(std::ostream &) const
Definition: tokenstack.cc:30
void clear(void)
Definition: tokenstack.h:49
size_t size(void) const
Definition: tarrayobj.h:75
void roll(size_t n, long k)
Definition: tokenstack.h:140
void rotate(Token *, Token *, Token *)
Definition: tarrayobj.cc:208
Token * begin() const
Definition: tarrayobj.h:65
TokenStack(const TokenArray &ta)
Definition: tokenstack.h:43
TokenStack(Index n)
Definition: tokenstack.h:41
const Name n("n")
Number of synaptic release sites (int >=0) (Tsodyks2_connection)
Definition: nest_names.h:202
void reserve_token(size_t n)
Definition: tarrayobj.h:134
Index load(void) const
Definition: tokenstack.h:156
Token & pick(size_t i)
Definition: tokenstack.h:116
const Token & top(void) const
Definition: tokenstack.h:106
A type-independent container for C++-types.
Definition: token.h:68
void pop(size_t n)
Definition: tokenstack.h:96
void push(const Token &e)
Definition: tokenstack.h:55
void push_move(Token &e)
Definition: tokenstack.h:60
bool empty(void) const
Definition: tarrayobj.h:227
void pop_back(void)
Definition: tarrayobj.h:187
const double e
Definition: numerics.cpp:62
void index(Index i)
Definition: tokenstack.h:135
void push_back(const Token &t)
Definition: tarrayobj.h:140
void push_by_ref(const Token &e)
Push a Token with a valid datum to the stack.
Definition: tokenstack.h:70