Command: nest::Take_g_a

NEST HelpDesk Command Index NEST Quick Reference
Name:
nest::Take_g_a - lice a NodeCollectio
Synopsis:
nc array Take_g_a -> NodeCollection
Description:
Slice a `NodeCollection` using pythonic slicing conventions:
• Include elements from and including `start` to but excluding `stop`.
• `step` is the step length in the slice and must be positive.
• Negative values for `start` and `stop` count from the end of the `NodeCollection`, i.e., -1 is the last element.
Parameters:
nc - NodeCollection to be sliced
array - array of the form [start stop step]
Source:
/builddir/build/BUILD/nest-simulator-3.3/nest-simulator-3.3/nestkernel/nestmodule.cpp
NEST HelpDesk Command Index NEST Quick Reference

© 2004 The NEST Initiative