Skip to content

Commit 35a37e5

Browse files
committed
update for 10.8
1 parent 4b636ec commit 35a37e5

File tree

2 files changed

+10
-5
lines changed

2 files changed

+10
-5
lines changed

HISTORY.md

Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,20 @@
11
# Breaking updates and feature summaries across releases
22

33
## Catalyst unreleased (master branch)
4+
5+
## Catalyst 10.8
46
- Added the ability to use symbolic stoichiometry expressions via the DSL. This should now work
57
```julia
68
rn = @reaction_network rs begin
79
t*k, (α+k+B)*A --> B
810
1.0, α*A + 2*B --> k*C + α*D
911
end k α
1012
```
11-
Here Catalyst will try to preserve the order of symbols within an expression, taking the leftmost as the species and
12-
everything multiplying that species as stoichiometry. For example, we can interpret the above reaction as `S1 A --> S2 b`
13-
where `S1 = (α+k+B)` is the stoichiometry of the reactant `A` and `1` is the stoichiometry of the reactant `B`. For
13+
Here Catalyst will try to preserve the order of symbols within an expression,
14+
taking the rightmost as the species and everything multiplying that species as
15+
stoichiometry. For example, we can interpret the above reaction as `S1 A -->
16+
S2 b` where `S1 = (α+k+B)` is the stoichiometry of the reactant `A` and `1` is
17+
the stoichiometry of the reactant `B`. For
1418
```julia
1519
rn = @reaction_network rs begin
1620
1.0, 2X*(Y + Z) --> XYZ
@@ -28,7 +32,8 @@
2832
rx = @reaction 1.0, 2X*(Y + Z) --> XYZ
2933
```
3034
will make `X` a parameter and `Y`, `Z` and `XYZ` species.
31-
- Symbolic stoichiometry supports interpolation of expressions.
35+
- Symbolic stoichiometry supports interpolation of expressions in
36+
`@reaction_network` and `@reaction`.
3237

3338
## Catalyst 10.7
3439
- Added the ability to use symbolic variables, parameters and expressions for

Project.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
name = "Catalyst"
22
uuid = "479239e8-5488-4da2-87a7-35f2df7eef83"
3-
version = "10.7.0"
3+
version = "10.8.0"
44

55
[deps]
66
AbstractAlgebra = "c3fe647b-3220-5bb0-a1ea-a7954cac585d"

0 commit comments

Comments
 (0)