Added a get_value() method to both the Parameter and Expression classes. This gives us a way to get values from each without having to check the type. For Expression objects, sympy.evalf() is used, which returns a float if the expression is a constant. Otherwise, it just returns the original expression, possibly partially evaluated.
Added a get_value() method to both the Parameter and Expression classes.
This gives us a way to get values from each without having to check the
type. For Expression objects, sympy.evalf() is used, which returns a
float if the expression is a constant. Otherwise, it just returns the
original expression, possibly partially evaluated.
johnbachman/pysb,LoLab-VU/pysb,pysb/pysb,johnbachman/pysb,LoLab-VU/pysb,jmuhlich/pysb,alubbock/pysb