27 template<
typename PostIndexType>
30 : maxRowLength(maxRow), maxColLength(maxCol), synRemapSize(0)
PostIndexType * ind
Ragged row-major matrix, padded to maxRowLength containing indices of target neurons.
Definition: sparseProjection.h:41
const unsigned int maxColLength
Definition: sparseProjection.h:35
Row-major ordered sparse matrix structure in 'ragged' format.
Definition: sparseProjection.h:28
unsigned int * rowLength
Length of each row of matrix.
Definition: sparseProjection.h:38
unsigned int connN
Definition: sparseProjection.h:23
unsigned int * colLength
Length of each column of matrix.
Definition: sparseProjection.h:44
unsigned int * ind
Definition: sparseProjection.h:18
unsigned int * synRemap
Indices back into ind for each synapse.
Definition: sparseProjection.h:53
const unsigned int maxRowLength
Maximum dimensions of matrices (used for sizing of ind and remap)
Definition: sparseProjection.h:34
unsigned int * revInd
Definition: sparseProjection.h:21
unsigned int * revIndInG
Definition: sparseProjection.h:20
unsigned int * indInG
Definition: sparseProjection.h:17
RaggedProjection(unsigned int maxRow, unsigned int maxCol)
Definition: sparseProjection.h:29
unsigned int * preInd
Definition: sparseProjection.h:19
class (struct) for defining a spars connectivity projection
Definition: sparseProjection.h:16
unsigned int * remap
Ragged column-major matrix, padded to maxColLength containing indices back into ind.
Definition: sparseProjection.h:47
unsigned int synRemapSize
Size of synRemap array (i.e. actual number of synapses)
Definition: sparseProjection.h:50
unsigned int * remap
Definition: sparseProjection.h:22