The main export of this package is the ComponentArray type. "Components" of ComponentArrays are really just array blocks that can be accessed through a named index. This will create a new ComponentArray whose data is a view into the original, allowing for standalone models to be composed together by simple function composition. In essence, ComponentArrays allow you to do the things you would usually need a modeling language for, but without actually needing a modeling language. The main targets are for use in DifferentialEquations.jl and Optim.jl, but anything that requires flat vectors is fair game.
Features
- Construct 1-dimensional ComponentArrays
- Examples available
- The main benefit, however, is now our differential equations are unit testable
- ComponentArrays allow you to do the things you would usually need a modeling language for
- Documentation available
- Allows for standalone models to be composed together by simple function composition
