You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Thanks for pointing this out. It's not really a bug. The underlying metric is not L2 or L_infinity. It is based on G and it is explained in Section 4.2 in this paper. Nevertheless, it is a good idea to have L1,L2 and L_Infinity norms as well. Will work on it and push it.
Added a distance (P,x) function to pypolycontain.lib.AH_polytope It works for H-polytopes, zonotopes, and AH-polytopes. The norms can be L1, L2 or L infinity.
When given a query point
q
and zonotopez=zonotope(x,G)
,zonotope_distance_point(z,x)
may return something larger thandistance(x,q)
. Example code:Example output:
The text was updated successfully, but these errors were encountered: