fileToMatrix: function to get an ine or an ext file and returns the corresponding polytope
Description
For an ine file it generates the corresponding H-polytope. For an ext file it generates the corresponding V-polytope or zonotope.
Usage
fileToMatrix(path, zonotope)
Arguments
path
A string that containes the path to an ine or a ext file. The ine file desrcibes a H-polytope and ext file describes a V-polytope or a zonotope.
zonotope
A boolean parameter. It has to be TRUE when the path leads to an .ext file that describes a zonotope.
Value
A polytope class. If the path corresponds to an ine file then the return value represents a H-polytope. If it corresponds to an ext file the return value represents a V-polytope (default choice) or a zonotope if the second argument is TRUE.