Origin (ZeroSet)
LazySets.ZeroSetModule.ZeroSet — TypeZeroSet{N} <: AbstractSingleton{N}Type that represents the zero set, i.e., the set that only contains the origin.
Fields
dim– the ambient dimension of the set
Operations
LazySets.element — Methodelement(Z::ZeroSet)Return the element of a zero set.
Input
Z– zero set
Output
The element of the zero set, i.e., a zero vector.
LazySets.element — Methodelement(Z::ZeroSet, i::Int)Return the i-th entry of the element of a zero set.
Input
Z– zero seti– dimension
Output
The i-th entry of the element of the zero set, i.e., 0.
Base.rand — Methodrand(T::Type{<:LazySet}; [N]::Type{<:Real}=Float64, [dim]::Int=2,
[rng]::AbstractRNG=GLOBAL_RNG, [seed]::Union{Int, Nothing}=nothing
)Create a random set of the given set type.
Input
T– set typeN– (optional, default:Float64) numeric typedim– (optional, default: 2) dimensionrng– (optional, default:GLOBAL_RNG) random number generatorseed– (optional, default:nothing) seed for reseeding
Output
A random set of the given set type.
Base.rand — MethodExtended help
rand(::Type{ZeroSet}; [N]::Type{<:Real}=Float64, [dim]::Int=2,
[rng]::AbstractRNG=GLOBAL_RNG, [seed]::Union{Int, Nothing}=nothing)Output
The (only) zero set of the given numeric type and dimension.
Undocumented implementations:
copy(::Type{ZeroSet})dimreflectrectify∈isoperationtypelinear_mapscalescale!ρtranslateminkowski_sum
Inherited from LazySet:
complementconcretizeconstraintsconvex_hulldiametereltypeeltypeisoperationispolytopicpolyhedronrationalizesingleton_listtosimplehreptriangulatetriangulate_facesaffine_mapexponential_mapis_interior_pointsampleconvex_hullisapprox==⊂
Inherited from ConvexSet:
Inherited from AbstractPolyhedron:
Inherited from AbstractPolytope:
Inherited from AbstractCentrallySymmetricPolytope:
Inherited from AbstractZonotope:
Inherited from AbstractHyperrectangle:
Inherited from AbstractSingleton: