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

Deal with in-place and out-of-place function in StochSystem #22

Open
oameye opened this issue Feb 21, 2024 · 1 comment · May be fixed by #76
Open

Deal with in-place and out-of-place function in StochSystem #22

oameye opened this issue Feb 21, 2024 · 1 comment · May be fixed by #76
Labels
enhancement New feature or request

Comments

@oameye
Copy link
Member

oameye commented Feb 21, 2024

To deal with in-place and out-of-place functions in StochSystem we can do something similar as they do in the SciML Ecosystem for SDEProblem or ODEProblem. Something like:

# Define a parametric type
struct StochSystem{iip}
    f::Function
    pf::Parameters
    u::State
    σ::Float64
    g::Function
    pg::Parameters
    Σ::CovMatrix
    process::Any
end;

function StochSystem{iip}(...) where iip
	...
end
@reykboerner reykboerner added the enhancement New feature or request label Mar 13, 2024
@reykboerner
Copy link
Collaborator

Have you already implemented this in one of your PRs @oameye?

@oameye oameye added this to the Release version 1.0 milestone Mar 27, 2024
@oameye oameye linked a pull request Apr 21, 2024 that will close this issue
@oameye oameye linked a pull request Apr 22, 2024 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants