We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Equation is a combination of a str called content and a dict called parameters.
content
parameters
For instance: an equation is:
"equation": { "content": "\\frac{ d([Pcl]) }{ dt } = {{alpha}} * [Pcl] + {{beta}}", "parameters": { "alpha": 0.1, "beta": "K_1" }
can be rendered as: \frac{ d([Pcl]) }{ dt } = 0.1 * [Pcl] + K_1
\frac{ d([Pcl]) }{ dt } = 0.1 * [Pcl] + K_1
The text was updated successfully, but these errors were encountered:
Render function in JS is:
function render(e) { var res = e.content; for (var key in e.parameters) res=res.replace('{{'+key+'}}', e.parameters[key]); return res; }
Sorry, something went wrong.
No branches or pull requests
Equation is a combination of a str called
content
and a dict calledparameters
.For instance:
an equation is:
can be rendered as:
\frac{ d([Pcl]) }{ dt } = 0.1 * [Pcl] + K_1
The text was updated successfully, but these errors were encountered: