AlgebraicJulia / AlgebraicJulia/AlgebraicPetri.jl
Indexing over tuples of symbols
Aperta
- Lingua principale
- Julia
- Stelle
- 94
- Fork
- 22
- Metriche di merge delle PR
- Nessuna PR unita negli ultimi 30g
Descrizione
In the `vectorfield` function
https://github.com/AlgebraicJulia/AlgebraicPetri.jl/blob/e76f7cb476ea57e7bd6cf0ce0131a1e6fa8d3f51/src/AlgebraicPetri.jl#L283-L307
it is assumed that the state and parameter arrays `u`, `p` etc can be indexed by the species name. This is fine when the species name is a symbol, but its also possible to have species names that are tuples of symbols e.g. from using `typed_product`.
Is there a recommended way to define arrays that can be indexed by Tuples of symbols?
Guida per i contributori
Nessuna guida per i contributori indicizzata per questo repository
Valutazione
Questa issue non è ancora stata valutata.