GeNN  4.9.0
GPU enhanced Neuronal Networks (GeNN)
SpineMLSimulator::ModelProperty::NormalDistribution Class Reference

#include <modelProperty.h>

Inheritance diagram for SpineMLSimulator::ModelProperty::NormalDistribution:
SpineMLSimulator::ModelProperty::Base

Public Member Functions

 NormalDistribution (const pugi::xml_node &node, const StateVar< scalar > &stateVar, unsigned int size)
 
void setValue (scalar mean, scalar variance)
 
- Public Member Functions inherited from SpineMLSimulator::ModelProperty::Base
 Base (const StateVar< scalar > &stateVar, unsigned int size)
 
virtual ~Base ()
 
scalargetHostStateVar ()
 
const scalargetHostStateVar () const
 
void pushToDevice () const
 
void pullFromDevice () const
 
unsigned int getSize () const
 

Constructor & Destructor Documentation

◆ NormalDistribution()

SpineMLSimulator::ModelProperty::NormalDistribution::NormalDistribution ( const pugi::xml_node &  node,
const StateVar< scalar > &  stateVar,
unsigned int  size 
)

Member Function Documentation

◆ setValue()

void SpineMLSimulator::ModelProperty::NormalDistribution::setValue ( scalar  mean,
scalar  variance 
)

The documentation for this class was generated from the following files: