Commit 4fee00c
committed
docs: add {state}_init initial value docs
Document the new `{state}_init` suffix for referencing a state's initial value inside ODE equations. Adds a brief example showing `S` vs `S_init`, explains use cases (e.g. normalization or driving terms by initial concentration), and notes that the referenced state must exist (raises ValueError if not), `_init` symbols are not registered as parameters, and current and initial values may be mixed in the same expression.1 parent 8aefd60 commit 4fee00c
1 file changed
Lines changed: 18 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
133 | 133 | | |
134 | 134 | | |
135 | 135 | | |
| 136 | + | |
| 137 | + | |
| 138 | + | |
| 139 | + | |
| 140 | + | |
| 141 | + | |
| 142 | + | |
| 143 | + | |
| 144 | + | |
| 145 | + | |
| 146 | + | |
| 147 | + | |
| 148 | + | |
| 149 | + | |
| 150 | + | |
| 151 | + | |
| 152 | + | |
| 153 | + | |
136 | 154 | | |
137 | 155 | | |
138 | 156 | | |
| |||
0 commit comments