File v_polytopes_generators.h

Functions

template<class MT>
void removeRow(MT &matrix, unsigned int rowToRemove)
template<class Polytope, class RNGType>
Polytope random_vpoly(unsigned int dim, unsigned int k, double seed = std::numeric_limits<double>::signaling_NaN())

Generates a random V-polytope

Template Parameters:
  • Polytope – polytope type

  • RNGType – RNGType type

template<class Polytope, class RNGType>
Polytope random_vpoly_incube(unsigned int d, unsigned int k, double seed = std::numeric_limits<double>::signaling_NaN())

Generates a random V-polytope inside a cube

Template Parameters:
  • Polytope – polytope type

  • RNGType – RNGType type