Skip to content

Commit fd339c5

Browse files
Merge pull request #2041 from SciML/baggepinnen-patch-1
fix math rendering in docstring
2 parents c1a01df + 960966c commit fd339c5

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

src/systems/abstractsystem.jl

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1128,9 +1128,11 @@ Return a function that linearizes the system `sys`. The function [`linearize`](@
11281128
11291129
`lin_fun` is a function `(variables, p, t) -> (; f_x, f_z, g_x, g_z, f_u, g_u, h_x, h_z, h_u)`, i.e., it returns a NamedTuple with the Jacobians of `f,g,h` for the nonlinear `sys` (technically for `simplified_sys`) on the form
11301130
```math
1131-
ẋ = f(x, z, u)
1132-
0 = g(x, z, u)
1133-
y = h(x, z, u)
1131+
\\begin{aligned}
1132+
ẋ &= f(x, z, u) \\\\
1133+
0 &= g(x, z, u) \\\\
1134+
y &= h(x, z, u)
1135+
\\end{aligned}
11341136
```
11351137
where `x` are differential states, `z` algebraic states, `u` inputs and `y` outputs. To obtain a linear statespace representation, see [`linearize`](@ref). The input argument `variables` is a vector defining the operating point, corresponding to `states(simplified_sys)` and `p` is a vector corresponding to the parameters of `simplified_sys`. Note: all variables in `inputs` have been converted to parameters in `simplified_sys`.
11361138

0 commit comments

Comments
 (0)