GeNN  3.3.0
GPU enhanced Neuronal Networks (GeNN)
FunctionTemplate Struct Reference

#include <codeGenUtils.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 doublePrecisionTemplate
 The function template (for use with functionSubstitute) used when model uses double precision. More...
 
const std::string singlePrecisionTemplate
 The function template (for use with functionSubstitute) used when model uses single 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 FunctionTemplate::operator= ( const FunctionTemplate o)
inline

Member Data Documentation

◆ doublePrecisionTemplate

const std::string FunctionTemplate::doublePrecisionTemplate

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

◆ genericName

const std::string FunctionTemplate::genericName

Generic name used to refer to function in user code.

◆ numArguments

const unsigned int FunctionTemplate::numArguments

Number of function arguments.

◆ singlePrecisionTemplate

const std::string FunctionTemplate::singlePrecisionTemplate

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


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