Fast C++ Primitives for the 'NeuroAnatomy Toolbox'
Convert physical coordinates to 1d indices into image array
Turn a segment list into an edgelist suitable for constructing an ngra...
Convert physical coordinates to pixel coordinates
A simple function to compute the lengths of the elements of an R list
Convert a matrix into list of row vectors
Compute summed segment lengths or total cable
Find 1D index given n-dimensional indices
Find the first and last elements of all vectors in a list
natcpp: Fast C++ Primitives for the 'NeuroAnatomy Toolbox'
Fast functions implemented in C++ via 'Rcpp' to support the 'NeuroAnatomy Toolbox' ('nat') ecosystem. These functions provide large speed-ups for basic manipulation of neuronal skeletons over pure R functions found in the 'nat' package. The expectation is that end users will not use this package directly, but instead the 'nat' package will automatically use routines from this package when it is available to enable large performance gains.
Useful links