Diofant 0.14
12 Apr 2023
New features
Major changes
Compatibility breaks
Removed
poly()
function, useas_poly()
method to create aPoly
instance fromExpr
, see #1047.Removed functions
bool_map()
,POSform()
andSOPform()
, see 04ea41a220 and be319badf5.Changed semantics of the
dir
kwarg for theLimit
, now ‘+’ is -1, ‘-’ is 1 and ‘real’ isReals
, see #1234 and #1235.Removed
diofant.calculus.euler
anddiofant.calculus.finite_diff
modules, see #1271.Removed
diofant.vector
module, see #1274.Removed
diofant.diffgeom
module, see #1281.Removed
diofant.stats
module, see #1276.Removed
diofant.geometry
module andline_integrate()
function, see #1283.Removed
diofant.plotting
module, see #1284.Removed unused
prefixes()
,postfixes()
,capture()
andvariations()
functions, see #1282 and #1290.Removed
S.UniversalSet
singleton object and related class, see #1308.
Minor changes
Developer changes
Use
pyproject.toml
to keep project’s metadata, see #1226.Drop dependency on the flake8-rst and depend on the flake518 instead, see #1268.
Issues closed
See the release milestone for complete list of issues and pull requests involved in this release.
These Sympy issues also were addressed:
sympy/sympy#22487: [integrals] Wrong result for Integral((cos(x**2)-cos(x))/x**2, (x, -oo, oo))
sympy/sympy#22493: Series expansion introduces new variables
sympy/sympy#22558: Error in ODE-Solver-Documentation
sympy/sympy#22837: Solve simplest algebraic equations with dummy parameter
sympy/sympy#22836: Series: Possible improvements for Order of expressions involving factorials
sympy/sympy#22788: RecursionError for unevluated expression in latex
sympy/sympy#22863: Hangs: integrate((3*x**3-x**2+2*x-4)/sqrt(x**2-3*x+2), (x, 0, 1))
sympy/sympy#22862: Problem with separable differential equation
sympy/sympy#22893: ‘limit’ in combination with ‘positive=True’ gives wrong result
sympy/sympy#22878: RecursionError in trigsimp
sympy/sympy#22982: limit((log(E + 1/x) - 1)**(1 - sqrt(E + 1/x)), x, oo) returns 0 instead of oo
sympy/sympy#22986: limit(acosh(1 + 1/x)*sqrt(x), x, oo) is evaluated incorrectly.
sympy/sympy#14433: x not in QQ.frac_field(1/x)
sympy/sympy#23069: integrate(r**4*sqrt(1 - r**2), (r, 0, 1)) gives incorrect result
sympy/sympy#19639: TypeError in integrate
sympy/sympy#23086: Incorrect result of simplify
sympy/sympy#23156: sympy.Sum() bug when summing up reciprocal of gamma
sympy/sympy#23174: Problem with gf_edf_zassenhaus()
sympy/sympy#21409: Printing of polynomial over FF
sympy/sympy#22673: Roots of a polynomial over a finite field computed regardless of specified polynomial domain
sympy/sympy#12531: cancel does not return expanded form
sympy/sympy#6322: degree((x+1)**10000) takes too long
sympy/sympy#22583: is_polynomial right for wrong reasons (and sometimes wrong)
sympy/sympy#23202: Dropping “all” __ne__ methods?
sympy/sympy#23223: Wrong integration results of trigonometric functions
sympy/sympy#23224: Python code printer not respecting tuple with one element
sympy/sympy#23231: Sympy giving the wrong solution
sympy/sympy#14387: Tutorial on limits creates impression that they are two-sided by default
sympy/sympy#8166: Limit assumes function is continuous?
sympy/sympy#14502: Problem with limit including factorial.
sympy/sympy#18492: Limit of Piecewise function - NotImplementedError: Don’t know how to calculate the mrv
sympy/sympy#23266: Regression(?) in 1.10 for limits
sympy/sympy#7391: Limits for expressions with undetermined functions give wrong results
sympy/sympy#23287: Regression in is_integer for Mul of Pow
sympy/sympy#11496: Wrong result in limit calculation of limit(erfc(ln(1/x)),x,oo)?
sympy/sympy#3663: series expansion of acosh and acoth
sympy/sympy#23299: Sympy is unable to integrate this
sympy/sympy#23319: testing limit of n*tan(pi/n) results in incorrect answer in 1.7rc1+
sympy/sympy#5539: Equal Integrals compare different when using different variables
sympy/sympy#23425: PolynomialError when I try to call classify_ode
sympy/sympy#23432: Series expansion around float fails with NotImplementedError
sympy/sympy#8433: limit involving error function returns bad result
sympy/sympy#13750: erf has wrong limit in -oo
sympy/sympy#23497: binomial(-1, -1) returns 0, should return 1
sympy/sympy#23562: In new version of sympy, dsolve does not give a solution when another derivative is involved
sympy/sympy#23585: FiniteSet documentation inconsistent with usage in sympy
sympy/sympy#23596: Integral of real function has complex result
sympy/sympy#23605: Inefficiency in the Integrator with a Rational Expression
sympy/sympy#23637: Missing solutions from polynomial system (various solvers)
sympy/sympy#23479: Sparse poly gcd fails with HeuristicGCDFailed(‘no luck’)
sympy/sympy#22605: Incorrect result from minpoly(cos(pi/9))
sympy/sympy#23677: minimal_polynomial fails for very complicated algebraic number
sympy/sympy#23836: Incorrect results for limits of Piecewise at discontinuity
sympy/sympy#23845: Gruntz should have been free of _w, value error, recursion error
sympy/sympy#23855: linsolve gives odd result if symbols are duplicated
sympy/sympy#24067: incorrect limit in simple parametric rational polynomial
sympy/sympy#24127: Error on all limits with Piecewise
sympy/sympy#23702: Cannot specify ODE initial conditions as just f(0)
sympy/sympy#23707: AttributeError in integral
sympy/sympy#24210: Error on limits regarding terms like (1+u)^v.
sympy/sympy#24225: Multivariable limit should be undefined, but gives unity.
sympy/sympy#24266: Changed behaviour of series() involving exp, I
sympy/sympy#24331: Limit of log(z) as z goes to 0 with z complex returns ‘-oo’ instead of ‘zoo’
sympy/sympy#23766: Factor hangs on exponential functions with base e
sympy/sympy#24360: Remove usage of numpy.distutils in autowrap module
sympy/sympy#24346: factor with extension=True fails for rational expression
sympy/sympy#20913: Poly(x + 9671406556917067856609794, x).real_roots() is slow
sympy/sympy#24386: sympy.limit yields wrong limit in sigmoidal expression
sympy/sympy#24390: Incorrectly evaluated expression
sympy/sympy#24461: sympy.polys.polyerrors.HeuristicGCDFailed: no luck – when multiplying two Polys
sympy/sympy#24543: Rational calc value error
sympy/sympy#6326: PolynomialRing should not derive from CharacteristicZero
sympy/sympy#24684: Unable to evaluate erfcinv
sympy/sympy#6822: Multivariate Order()
sympy/sympy#24477: Expand before integrate gives different results with big O
sympy/sympy#24928: simplify(asinh(2)-oo)->0
sympy/sympy#24948: .is_positive returns None when it should be False
sympy/sympy#24957: Timeout for dsolve((2x^3+3y)+(3x+y-1)y’=0)
sympy/sympy#24955: Timeout for dsolve(x^2*y’-y^2*y’+2*x*y=0)
sympy/sympy#22943: RootOf for polynomials with irrational algebraic coefficients