52 array(
size_t,
const T& = T() );
66 void resize(
size_t,
const T& = T());
108 copy(&a.
p[0],&a.
p[
n],&
p[0]);
124 std::fill(&
p[0],&
p[
n],e);
135 for(T *hi=h; hi <h+n_s; ++hi)
142 min_l =
n; max_l = n_s;
148 min_l = n_s; max_l =
n;
154 copy(&
p[0],&
p[min_l],&h[0]);
195 copy(&a.
p[0],&a.
p[
n],&
p[0]);
T * p
Definition: array.h:48
const Name a("a")
Specific to Brette & Gerstner 2005 (aeif_cond-*)
Definition: nest_names.h:41
void resize(size_t, const T &=T())
Definition: array.h:129
const Name h("h")
Summed input to a neuron (Ginzburg neuron)
Definition: nest_names.h:158
size_t size(void) const
Definition: array.h:68
array< T > & operator=(const array< T > &)
Definition: array.h:179
bool empty(void) const
Definition: array.h:73
size_t n
Definition: array.h:49
const Name n("n")
Number of synaptic release sites (int >=0) (Tsodyks2_connection)
Definition: nest_names.h:202
array()
Definition: array.h:51
T * end(void)
Definition: array.h:61
void fill(const T &)
Definition: array.h:121
~array()
Definition: array.h:114
const Name p("p")
current release probability (Tsodyks2_connection)
Definition: nest_names.h:218
T & operator[](size_t)
Definition: array.h:163
const double e
Definition: numerics.cpp:62
T * begin(void)
Definition: array.h:56