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})
dim
reflect
rectify
∈
isoperationtype
linear_map
scale
scale!
ρ
translate
minkowski_sum
Inherited from LazySet
:
complement
concretize
constraints
convex_hull
diameter
eltype
eltype
isoperation
singleton_list
surface
affine_map
exponential_map
is_interior_point
sample
≈
==
⊂
Inherited from ConvexSet
:
Inherited from AbstractPolyhedron
:
Inherited from AbstractPolytope
:
Inherited from AbstractCentrallySymmetricPolytope
:
Inherited from AbstractZonotope
:
Inherited from AbstractHyperrectangle
:
Inherited from AbstractSingleton
: