GeNN  3.3.0
GPU enhanced Neuronal Networks (GeNN)
RaggedProjection< PostIndexType > Struct Template Reference

Row-major ordered sparse matrix structure in 'ragged' format. More...

#include <sparseProjection.h>

Public Member Functions

 RaggedProjection (unsigned int maxRow, unsigned int maxCol)
 

Public Attributes

const unsigned int maxRowLength
 Maximum dimensions of matrices (used for sizing of ind and remap) More...
 
const unsigned int maxColLength
 
unsigned int * rowLength
 Length of each row of matrix. More...
 
PostIndexType * ind
 Ragged row-major matrix, padded to maxRowLength containing indices of target neurons. More...
 
unsigned int * colLength
 Length of each column of matrix. More...
 
unsigned int * remap
 Ragged column-major matrix, padded to maxColLength containing indices back into ind. More...
 
unsigned int synRemapSize
 Size of synRemap array (i.e. actual number of synapses) More...
 
unsigned int * synRemap
 Indices back into ind for each synapse. More...
 

Detailed Description

template<typename PostIndexType>
struct RaggedProjection< PostIndexType >

Row-major ordered sparse matrix structure in 'ragged' format.

Constructor & Destructor Documentation

◆ RaggedProjection()

template<typename PostIndexType>
RaggedProjection< PostIndexType >::RaggedProjection ( unsigned int  maxRow,
unsigned int  maxCol 
)
inline

Member Data Documentation

◆ colLength

template<typename PostIndexType>
unsigned int* RaggedProjection< PostIndexType >::colLength

Length of each column of matrix.

◆ ind

template<typename PostIndexType>
PostIndexType* RaggedProjection< PostIndexType >::ind

Ragged row-major matrix, padded to maxRowLength containing indices of target neurons.

◆ maxColLength

template<typename PostIndexType>
const unsigned int RaggedProjection< PostIndexType >::maxColLength

◆ maxRowLength

template<typename PostIndexType>
const unsigned int RaggedProjection< PostIndexType >::maxRowLength

Maximum dimensions of matrices (used for sizing of ind and remap)

◆ remap

template<typename PostIndexType>
unsigned int* RaggedProjection< PostIndexType >::remap

Ragged column-major matrix, padded to maxColLength containing indices back into ind.

◆ rowLength

template<typename PostIndexType>
unsigned int* RaggedProjection< PostIndexType >::rowLength

Length of each row of matrix.

◆ synRemap

template<typename PostIndexType>
unsigned int* RaggedProjection< PostIndexType >::synRemap

Indices back into ind for each synapse.

◆ synRemapSize

template<typename PostIndexType>
unsigned int RaggedProjection< PostIndexType >::synRemapSize

Size of synRemap array (i.e. actual number of synapses)


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