Changelog for StateSpaceSets.jl is kept w.r.t. version 1.3
set_distance
now also allows any arbitrary functionf
. This simplifies the docstring ofsetsofsets_distances
as well.SSSet
is now an exported alias toStateSpaceSet
.
- Allow construction of
StateSpaceSet
s from existingStateSpaceSet
s (this just callshcat
under the hood).
It is allowed to make StateSpaceSet
with points of arbitrary eltype
now.
Please don't use Complex
numbers as the eltype
!
StateSpaceSet
now subtypesAbstractVector
, in particularStateSpaceSet{V<:AbstractVector} <: AbstractVector{V}
. This leads to the breaking change thatsize(ssset) = (length(ssset), )
while beforesize
was(length(ssset), dimension(ssset))
. Now you have to usedimension(ssset)
exclusively to get the "number of columns" in the state space set.StateSpaceSet
now supports arbitrary inner vectors as state space points. The keywordcontainer
can be given to all functions that make state space sets and sets the type of the container of the inner vectors. This is the abstract type and is typicallySVector
orVector
.- All deprecations of v1 have been removed. Primarily this includes the
Dataset
name and an old version ofstatespace_sampler
.
cov
andcor
functions for computing the covariance/correlation matrix between columns of aStateSpaceSet
.
statespace_sampler
has been overhauled for major benefits:
- signature is now
statespace_sampler(r::Region, seed::Int)
. This clarifies by type what kind of regions may be sampled and allows straightforward future extensions. - performance has been increased by eliminating all allocations
- sampling is now thread-safe
- Due to thread-safety,
Xoshiro
is used as the RNG. Seeds (integers) may be provided, but not rng objects themselves. - old call signature with keywords is deprecated
- "multgauss" sampling is removed. It was poorly documented and as such we do not know if its implementation was even correct.