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

#include <modelProperty.h>

Inheritance diagram for SpineMLSimulator::ModelProperty::UniformDistribution:
SpineMLSimulator::ModelProperty::Base

Public Member Functions

 UniformDistribution (const pugi::xml_node &node, const StateVar< scalar > &stateVar, unsigned int size)
 
void setValue (scalar min, scalar max)
 
- 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

◆ UniformDistribution()

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

Member Function Documentation

◆ setValue()

void SpineMLSimulator::ModelProperty::UniformDistribution::setValue ( scalar  min,
scalar  max 
)

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