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
The idea is not to actually swap the arguments (which is generally not possible due to type constraints) but to return a new object. This is good for convenience.
In the particular case of an Intersection object, we can also copy the cache.
The text was updated successfully, but these errors were encountered:
X =BallInf(ones(2), 1.0);
H = LazySets.HalfSpace([-1.0, 0.0], 0.0);
d = [0.0, 1.0];
Z = X∩H
ρ(d, Z)
ρ(d, Z)
is intersection empty
2.0000000000000004
Z = H∩X
ρ(d, Z)
ρ(d, Z)
is intersection empty
is intersection empty
2.0000000000000004
The idea is not to actually swap the arguments (which is generally not possible due to type constraints) but to return a new object. This is good for convenience.
In the particular case of an
Intersection
object, we can also copy thecache
.The text was updated successfully, but these errors were encountered: