Skip to content

Commit

Permalink
export and document sys_fromparticles`
Browse files Browse the repository at this point in the history
  • Loading branch information
baggepinnen committed Sep 29, 2023
1 parent 8d75167 commit f4c6156
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
2 changes: 1 addition & 1 deletion src/RobustAndOptimalControl.jl
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ include("ExtendedStateSpace.jl")
export modal_form, schur_form, hess_form
include("canonical.jl")

export δ, δr, δc, δss, nominal, UncertainSS, uss, blocksort
export δ, δr, δc, δss, nominal, UncertainSS, uss, blocksort, sys_from_particles
include("uncertainty_interface.jl")

export makeweight, neglected_delay, gain_and_delay_uncertainty, neglected_lag, fit_complex_perturbations
Expand Down
6 changes: 6 additions & 0 deletions src/uncertainty_interface.jl
Original file line number Diff line number Diff line change
Expand Up @@ -473,8 +473,14 @@ using MonteCarloMeasurements: vecindex

"""
sys_from_particles(P, i)
sys_from_particles(P)
Return the `i`th system from a system `P` with `Particles` coefficients.
If called without an index, return a vector of systems, one for each possibly `i`.
This function is used to convert from an uncertain representation using `Particles` to a "multi-model" representation using multiple `StateSpace` models.
See also [`ss2particles`](@ref) and `MonteCarloMeasurements.nominal`.
"""
function sys_from_particles(P, i)
Expand Down

0 comments on commit f4c6156

Please sign in to comment.