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
The following two scripts work fine:
r = te.loada (''' species x x' = -k1*x k1 = 0.1; x = 1 ''') print(r.getFullJacobian())
gives you:
x x [[ -0.1]]
and:
r = te.loada (''' S1 -> S2; k3*S1 S1 = 10 k3=0.5 ''') print(r.getFullJacobian())
S1, S2 S1 [[ -0.5, 0], S2 [ 0.5, 0]]
but if you try to combine them:
r = te.loada (''' species x x' = -k1*x k1 = 0.1; x = 1 S1 -> S2; k3*S1 S1 = 10 k3=0.5 ''') print(r.getFullJacobian())
you get:
S1, S2, x S1 [[ 0, 0, 0], S2 [ -0.5, 0, 0], x [ 0.5, 0, 0]]
which gets the row values wrong for the 0.5, -0.5, and misses out [x,x] entirely.
If you make 'x' a boundary species, it falls back out of the Jacobian and you get the correct values again, but only for S1/S2.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
The following two scripts work fine:
gives you:
and:
gives you:
but if you try to combine them:
you get:
which gets the row values wrong for the 0.5, -0.5, and misses out [x,x] entirely.
If you make 'x' a boundary species, it falls back out of the Jacobian and you get the correct values again, but only for S1/S2.
The text was updated successfully, but these errors were encountered: