Empty set (EmptySet)
LazySets.EmptySetModule.EmptySet
— TypeEmptySet{N} <: ConvexSet{N}
Type that represents the empty set, i.e., the set with no elements.
LazySets.EmptySetModule.∅
— Type∅
Alias for EmptySet{Float64}
.
Operations
LazySets.API.an_element
— Methodan_element(∅::EmptySet)
Return some element of an empty set.
Input
∅
– empty set
Output
An error.
LazySets.API.area
— Methodarea(∅::EmptySet)
Return the area of an empty set.
Input
∅
– empty set
Output
$0$.
LazySets.chebyshev_center_radius
— Methodchebyshev_center_radius(∅::EmptySet; [kwargs]...)
Compute the Chebyshev center and the corresponding radius of an empty set.
Input
∅
– empty setkwargs
– further keyword arguments (ignored)
Output
An error.
LazySets.API.complement
— Methodcomplement(∅::EmptySet{N}) where {N}
Return the complement of an empty set.
Input
∅
– empty set
Output
The universe of the same dimension.
complement(U::Universe{N}) where {N}
Return the complement of an universe.
Input
∅
– universe
Output
The empty set of the same dimension.
LazySets.API.diameter
— Functiondiameter(∅::EmptySet, [p]::Real=Inf)
Return the diameter of an empty set. It is the maximum distance between any two elements of the set or, equivalently, the diameter of the enclosing ball (of the given $p$-norm) of minimal volume with the same center.
Input
∅
– empty setp
– (optional, default:Inf
) norm
Output
An error.
LazySets.API.dim
— Methoddim(∅::EmptySet)
Return the dimension of an empty set.
Input
∅
– an empty set
Output
The dimension of the empty set.
LazySets.API.high
— Methodhigh(∅::EmptySet)
Return a vector with the highest coordinates of an empty set in each canonical direction.
Input
∅
– empty set
Output
An error.
Notes
See also high(∅::EmptySet, i::Int)
.
LazySets.API.high
— Methodhigh(∅::EmptySet, i::Int)
Return the highest coordinate of an empty set in the given direction.
Input
∅
– empty seti
– dimension of interest
Output
An error.
LazySets.API.isbounded
— Methodisbounded(∅::EmptySet)
Check whether an empty set is bounded.
Input
∅
– empty set
Output
true
.
Base.isempty
— Methodisempty(∅::EmptySet)
Check if the empty set is empty.
Input
∅
– empty set
Output
true
.
LazySets.API.isuniversal
— Methodisuniversal(∅::EmptySet{N}, [witness]::Bool=false) where {N}
Check whether an empty set is universal.
Input
∅
– empty setwitness
– (optional, default:false
) compute a witness if activated
Output
- If
witness
option is deactivated:false
- If
witness
option is activated:(false, v)
where $v ∉ S$
LazySets.API.low
— Methodlow(∅::EmptySet)
Return a vector with the lowest coordinates of an empty set in each canonical direction.
Input
∅
– empty set
Output
An error.
Notes
See also low(∅::EmptySet, i::Int)
.
LazySets.API.low
— Methodlow(∅::EmptySet, i::Int)
Return the lowest coordinate of an empty set in the given direction.
Input
∅
– empty seti
– dimension of interest
Output
An error.
LinearAlgebra.norm
— Functionnorm(∅::EmptySet, [p]::Real=Inf)
Return the norm of an empty set. It is the norm of the enclosing ball (of the given $p$-norm) of minimal volume that is centered in the origin.
Input
∅
– empty setp
– (optional, default:Inf
) norm
Output
An error.
LazySets.API.radius
— Functionradius(∅::EmptySet, [p]::Real=Inf)
Return the radius of an empty set. It is the radius of the enclosing ball (of the given $p$-norm) of minimal volume with the same center.
Input
∅
– empty setp
– (optional, default:Inf
) norm
Output
An error.
Base.rand
— Methodrand(::Type{EmptySet}; [N]::Type{<:Real}=Float64, [dim]::Int=2,
[rng]::AbstractRNG=GLOBAL_RNG, [seed]::Union{Int, Nothing}=nothing)
Create an empty set (note that there is nothing to randomize).
Input
EmptySet
– type for dispatchN
– (optional, default:Float64
) numeric typedim
– (optional, default: 2) dimensionrng
– (optional, default:GLOBAL_RNG
) random number generatorseed
– (optional, default:nothing
) seed for reseeding
Output
The (only) empty set of the given numeric type and dimension.
ReachabilityBase.Arrays.rectify
— Methodrectify(∅::EmptySet)
Concrete rectification of an empty set.
Input
∅
– empty set
Output
The empty set.
LazySets.API.reflect
— Methodreflect(∅::EmptySet)
Concrete reflection of an empty set.
Input
∅
– empty set
Output
The same empty set.
LazySets.API.vertices_list
— Methodvertices_list(∅::EmptySet)
Return the list of vertices of an empty set.
Input
∅
– empty set
Output
The empty list of vertices, as the empty set does not contain any vertices.
LazySets.API.vertices
— Methodvertices(∅::EmptySet)
Construct an iterator over the vertices of an empty set.
Input
∅
– empty set
Output
The empty iterator, as the empty set does not contain any vertices.
LazySets.API.volume
— Methodvolume(∅::EmptySet{N}) where {N}
Return the volume of an empty set.
Input
∅
– empty set
Output
$0$.
Base.:∈
— Method∈(x::AbstractVector, ∅::EmptySet)
Check whether a given point is contained in an empty set.
Input
x
– point/vector∅
– empty set
Output
false
.
Examples
julia> [1.0, 0.0] ∈ ∅(2)
false
LazySets.API.linear_map
— Methodlinear_map(M::AbstractMatrix{N}, ∅::EmptySet{N}) where {N}
Return the linear map of an empty set.
Input
M
– matrix∅
– empty set
Output
An empty set.
LazySets.API.ρ
— Methodρ(d::AbstractVector, ∅::EmptySet)
Evaluate the support function of an empty set in a given direction.
Input
d
– direction∅
– empty set
Output
An error.
LazySets.API.σ
— Methodσ(d::AbstractVector, ∅::EmptySet)
Return the support vector of an empty set.
Input
d
– direction∅
– empty set
Output
An error.
LazySets.API.translate
— Methodtranslate(∅::EmptySet, v::AbstractVector)
Translate (i.e., shift) an empty set by a given vector.
Input
∅
– empty setv
– translation vector
Output
The empty set.
LazySets.plot_recipe
— Methodplot_recipe(∅::EmptySet{N}, [ε]=zero(N)) where {N}
Convert an empty set to a sequence of points for plotting. In the special case of an empty set, the sequence is empty.
Input
∅
– empty setε
– (optional, default:0
) ignored, used for dispatch
Output
An empty array.
Undocumented implementations:
convex_hull
isboundedtype
isconvextype
isoperationtype
affine_map
exponential_map
is_interior_point
scale
scale!
translate!
convex_hull
intersection
isdisjoint
⊆
Inherited from LazySet
: