GET REGIONS

Gets information about the requested regions.

Contents

Method of the pwar object.

Description

A region of a PWAR function is characterized by its edges (defined by matrices H and K), and has an affine function defined over it (defined by matrices F and G). This method returns all these four matrices in a structure regions with fields

Syntax

regions = getRegions(object,region)

regions = getRegions(object,region,mode)

Returns an array of regions structures with as many elements as the number of elements in input region. This input contains the indices of the regions about wich you want to retrieve information. If region is not provided the information about all regions is returned. Optionally, mode can be set to 'cell' to output a single structure regions where edges.H are [1*nr] cell arrays instead of matrices.

See also

getEdges, getFunctions.

Acknowledgements

Contributors:

Copyright is with: