odin 1.0.0
odin 0.2.6
- Default history size is back to 10,000 steps (not 1,000) as in pre-0.2.0 (
mrc-327
, #176)
odin 0.2.4
odin_package
now works with R staged installation as introduced in 3.6.0 (#170, mrc-257
)
odin 0.2.3
- Better error messages for some invalid uses of array indices that previously manifested as compiler errors #166
odin 0.2.2
- Fix two memory leaks (#163); these leaked once per model creation.
odin 0.2.1
- Continuous time models with delays can now return derivatives (#161, #162)
odin 0.2.0
A complete rewrite of the odin engine, designed to increase future maintainability but have few user-visible effects. In brief, this does add
- Ability to transpile to R (removing the need for a C compiler, though creating code that is necessarily much slower than the compiled version). Pass
target = "r"
to use this.
- A new intermediate representation for odin models that can be used to determine features of a model
- Better caching (#64)
- Delays on discrete time models are much more efficient and work properly with stochastic equations (#72, #98)
This does introduce a few user-visible breaking changes: - use of array indices outside of an array subset (e.g., x[] <- i
) produces output that is off-by-one compared with the previous version (see #136) - The “safe” mode has been removed, at least for now. This failed to compile for complex models and was not well used. A better static check mechanism will be introduced (#148) - Arguments to odin()
have been modified slightly - odin_package()
no longer supports multi-file mode (I don’t think this was ever used). - Argument order in generated functions, as well as variable/output order, is likely to change but this should not generally be relied upon. - The methods for a model object have been extensively rationalised. I don’t think that anything has been removed that anyone is using in their code. - The parameters passed as a list user
are validated and providing additional parameters is a warning (by default; this can be configured to be more or less strict as desired).
Fixes many outstanding issues: #139, #136, #132, #130, #129, #127, #123, #122, #121, #120, #117, #115, #112, #106, #99, #98, #84, #72, #64, #57, #52, #12, #4
odin 0.1.2
- Validate parameters in input
odin 0.0.10
- Replication interface for discrete models (primarily for stochastic models) #125.
odin 0.0.9
- Delay differential equations may use interpolated functions within their delays #130
odin 0.0.6
- Fix caching of models specified with files (rather than inline code) #99
odin 0.0.5
- Support for multinomial distributions, which are the first example of supported vector-returning functions #100
- New vignette for discrete time models, contributed by
@thibautjombart
#102
odin 0.0.4
- Generate odin models in “safe” mode, where all array access is bounds-checked. This will run slower but make debugging crashes much simpler (#79, #49)
odin 0.0.3
- Implement caching layer #54 and possibly enough for #62. The interface here is subject to change (currently there is no way to interact with the cache) but should be enough for most cases. Setting the output directory explicitly will be necessary to cache across sessions.