These are the release notes for SymPy 0.7.0. SymPy 0.7.0 was released on June 28, 2011.
summation()(see: 3e763a8, issues 1376, 1727). This was changed so that it no longer overrides the built-in
sum(). The unevaluated summation is still called
Abs()(see: 64a12a4, issue 1727). This was also changed so that it no longer overrides the built-in
abs(). Note that because of
__abs__magic, you can still do
abs(expr)with the built-in
abs(), and it will return
Min()(see: 99a271e, issue 2153)
symbols('xyz')gives now a single symbol (
'xyz'), not three (
'z') (see: f6452a8). Use
symbols('x y z')to get three symbols. The 'each_char' option will still work but is being deprecated.
Basicinto new classes
Boolean(see: a0ab479, 635d89c). Classes that are designed to be part of standard symbolic expressions (like
x**2*sin(x)) should subclass from
Expr. More generic objects that do not work in symbolic expressions but still want the basic SymPy structure like
.argsand basic methods like
.subs()should only subclass from
as_basic()method was renamed to
as_expr()to reflect changes in the core (see: e61819d, 80dfe91)
as_coeff_factorswere renamed to
trim()function. The function is redundant with the new polys (see below). Use the
logcombine()was renamed to
forceto be consistant with similar
forceoptions to other functions.
roots()supports more classes of polynomials (e.g. cyclotomic) (see: d8c8768, 75c8d2d)
quo()) now defaults to a field (see: a72d188)
sqf()and related functions (see: d521c7f, 548120b, f6f74e6, b1c49cd, 3527b64)
together()was significantly improved (see: dc327fe)
RootSumwere significantly improved (see: f3e432, 4c88be6, 41502d7)
sympy.polyswith Cython (see: afb3886)
sympy.physics.quantum. This includes operators, states (bras and kets), commutators, anticommutators, dagger, inner products, outer products, tensor products and Hilbert spaces
sympy.physics.quantum. This includes qubits (
sympy.physics.quantum.qubit), gates (
sympy.physics.quantum.gate), Grover's algorithm (
sympy.physics.quantum.grover), the quantum Fourier transform (
sympy.physics.quantum.qft), Shor's algorithm (
sympy.physics.quantum.shor) and circuit plotting (
from sympy import *that shouldn't have been (like
sys). This has been fixed.
Sum2and related classes (see: ef1f6a7)
a.simplify() == simplify(a))
.has()(see: c83c9b0, issue 1980; d86d08f)
var()(see: f6452a8, 9aeb220, 957745a)
Intervalto relational form (see: 4c269fe)
.is_Realwere renamed to
.is_Realstill remain as deprecated shortcuts to
is_Floatfor backwards compatibility. (see: abe1c49)
-pswitch (see: e8cb04a)
-Cswitch (see: 0d8d748)
-tswitch (see: 75734f8)
-oswitch (see: fcc6b13, 4ec9dc5)
SMatrixwas renamed to
sympy.printingnow supports ordering of terms and factors (see: 859bb33)
x**2 + x + 1instead of
1 + x + x**2, however series still print using reversed ordering, e.g.
x - x**3/6 + O(x**5). You can get the old order (and other orderings) by setting the
-ooption to isympy (see: 08b4932, a30c5a3)
x0 != 0, series should be more robust now (see: 2c99999, issues 2122-2124)
rationalwas added to nsimplify which will replace Floats with Rational approximations. (see: 053a045)
flatten()was significantly improved (see: 31ed8d7)
In addition to the more noticeable changes listed above, there have been numerous other smaller additions, improvements and bug fixes in the ~2000 commits in this release. See the git log for a full list of all changes. The command
git log sympy-0.6.7..sympy-0.7.0 will show all commits made between this release and the last. You can also see the issues closed since the last release here.
The following people contributed at least one patch to this release (names are given in alphabetical order by last name). A total of 64 people contributed to this release. People with a * by their names contributed a patch for the first time for this release. Thirty-seven people contributed for the first time for this release. Over half of the people who contributed to this release contributed for the first time!
Thanks to everyone who contributed to this release!