getSegmentsToApply function

(Internal) Make a vector for segment-dimensioned matrix update

(Internal) Make a vector for segment-dimensioned matrix update

getSegmentsToApply is an internal function for creating a vector for the purpose of updating various matrices that use theta segments as a dimension.

getSegmentsToApply(n_segment, segments)

Arguments

  • n_segment: the total number of segments.
  • segments: a vector of target segments.

Returns

getSegmentsToApply returns a vector.

  • Maintainer: Seung W. Choi
  • License: GPL (>= 2)
  • Last published: 2024-08-22