Skip to content

Commit

Permalink
Sets generic AurynTypes
Browse files Browse the repository at this point in the history
  • Loading branch information
Friedemann Zenke committed Jul 29, 2014
1 parent 0191dc6 commit 5094c18
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/auryn_definitions.h
Original file line number Diff line number Diff line change
Expand Up @@ -121,12 +121,13 @@ typedef unsigned long AurynLong; //!< An unsigned long type used to count synaps
typedef NeuronID AurynTime; //!< Defines Auryns discrete time unit of the System clock. Change to AurynLong if 120h of simtime are not sufficient
typedef float AurynFloat; //!< Low precision floating point datatype.
typedef double AurynDouble; //!< Higher precision floating point datatype.
typedef float AurynWeight; //!< Unit of synaptic weights.
typedef float AurynState; //!< Type for Auryn state variables (default single precision since it needs to be compatible with auryn_vector_float).
typedef AurynFloat AurynWeight; //!< Unit of synaptic weights.
typedef AurynFloat AurynState; //!< Type for Auryn state variables (default single precision since it needs to be compatible with auryn_vector_float).
typedef vector<NeuronID> SpikeContainer; //!< Spike container type. Used for storing spikes.
typedef vector<float> AttributeContainer; //!< Attribute container type. Used for storing spike attributes that are needed for efficient STP implementations.


// Auryn vector template -- copies the core of GSL vector functionality
template <typename T>
struct auryn_vector {
NeuronID size;
Expand Down

0 comments on commit 5094c18

Please sign in to comment.