@@ -82,13 +82,13 @@ Base.@kwdef mutable struct NetworkProperties{I <: Integer, V <: BasicSymbolic{Re
82
82
""" Flag which is switched to `true` once any field is updated."""
83
83
isempty:: Bool = true
84
84
"""
85
- The reaction network's net stoichiometry matrix. It is a MxN matrix where M is its number of
86
- species and N its number of reaction . Element i,j is net stoichiometric change to the i'th
87
- species as a result of the j'th reaction.
85
+ The reaction network's net stoichiometry matrix. It is an MxN matrix where M is its number of
86
+ species and N is its number of reactions . Element i,j is the net stoichiometric change to the
87
+ i'th species as a result of the j'th reaction.
88
88
"""
89
89
netstoichmat:: Union{Matrix{Int}, SparseMatrixCSC{Int, Int}} = Matrix {Int} (undef, 0 , 0 )
90
90
"""
91
- The reaction network's conservation law matrix. It is a MxN matrix where M is its number of
91
+ The reaction network's conservation law matrix. It is an MxN matrix where M is its number of
92
92
conservation laws and N its number of species. Element i,j is the coefficient of species
93
93
j in the i'th conservation law.
94
94
"""
@@ -111,18 +111,18 @@ Base.@kwdef mutable struct NetworkProperties{I <: Integer, V <: BasicSymbolic{Re
111
111
indepspecs:: Set{V} = Set {V} ()
112
112
"""
113
113
The set of *dependent species* of the reaction system. These species are eliminated when
114
- we eliminated the conserved quantities. In the resulting `ODESystem` these become
114
+ we eliminate the conserved quantities. In the resulting `ODESystem` these become
115
115
observables, not unknowns.
116
116
"""
117
117
depspecs:: Set{V} = Set {V} ()
118
118
"""
119
119
The equations for the (dependent) species eliminated by any conservation laws. I.e. for
120
- the two simple two state system (`X1 <--> X2`) `X2` becomes a dependant species with the
120
+ the two simple two- state system (`X1 <--> X2`) `X2` becomes a dependant species with the
121
121
conserved equation `X2 ~ Γ[1] - X1`.
122
122
"""
123
123
conservedeqs:: Vector{Equation} = Equation[]
124
124
"""
125
- The equations for the conserved quantity parameters. I.e. for the two simple two state
125
+ The equations for the conserved quantity parameters. I.e. for the two simple two- state
126
126
system (`X1 <--> X2`) there is one conserved quantity with the equation `Γ[1] ~ X1 + X2`.
127
127
"""
128
128
constantdefs:: Vector{Equation} = Equation[]
@@ -139,7 +139,7 @@ Base.@kwdef mutable struct NetworkProperties{I <: Integer, V <: BasicSymbolic{Re
139
139
""" A vector with all the reaction system's reaction complexes """
140
140
complexes:: Vector{ReactionComplex{Int}} = Vector {ReactionComplex{Int}} (undef, 0 )
141
141
"""
142
- An MxN matrix where M is the number of reaction complexes and N the number of reactions.
142
+ An MxN matrix where M is the number of reaction complexes and N is the number of reactions.
143
143
Element i,j is:
144
144
-1 if the i'th complex is a substrate of the j'th reaction.
145
145
+1 if the i'th complex is a product of the j'th reaction.
@@ -154,7 +154,7 @@ Base.@kwdef mutable struct NetworkProperties{I <: Integer, V <: BasicSymbolic{Re
154
154
"""
155
155
complexstoichmat:: Union{Matrix{Int}, SparseMatrixCSC{Int, Int}} = Matrix {Int} (undef, 0 , 0 )
156
156
"""
157
- An MxN matrix where M is the number of reaction complexes and N the number of reactions.
157
+ An MxN matrix where M is the number of reaction complexes and N is the number of reactions.
158
158
Element i,j is -1 if i'th complex is a substrate of the j'th reaction (and 0 otherwise).
159
159
"""
160
160
complexoutgoingmat:: Union{Matrix{Int}, SparseMatrixCSC{Int, Int}} = Matrix {Int} (undef, 0 , 0 )
@@ -171,7 +171,7 @@ Base.@kwdef mutable struct NetworkProperties{I <: Integer, V <: BasicSymbolic{Re
171
171
"""
172
172
linkageclasses:: Vector{Vector{Int}} = Vector {Vector{Int}} (undef, 0 )
173
173
"""
174
- The networks deficiency. It is computed as *n - l - r*, where *n* is the number of reaction
174
+ The network's deficiency. It is computed as *n - l - r*, where *n* is the number of reaction
175
175
complexes, *l* is the number of linkage classes (i.e. the number of connected components
176
176
in the incidence graph), and *r* is the reaction networks *rank* (i.e. the span of the columns
177
177
of its net stoichiometry matrix, or its number of independent species).
0 commit comments