Fredrik Bagge Carlson

Results 317 issues of Fredrik Bagge Carlson

While working with MTK in Pluto, I noticed several issues with the latex rendering. Here are some of the ones I managed to turn into MWEs ![image](https://user-images.githubusercontent.com/3797491/174803751-9beb45b5-0697-4b10-bc50-f79fe6332863.png) ![image](https://user-images.githubusercontent.com/3797491/174803691-c4c5f8bd-6c03-4cb1-9c85-f4e7235ca28e.png) there are...

MTK currently does not use the features of Documenter.jl that runs code while building the documentation and signals if the code fails. As a consequence, we often get reports from...

documentation

Following up on the discussion in https://github.com/SciML/ModelingToolkit.jl/issues/1303#issuecomment-960857224 It would be beneficial to have a version of `dae_index_lowering/tearing` that is aware of `unbound_inputs` in the sense of #1322 The motivation is...

linearization

MTK currently has the `Difference` operator that operates on `x(t)`, producing `x(t+dt) - x(t)`. Control-systems design and analysis in discrete time typically employs the shift operator, which operates on `x(t)`...

control
discrete-time

This PR relies on - https://github.com/JuliaSymbolics/Symbolics.jl/pull/454 @YingboMa I have treated discrete and continuous equations the same here. This allows you to get a bit further with discrete systems, but I'm...

This PR introduces the operators `Sample, Hold, Shift` as well as functions to query their presence in expressions and equations. For background, see discussion in - https://github.com/SciML/ModelingToolkit.jl/issues/1307 The intention is...

This PR implements the `SampledTime` operator proposed by @jonniedie in https://github.com/SciML/ModelingToolkit.jl/issues/894#issuecomment-805893878 It provides a convenient interface between the continuous and discrete time domains, examplified by ```julia julia> @variables t x(t);...

From slack: I recently noticed a performance regression in `conv` ```julia using Images, DSP # before pulling master img = randn(1000,1000) kernel = Kernel.LoG(4) @btime DSP.conv($img, $(kernel)) # 42.050 ms...

When performing several similar convolutions, it would be convenient to have a facility similar to `plan_fft` that creates a workspace structure with caches for `conv`, so that `conv!(plan, u, v)`...

enhancement

I'm not sure if there is anything preventing this, but it would sometimes be convenient to be able to ask about the labels in an axis, similar to how it...