You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
# Tuple storing all registered function (for use in various functionalities).
113
+
const registered_funcs = (mm, mmr, hill, hillr, hillar)
114
+
112
115
### Custom CRN FUnction-related Functions ###
113
116
114
117
"""
115
-
expand_registered_functions(expr)
118
+
expand_registered_functions(in)
116
119
117
-
Takes an expression, and expands registered function expressions. E.g. `mm(X,v,K)` is replaced with v*X/(X+K). Currently supported functions: `mm`, `mmr`, `hill`, `hillr`, and `hill`.
120
+
Takes an expression, and expands registered function expressions. E.g. `mm(X,v,K)` is replaced
121
+
with v*X/(X+K). Currently supported functions: `mm`, `mmr`, `hill`, `hillr`, and `hill`. Can
122
+
be applied to a reaction system, a reaction, an equation, or a symbolic expression. The input
123
+
is not modified, while an output with any functions expanded is returned. If applied to a
124
+
reaction system model, any cached network properties are reset.
118
125
"""
119
126
functionexpand_registered_functions(expr)
120
127
ifhasnode(is_catalyst_function, expr)
@@ -126,8 +133,7 @@ end
126
133
# Checks whether an expression corresponds to a catalyst function call (e.g. `mm(X,v,K)`).
0 commit comments