Displaying 1 result from an estimated 1 matches for "jstrval".
Did you mean:
strval
2011 Mar 04
1
Multi-line input to rsympy
Dear R users,
I have been using rsympy to solve a set of simultaneous equations from
R. There are two solutions for the variable I'm interested in, xx[0] and
xx[1], which are in terms of symbols called lam and conc. I'd like to
pick out the one which is positive at (lam=0, conc=0) and call it mysol.
In python I could write:
if (xx[0].subs(lam,0)).subs(conc,0)>0:
mysol=xx[0]