const Name d("d")
Specific to Izhikevich 2003.
Definition: nest_names.h:83
std::list< double_t > & get_list(const long_t offs)
Definition: ring_buffer.h:308
std::valarray< double_t > buffer_
Buffered data.
Definition: ring_buffer.h:124
void resize()
Resize the buffer according to max_thread and max_delay.
Definition: ring_buffer.cpp:29
double get_value(const long_t offs)
Read one value from ring buffer.
Definition: ring_buffer.h:149
static delay get_min_delay()
Return minimal connection delay.
Definition: scheduler.h:805
void resize()
Resize the buffer according to max_thread and max_delay.
Definition: ring_buffer.cpp:52
void clear()
Initialize the buffer with noughts.
Definition: ring_buffer.cpp:39
MultRBuffer()
Definition: ring_buffer.cpp:48
std::valarray< double_t > buffer_
Buffered data.
Definition: ring_buffer.h:211
void set_value(const long_t offs, const double_t)
Set a ring buffer entry to a given value.
Definition: ring_buffer.h:143
size_t size() const
Returns buffer size, for memory measurement.
Definition: ring_buffer.h:206
void resize()
Resize the buffer according to max_thread and max_delay.
Definition: ring_buffer.cpp:75
Definition: ring_buffer.h:254
size_t get_index_(const delay d) const
Obtain buffer index.
Definition: ring_buffer.h:163
void clear()
Initialize the buffer with empty lists.
Definition: ring_buffer.cpp:84
size_t get_index_(const delay d) const
Obtain buffer index.
Definition: ring_buffer.h:245
ListRingBuffer()
Definition: ring_buffer.cpp:71
double get_value(const long_t offs)
Read one value from ring buffer.
Definition: ring_buffer.h:231
void add_value(const long_t offs, const double_t)
Add a value to the ring buffer.
Definition: ring_buffer.h:137
void clear()
Initialize the buffer with noughts.
Definition: ring_buffer.cpp:62
std::vector< std::list< double_t > > buffer_
Buffered data.
Definition: ring_buffer.h:289
double double_t
Double precision floating point numbers.
Definition: nest.h:93
size_t size() const
Returns buffer size, for memory measurement.
Definition: ring_buffer.h:119
size_t size() const
Returns buffer size, for memory measurement.
Definition: ring_buffer.h:284
long_t delay
Delay of a connection.
Definition: nest.h:178
void add_value(const long_t offs, const double_t)
Add a value to the ring buffer.
Definition: ring_buffer.h:224
Default types used by the NEST kernel.
void append_value(const long_t offs, const double_t)
Append a value to the ring buffer list.
Definition: ring_buffer.h:302
static delay get_modulo(delay d)
Return (T+d) mod max_delay.
Definition: scheduler.h:785
RingBuffer()
Definition: ring_buffer.cpp:25
size_t get_index_(const delay d) const
Obtain buffer index.
Definition: ring_buffer.h:320
long long_t
Integer number with at least 32 bit.
Definition: nest.h:96
Definition: ring_buffer.h:174
Buffer Layout.
Definition: ring_buffer.h:77