RemoveRegionAtIndex
Merge neighboring adaptive regions by removing one boundary.
Developer documentation: this item describes internal implementation details.
Declaration
[newBoundaries,newSigns] = RemoveRegionAtIndex(oldBoundaries,oldSigns,index)
Parameters
oldBoundariescurrent region boundariesoldSignssigns of \(N^2-\omega^2\) in each regionindexboundary index to remove
Returns
newBoundariesmerged region boundariesnewSignsupdated regional signs
Discussion
Given a list of boundaries (length n), and the signs of the regions created by the boundaries (length n-1), this removes the boundary at some index, and returns the appropriate signs