data structures

The basics of how to develop, test, and use models.
Post Reply
JZ
Posts: 6
Joined: Tue Jun 12, 2007 4:21 pm

data structures

Post by JZ »

Is there any way to put objects (such as synapses or point processes) into a matrix? I know that the built-in Matrix object will only hold numbers...
ted
Site Admin
Posts: 6384
Joined: Wed May 18, 2005 4:50 pm
Location: Yale University School of Medicine
Contact:

Post by ted »

Multiply dimensioned arrays of objrefs can be declared. See
http://www.neuron.yale.edu/neuron/stati ... n/obj.html
Note that such an array is not a matrix. Also, collections of objects are generally best
managed with Lists.
Post Reply