Menu

Skip to content
  • About NEST
  • Download
  • Features
  • Documentation
    • Installing NEST
    • Introduction to PyNEST
      • Part 1: Neurons and simple neural networks
      • Part 2: Populations of neurons
      • Part 3: Connecting networks with synapses
      • Part 4: Topologically structured networks
    • Example Networks
    • FAQ
    • Developer Manual
    • NEST/SLI Quick Reference
    • NEST Command Index
  • Publications
  • Community

size

Command: size

Command Index NEST Quick Reference

Synopsis
array size -> n array
string size -> n string
Description
Returns the number of elements (similar to length) of
an object and additionally the object itself.
File
sli/slidata.cc
Author
docu by Sirko Straube
Examples
[1 2] size -> 2 [1 2]
(hello) size -> 5 (hello)

SeeAlso

  • reserve
  • shrink
  • allocations
  • length
  • capacity
Command Index NEST Quick Reference
© 2016 by The NEST Initiative · Powered by WordPress
  • Contributors
  • Impressum / Contact
Top
Menu
  • About NEST
  • Download
  • Features
  • Documentation
    • Installing NEST
    • Introduction to PyNEST
    • Example Networks
    • FAQ
    • Developer Manual
    • NEST/SLI Quick Reference
    • NEST Command Index
  • Publications
  • Community