getSegmentsToApply: (Internal) Make a vector for segment-dimensioned matrix update
Description
getSegmentsToApply
is an internal function for
creating a vector for the purpose of updating various matrices that use theta segments as a dimension.
Usage
getSegmentsToApply(n_segment, segments)
Value
getSegmentsToApply
returns a vector.
Arguments
- n_segment
the total number of segments.
- segments
a vector of target segments.