
Hello,
I have the following code which reads an input of vertex points and converts to hyperplane representation.
https://godbolt.org/z/hdezerxKf
I want to be able to find the H representation of vertices where some of the vertex coordinates are represented as rational numbers.
For e.g.,
(0,0) <----first vertex (1/3,1/3) <----second vertex.
Unfortunately, the code that I have reads in vertices with the constraint that all coordinates of each vertex are restricted to be integer. Please see Points[row][col] in the godbolt link, where Points is an std::vector<std::vector<int>>. Points[0] is the first vertex and it has as coordinates Points[0][0], Points[0][1],...etc. each of which is an integer.
How can I specify vertices where some of the coordinates can be like so: 1/4, 1/9, 1/11, etc.
Thank you.