From ee66b95b9abb816da762f3ffa7b469c95269da31 Mon Sep 17 00:00:00 2001 From: Fredrik Bagge Carlson Date: Fri, 24 Nov 2023 10:17:51 +0100 Subject: [PATCH] add note on StaticArrays in statespace --- docs/src/man/numerical.md | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/docs/src/man/numerical.md b/docs/src/man/numerical.md index 8e3b5cf76..29798bfcb 100644 --- a/docs/src/man/numerical.md +++ b/docs/src/man/numerical.md @@ -116,4 +116,7 @@ Linear systems with zero-order-hold inputs can be exactly simulated in discrete For discrete-time systems, the function [`lsim!`](@ref) accepts a pre-allocated workspace objects that can be used to avoid allocations for repeated simulations. ### Numerical balancing -If you are only interested in the simulated outputs, not the state trajectories, you may consider applying balancing to the statespace model using [`balance_statespace`](@ref) before simulating, see the section on [State-space balancing](@ref) above. If the state trajectories are of interest, balancing can still be performed before simulation, and the inverse transformation applied to the state trajectories after simulation. \ No newline at end of file +If you are only interested in the simulated outputs, not the state trajectories, you may consider applying balancing to the statespace model using [`balance_statespace`](@ref) before simulating, see the section on [State-space balancing](@ref) above. If the state trajectories are of interest, balancing can still be performed before simulation, and the inverse transformation applied to the state trajectories after simulation. + +## Static arrays in StateSpace systems +The special statespace system type [HeteroStateSapce](@ref) can be used to store statespace models with static arrays rather than the default matrix type `Matrix`. See [State-Space Systems](@ref) for more details. \ No newline at end of file