Skip to content

Commit 8478423

Browse files
committed
spelling fixes
1 parent 4164400 commit 8478423

File tree

1 file changed

+10
-10
lines changed

1 file changed

+10
-10
lines changed

src/reactionsystem.jl

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -82,13 +82,13 @@ Base.@kwdef mutable struct NetworkProperties{I <: Integer, V <: BasicSymbolic{Re
8282
"""Flag which is switched to `true` once any field is updated."""
8383
isempty::Bool = true
8484
"""
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.
8888
"""
8989
netstoichmat::Union{Matrix{Int}, SparseMatrixCSC{Int, Int}} = Matrix{Int}(undef, 0, 0)
9090
"""
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
9292
conservation laws and N its number of species. Element i,j is the coefficient of species
9393
j in the i'th conservation law.
9494
"""
@@ -111,18 +111,18 @@ Base.@kwdef mutable struct NetworkProperties{I <: Integer, V <: BasicSymbolic{Re
111111
indepspecs::Set{V} = Set{V}()
112112
"""
113113
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
115115
observables, not unknowns.
116116
"""
117117
depspecs::Set{V} = Set{V}()
118118
"""
119119
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
121121
conserved equation `X2 ~ Γ[1] - X1`.
122122
"""
123123
conservedeqs::Vector{Equation} = Equation[]
124124
"""
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
126126
system (`X1 <--> X2`) there is one conserved quantity with the equation `Γ[1] ~ X1 + X2`.
127127
"""
128128
constantdefs::Vector{Equation} = Equation[]
@@ -139,7 +139,7 @@ Base.@kwdef mutable struct NetworkProperties{I <: Integer, V <: BasicSymbolic{Re
139139
""" A vector with all the reaction system's reaction complexes """
140140
complexes::Vector{ReactionComplex{Int}} = Vector{ReactionComplex{Int}}(undef, 0)
141141
"""
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.
143143
Element i,j is:
144144
-1 if the i'th complex is a substrate of the j'th reaction.
145145
+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
154154
"""
155155
complexstoichmat::Union{Matrix{Int}, SparseMatrixCSC{Int, Int}} = Matrix{Int}(undef, 0, 0)
156156
"""
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.
158158
Element i,j is -1 if i'th complex is a substrate of the j'th reaction (and 0 otherwise).
159159
"""
160160
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
171171
"""
172172
linkageclasses::Vector{Vector{Int}} = Vector{Vector{Int}}(undef, 0)
173173
"""
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
175175
complexes, *l* is the number of linkage classes (i.e. the number of connected components
176176
in the incidence graph), and *r* is the reaction networks *rank* (i.e. the span of the columns
177177
of its net stoichiometry matrix, or its number of independent species).

0 commit comments

Comments
 (0)