GET FUNCTIONS
Gets the coefficients of the affine function defined over a region.
Contents
Method of the pwar object.
Description
This method returns the coefficients of the affine function defined over a given region. The coefficients are returned as two matrices F and G such as the affine function to be evaluated on a the given region is . If no region is provided the coefficients of all the functions are returned as "big" matrices F and G.
Syntax
[F G] = getFunctions(object)
Returns the coefficients of the affine functions defined over all the polytopes. The coefficients are returned in a "big" [nfun*ndim] matrix F and a "big" [nfun*1] vector G.
[F G] = getFunctions(object,reg,type)
Returns the coefficients of the affine function defined over the polytope whose index is contained in reg. Optionally, 'type' can be specified as 'cell' to output the cell array representation instead of matrices.
See also getEdges, getRegions.
Acknowledgements
Contributors:
- Bart Genuit (b.a.g.genuit@tue.nl)
Copyright is with:
- Copyright (C) 2012 Eindhoven University of Technology, The Netherlands.