Comments (6)
Nope, we now use ODEFunction.
from parameterizedfunctions.jl.
Ok, so if I was using my own Parameterized function type, I need to adopt the ODEFunction interface, and instead subtype AbstractODEFunction
?
from parameterizedfunctions.jl.
from parameterizedfunctions.jl.
The usecase is solving a Quantum Liouvillian, where the operators are sparse and complex, and I use the 5-arg mul!
to have everything in place because I also need to evaluate time-dependent user functions as coefficients for some of the operators (see here).
As far as I can tell, none of the pre-existing solutions work for this, which is why I made my own type.
from parameterizedfunctions.jl.
I'd like to talk more about getting this to work if you'd have the time,
w.r.t. this issue, it seems like ParameterizedFunctions are on the way out and that the (p::LotkaVolterra)(::Type{Val{:jac}},t,u,J)
syntax is not supported anymore. Is that correct?
In case it matters, it would be nice to still support it, for those who like me are using functor types. With functor types, it is impossible to define a function in the jac
field, because the function would itself depends on the instance of the functor...
from parameterizedfunctions.jl.
w.r.t. this issue, it seems like ParameterizedFunctions are on the way out and that the (p::LotkaVolterra)(::Type{Val{:jac}},t,u,J) syntax is not supported anymore. Is that correct?
Yes, that's been gone for awhile.
In case it matters, it would be nice to still support it, for those who like me are using functor types. With functor types, it is impossible to define a function in the jac field, because the function would itself depends on the instance of the functor...
You can define an ODEFunction
and add your own jac
The usecase is solving a Quantum Liouvillian, where the operators are sparse and complex, and I use the 5-arg mul! to have everything in place because I also need to evaluate time-dependent user functions as coefficients for some of the operators (see here).
That's fine with MTK.
from parameterizedfunctions.jl.
Related Issues (20)
- Update to work with julia 1.9 HOT 4
- Reserved names HOT 4
- ode_def_opts() syntax HOT 4
- Implicit solvers no longer works with ParameterizedFunctions. HOT 5
- Static array support HOT 1
- Cannot Get tests to pass on version 2.3.1 HOT 2
- Rosenbrock23 and 32 algs does not work with callbacks for @ode_def models. HOT 2
- @ode_def macros can segfault with typos HOT 3
- Package compatibility caps
- Should work with namedtuple parameters
- Use := for intermediate calculations HOT 2
- Strange bug when using `@ode_def` in worker process on 0.7 HOT 5
- Direct use of ode_def_opts(name::Symbol,opts,ex::Expr,params) HOT 4
- Generated jacobian dont work with out of place forms
- Register HOT 2
- Field Wfact HOT 2
- Register HOT 51
- Anonymous definition doesn't work :-( HOT 1
- TagBot trigger issue HOT 15
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from parameterizedfunctions.jl.