GeNN  3.3.0
GPU enhanced Neuronal Networks (GeNN)
initVarSnippet.h File Reference
#include "snippet.h"

Go to the source code of this file.

Classes

class  InitVarSnippet::Base
 
class  InitVarSnippet::Uninitialised
 Used to mark variables as uninitialised - no initialisation code will be run. More...
 
class  InitVarSnippet::Constant
 Initialises variable to a constant value. More...
 
class  InitVarSnippet::Uniform
 Initialises variable by sampling from the uniform distribution. More...
 
class  InitVarSnippet::Normal
 Initialises variable by sampling from the normal distribution. More...
 
class  InitVarSnippet::Exponential
 Initialises variable by sampling from the exponential distribution. More...
 
class  InitVarSnippet::Gamma
 Initialises variable by sampling from the exponential distribution. More...
 

Namespaces

 InitVarSnippet
 Base class for all value initialisation snippets.
 

Macros

#define SET_CODE(CODE)   virtual std::string getCode() const override{ return CODE; }
 

Macro Definition Documentation

◆ SET_CODE

#define SET_CODE (   CODE)    virtual std::string getCode() const override{ return CODE; }