Utilities for Facets and Vertices

BellScenario.LocalPolytope.dimensionFunction
dimension( vertices :: Vector{Vector{Int64}} ) :: Int64

For the provided vertices (points), finds the dimension of the affine space spanned by the vertices. This method computes the dimension of a polytope, facet, or collection of points.

This also accepts matrices and DeterministicStrategy types as arguments:

dimension( vertices :: Vector{Matrix{Int64}} ) :: Int64

dimension( vertices :: Vector{DeterministicStrategy} ) :: Int64
source