Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Latexify display does not work for SDESystems #2782

Closed
TorkelE opened this issue Jun 9, 2024 · 2 comments
Closed

Latexify display does not work for SDESystems #2782

TorkelE opened this issue Jun 9, 2024 · 2 comments
Labels
bug Something isn't working

Comments

@TorkelE
Copy link
Member

TorkelE commented Jun 9, 2024

Not sure if this should be here or in Latexify.

Example:

using ModelingToolkit

# Define some variables
@parameters p d 
@variables t X(t)
D = Differential(t)
eqs = [D(X) ~ p - d*X]
noise_eqs = [sqrt(p), sqrt(p - d*X)]

@named ssys = SDESystem(eqs, noise_eqs, t, [X], [p, d])

image

Basically, the noise equations just gets dropped.

@ChrisRackauckas
Copy link
Member

I think the latexify function just needs to add the other function call to it.

@ChrisRackauckas
Copy link
Member

The noise equations are added in the current docs versions.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants