GeNN  4.9.0
GPU enhanced Neuronal Networks (GeNN)
CodeGenerator::Substitutions::FunctionTemplate Struct Reference

#include <substitutions.h>

Public Member Functions

FunctionTemplate operator= (const FunctionTemplate &o)
 

Public Attributes

const std::string genericName
 Generic name used to refer to function in user code. More...
 
const unsigned int numArguments
 Number of function arguments. More...
 
const std::string funcTemplate
 The function template (for use with functionSubstitute) used when model uses double precision. More...
 

Detailed Description

Immutable structure for specifying how to implement a generic function e.g. gennrand_uniform

NOTE for the sake of easy initialisation first two parameters of GenericFunction are repeated (C++17 fixes)

Member Function Documentation

◆ operator=()

FunctionTemplate CodeGenerator::Substitutions::FunctionTemplate::operator= ( const FunctionTemplate o)
inline

Member Data Documentation

◆ funcTemplate

const std::string CodeGenerator::Substitutions::FunctionTemplate::funcTemplate

The function template (for use with functionSubstitute) used when model uses double precision.

◆ genericName

const std::string CodeGenerator::Substitutions::FunctionTemplate::genericName

Generic name used to refer to function in user code.

◆ numArguments

const unsigned int CodeGenerator::Substitutions::FunctionTemplate::numArguments

Number of function arguments.


The documentation for this struct was generated from the following file: