Auryn simulator  v0.8.1-206-gb56e451
Plastic Spiking Neural Network Simulator
Namespaces | Functions | Variables
auryn_definitions.cpp File Reference
#include "auryn_definitions.h"
#include "AurynVector.h"
Include dependency graph for auryn_definitions.cpp:

Namespaces

 auryn
 

Functions

int auryn::auryn_AlignOffset (const int N, const void *vp, const int inc, const int align)
 Determines memory alignment (adapted from ATLAS library) More...
 
NeuronID auryn::calculate_vector_size (NeuronID i)
 Rounds vector size to multiple of four to allow using the SSE optimizations. More...
 
void auryn::auryn_vector_float_mul (auryn_vector_float *a, auryn_vector_float *b)
 
void auryn::auryn_vector_float_add_constant (auryn_vector_float *a, float b)
 Computes a := a + b. More...
 
void auryn::auryn_vector_float_scale (const float a, auryn_vector_float *b)
 
void auryn::auryn_vector_float_saxpy (const float a, auryn_vector_float *x, auryn_vector_float *y)
 
void auryn::auryn_vector_float_add (auryn_vector_float *a, auryn_vector_float *b)
 Internal version of to add GSL vectors. More...
 
void auryn::auryn_vector_float_sub (auryn_vector_float *a, auryn_vector_float *b)
 Computes a := a-b. More...
 
void auryn::auryn_vector_float_sub (auryn_vector_float *a, auryn_vector_float *b, auryn_vector_float *r)
 Computes r := a-b. More...
 
void auryn::auryn_vector_float_clip (auryn_vector_float *v, const float a, const float b)
 
void auryn::auryn_vector_float_clip (auryn_vector_float *v, const float a)
 
auryn_vector_float * auryn::auryn_vector_float_alloc (const NeuronID n)
 
void auryn::auryn_vector_float_free (auryn_vector_float *v)
 
void auryn::auryn_vector_float_set_all (auryn_vector_float *v, AurynFloat x)
 
void auryn::auryn_vector_float_set_zero (auryn_vector_float *v)
 
AurynFloat auryn::auryn_vector_float_get (auryn_vector_float *v, const NeuronID i)
 
AurynFloat * auryn::auryn_vector_float_ptr (auryn_vector_float *v, const NeuronID i)
 
void auryn::auryn_vector_float_set (auryn_vector_float *v, const NeuronID i, AurynFloat x)
 
void auryn::auryn_vector_float_copy (auryn_vector_float *src, auryn_vector_float *dst)
 Copies vector src to dst assuming they have the same size. More...
 
auryn_vector_ushort * auryn::auryn_vector_ushort_alloc (const NeuronID n)
 
void auryn::auryn_vector_ushort_free (auryn_vector_ushort *v)
 
void auryn::auryn_vector_ushort_set_all (auryn_vector_ushort *v, unsigned short x)
 
void auryn::auryn_vector_ushort_set_zero (auryn_vector_ushort *v)
 
unsigned short auryn::auryn_vector_ushort_get (auryn_vector_ushort *v, const NeuronID i)
 
unsigned short * auryn::auryn_vector_ushort_ptr (auryn_vector_ushort *v, const NeuronID i)
 
void auryn::auryn_vector_ushort_set (auryn_vector_ushort *v, const NeuronID i, unsigned short x)
 
void auryn::auryn_vector_ushort_copy (auryn_vector_ushort *src, auryn_vector_ushort *dst)
 

Variables

double auryn::auryn_timestep = 1e-4
 Simulation timestep in seconds. More...