sPyNNaker neural_modelling 7.2.2
|
utility method for decaying a value by a given amount More...
Go to the source code of this file.
Macros | |
#define | decay(x, d) |
This is a type-generic decay "function". | |
Typedefs | |
typedef UFRACT | decay_t |
Functions | |
static s1615 | decay_s1615 (s1615 x, decay_t decay) |
this method takes a s1615 and decays it by a given amount (denoted by the decay) (to compensate for the valve behaviour of a synapse in biology (spike goes in, synapse opens, then closes slowly)). | |
static u1616 | decay_u1616 (u1616 x, decay_t decay) |
this method takes a s1616 and decays it by a given amount (denoted by the decay) (to compensate for the valve behaviour of a synapse in biology (spike goes in, synapse opens, then closes slowly)). | |
static s015 | decay_s015 (s015 x, decay_t decay) |
this method takes a s015 and decays it by a given amount (denoted by the decay) (to compensate for the valve behaviour of a synapse in biology (spike goes in, synapse opens, then closes slowly)). | |
static u016 | decay_u016 (u016 x, decay_t decay) |
this method takes a s016 and decays it by a given amount (denoted by the decay) (to compensate for the valve behaviour of a synapse in biology (spike goes in, synapse opens, then closes slowly)). | |
static u032 | decay_s1615_to_u032 (s1615 x, decay_t decay) |
utility method for decaying a value by a given amount
The API includes:
Definition in file decay.h.
#define decay | ( | x, | |
d | |||
) |
This is a type-generic decay "function".
[in] | x | the value to decayed |
[in] | d | the amount to decay the value by |
this method takes a s1615 and decays it by a given amount (denoted by the decay) (to compensate for the valve behaviour of a synapse in biology (spike goes in, synapse opens, then closes slowly)).
[in] | x | the s1615 value to decayed |
[in] | decay | the amount to decay the value by |
this method takes a s1616 and decays it by a given amount (denoted by the decay) (to compensate for the valve behaviour of a synapse in biology (spike goes in, synapse opens, then closes slowly)).
[in] | x | the s1616 value to decayed |
[in] | decay | the amount to decay the value by |
this method takes a s015 and decays it by a given amount (denoted by the decay) (to compensate for the valve behaviour of a synapse in biology (spike goes in, synapse opens, then closes slowly)).
[in] | x | the s015 value to decayed |
[in] | decay | the amount to decay the value by |
this method takes a s016 and decays it by a given amount (denoted by the decay) (to compensate for the valve behaviour of a synapse in biology (spike goes in, synapse opens, then closes slowly)).
[in] | x | the s016 value to decayed |
[in] | decay | the amount to decay the value by |