You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
rhs = [postwalk(x -> x isa Expr &&length(x.args) ==1? x.args[1] : x, eq) for eq in rhs]
12
16
rhs = [postwalk(x -> x isa Expr && x.args[1] ==:derivative&&length(x.args[2].args) ==2? :($(Symbol(:d, x.args[2]))/($(Symbol(:d, x.args[2].args[2])))) : x, eq) for eq in rhs]
13
17
rhs = [postwalk(x -> x isa Expr && x.args[1] ==:derivative?"\\frac{d\\left($(Latexify.latexraw(x.args[2]))\\right)}{d$(Latexify.latexraw(x.args[3]))}": x, eq) for eq in rhs]
14
18
15
19
lhs =getfield.(eqs, :lhs)
16
-
lhs =toexpr.(lhs)
20
+
lhs =prettify_expr.(toexpr.(lhs))
17
21
lhs = [postwalk(x -> x isa Expr &&length(x.args) ==1? x.args[1] : x, eq) for eq in lhs]
18
22
lhs = [postwalk(x -> x isa Expr && x.args[1] ==:derivative&&length(x.args[2].args) ==2? :($(Symbol(:d, x.args[2]))/($(Symbol(:d, x.args[2].args[2])))) : x, eq) for eq in lhs]
19
23
lhs = [postwalk(x -> x isa Expr && x.args[1] ==:derivative?"\\frac{d\\left($(Latexify.latexraw(x.args[2]))\\right)}{d$(Latexify.latexraw(x.args[3]))}": x, eq) for eq in lhs]
\frac{dz(t)}{dt} =& -\left( *\left( x\left( t \right), ^\left( y\left( t \right), \frac{2}{3}\right) \right), *\left( \beta, z\left( t\right) \right)\right)
30
+
\frac{dx(t)}{dt} =& \frac{\sigma\left( y\left( t \right) - x\left( t \right) \right) \frac{d\left(x\left( t \right) - y\left( t \right)\right)}{dt}}{\frac{dz(t)}{dt}}\\
31
+
0 =& \frac{\sigma x\left( t \right) \left( \rho - z\left( t \right) \right)}{10} - y\left( t \right) \\
32
+
\frac{dz(t)}{dt} =& x\left( t \right)\left( y\left( t \right)\right)^{\frac{2}{3}} - \beta z\left( t \right)
0 commit comments