![]() |
GeNN
2.2.3
GPU enhanced Neuronal Networks (GeNN)
|
This file is part of a tool chain for running the classol/MBody1 example model. More...
#include <iostream>
#include <fstream>
#include <stdlib.h>
#include <cstdint>
#include "gauss.h"
#include "randomGen.h"
#include "randomGen.cc"
Macros | |
#define | B(x, i) ((x) & (0x80000000 >> (i))) |
Extract the bit at the specified position i from x. More... | |
#define | setB(x, i) x= ((x) | (0x80000000 >> (i))) |
Set the bit at the specified position i in x to 1. More... | |
#define | delB(x, i) x= ((x) & (~(0x80000000 >> (i)))) |
Set the bit at the specified position i in x to 0. More... | |
Functions | |
int | main (int argc, char *argv[]) |
Variables | |
randomGen | R |
randomGauss | RG |
This file is part of a tool chain for running the classol/MBody1 example model.
This file compiles to a tool to generate appropriate connectivity patterns between PNs and KCs in the model. In contrast to the gen_pnkc_syns.cc tool, here the output is in a format that is suited for the "INDIVIDUALID" method for specifying connectivity. The connectivity is saved to file and can then be read by the classol method for reading this connectivity.
#define B | ( | x, | |
i | |||
) | ((x) & (0x80000000 >> (i))) |
Extract the bit at the specified position i from x.
#define delB | ( | x, | |
i | |||
) | x= ((x) & (~(0x80000000 >> (i)))) |
Set the bit at the specified position i in x to 0.
#define setB | ( | x, | |
i | |||
) | x= ((x) | (0x80000000 >> (i))) |
Set the bit at the specified position i in x to 1.
int main | ( | int | argc, |
char * | argv[] | ||
) |
randomGauss RG |