from sympy import *
. They can still be imported directly like from sympy import core
or accessed like sympy.core
, or like sys.modules['sympy.simplify']
for modules that share names with SymPy functions. --
You received this message because you are subscribed to the Google Groups "sympy" group.
To unsubscribe from this group and stop receiving emails from it, send an email to sympy+un...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/sympy/CAHVvXxSEkNPjffwqiOA4-8xP0_1D8wAfLVrU9SbnvYSTRZC_Gg%40mail.gmail.com.
Dear Group,
I notice this item in the highlights of 1.6.
DEPRECATION: Passing Poly as the integrand to the integrate
function or Integral
class is now deprecated. Use
the integrate method instead e.g. Poly(x, x).integrate(x)
I do feel a little uneasy about pushing people to use
object oriented syntax rather than the integrate function is
undesirable. I mean for mathematicians and others who have not
come across object oriented programming, I would have thought
the dot notation does not come naturally and will confuse
because it suggests a product! This notation is also alien to
Mathematica, which many will be familiar with.
David
I had a look at the backwards incompatibilities.
This one stood out:
Submodule names are no longer imported withfrom sympy import *
. They can still be imported directly likefrom sympy import core
or accessed likesympy.core
, or likesys.modules['sympy.simplify']
for modules that share names with SymPy functions.
Is this really necessary? On the face of it, I suspect this could cause a fair amount of code in the wild to break. I'm not sure what breaking this functionality gains, but it surely may cause down stream pain.
I agree strongly with this comment.
There needs to be a simple sway to load all the SymPy
functionality - not least because users may not know the exact
name of a function they wish to use, let alone what submodule it
is located in! In addition, as Jason says, this will break a great
deal of code.
Not everyone who wishes to use SymPy is going to be familiar with
Python.
David
Well I assumed all along that Poly objects were a much more
efficient way of representing polynomials - presumably an array
of tuples of coefficients and exponents where the coefficient is
non-zero. If these things are all converted back before the user
gets the result, that is just fine. The comparison with
Mathematica is interesting, but maybe lead me astray. There there
are multiple types of objects (e.g. integers, integer arrays, etc)
that behave and display identically to users but have a different
internal structures and iner-rconvert silently as required.
David
--
You received this message because you are subscribed to the Google Groups "sympy" group.
To unsubscribe from this group and stop receiving emails from it, send an email to sympy+un...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/sympy/CAHVvXxSBcNw5Ov5QFsT49H86FCxxZDkbsu04%3DmA5tA89cj5QNw%40mail.gmail.com.
--
You received this message because you are subscribed to the Google Groups "sympy" group.
To unsubscribe from this group and stop receiving emails from it, send an email to sympy+un...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/sympy/CAHVvXxT7Ji6Y4FE5UN%2BKwQmDs7zwNFt65Exg2r771Hr26SHGTA%40mail.gmail.com.
--
You received this message because you are subscribed to the Google Groups "sympy" group.
To unsubscribe from this group and stop receiving emails from it, send an email to sympy+un...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/sympy/CAHVvXxT71L2%2BumrL6a0DB_Nfj%3D%3DA2JMxtMGQ85xx%2B0_%2B9tWHrw%40mail.gmail.com.
--
You received this message because you are subscribed to the Google Groups "sympy" group.
To unsubscribe from this group and stop receiving emails from it, send an email to sympy+un...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/sympy/CAHVvXxS8ZLoBzercBDypJ-b4Tk3eWRYFULVEvOjiYs8b%3DLFNCg%40mail.gmail.com.