--- - branch: MAIN date: Wed May 12 08:42:42 UTC 2021 files: - new: '1.29' old: '1.28' path: pkgsrc/math/py-sympy/Makefile pathrev: pkgsrc/math/py-sympy/Makefile@1.29 type: modified - new: '1.21' old: '1.20' path: pkgsrc/math/py-sympy/PLIST pathrev: pkgsrc/math/py-sympy/PLIST@1.21 type: modified - new: '1.19' old: '1.18' path: pkgsrc/math/py-sympy/distinfo pathrev: pkgsrc/math/py-sympy/distinfo@1.19 type: modified id: 20210512T084242Z.45648ef8d29c0614481a61920ce75671b2e91fdb log: "py-sympy: updated to 1.8\n\n1.8:\n\nBackwards compatibility breaks and deprecations\n\nPlease manually add any backwards compatibility breaks or deprecations here, in addition to the automatic listing below.\n\nassumptions\n\nAskHandler(), register_handler() and remove_handler() are deprecated. Handler now must be multipledispatch instance.\nparsing\n\nParsing of \"Q\" returns AssumptionKeys instance in assumptions module. This means that sympify(\"Q\") will no longer return a symbol.\nChanges\n\nassumptions\n\nQ.infinite now correctly evaluates to True for oo, -oo, and zoo.\n\nAssumption predicates now correctly evaluates to None for S.NaN.\n\nRelational objects do not need to be wrapped by Q.is_true to be asked or refined anymore\n\nQ.is_true wrapping over AppliedPredicate now just return the argument.\n\nrefine arg(x) when x is real and nonzero\n\nassumptions/relation module is introduced. This module implements binary relation as predicate.\n\nAskHandler(), register_handler() and remove_handler() are deprecated. Handler now must be multipledispatch instance.\n\nPredicate now uses a single handler which is multipledispatch instance.\n\nPredicate can now take multiple arguments.\n\nPredicate(\"...\") now returns UndefinedPredicate instance. To define a predicate, you must make a subclass of Predicate.\n\ncalculus\n\nUsing maximum with a piecewise expression over a domain no longer fails due to a bug fix in Piecewise.as_expr_set_pairs.\ncodegen\n\nallowing for multi-dimensional arrays as arguments/locals in c code generation\n\ncreate_expand_pow_optimization is now customizable with respect to requirement on base.\n\nSupport flattening of elementwise additions of array expressions.\n\nFixes to array-expressions in order to properly work with ZeroArray and ZeroMatrix.\n\nFixing matrix expression recognition from array-expressions.\n\nMinor fixes to the way the AST of array expressions is built\n\nAdd normalization of CodegenArrayDiagonal when it's nested with CodegenArrayPermuteDims and CodegenArrayContraction.\n\nIncreased support for the normalization of array expressions and permutations of indices.\n\nparse_matrix_expression( ) is now able to parse traces of matrices.\n\ncombinatorics\n\nAdded a section to the permutation docs about containment in permutation groups.\nconcrete\n\nImproved infinite summation capability by adding residue formula.\nA bug leading to incorrect evaluation of a summation of an exponential function was fixed.\ncore\n\nFixed a bug in Pow._eval_nseries that added Order terms to exact expansions\n\nFixed a bug in Expr.round that could lead to infinite recursion in integrate.\n\nRemoved deprecated ClassRegistry\n\nget_integer_part no longer has a threshold on the approximation to closest integer based on difference, allowing floor to give more accurate results for smaller evalf precisions also\n\nA bug causing match to fail for expressions with different signs was fixed. Previously this resulted in solve raising an exception for some inputs.\n\nMake S(0.0) == S.false return False\n\n.refine() method is moved from Expr to Basic.\ngcd correctly handles unevaluated Mul\n\nFixed a bug leading to infinite recursion in the old assumptions under evaluate(False).\n\nFixed _eval_is_zero() functionality when imaginary numbers are involved.\n\nKind classification of objects is introduced. This feature is experimental, and can be replaced or deleted in the future.\nMake class Eq with sets as arguments work with simplify().\n\nFixed a few broken cases of expr.is_integer\n\nfunctions\n\nImplemented Riemann Xi function\n\nriemaan xi function\n\nAdded nseries expansion for besselj and bessely\n\nFixed leading term calculation of sin functions to handle angles outside (-pi, pi)\n\nAdded aseries expansion to error functions\n\nChanges _eval_nseries of Abs to no longer return a Piecewise\n\nModified _eval_nseries to handle infinity and added _eval_as_leading_term in floor and ceiling\n\nAdded Generalized Incomplete, Generalized Regularized and Central Beta functions\n\nAdded _eval_nseries support to sign\n\nFixed assumption is_algebraic for exponentials with rational multiples of I*pi to be True.\ngeometry\n\nFix AssertError for vertical tangent\nGeometric entities with symbolic coordinates will not be printed in SVG.\nintegrals\n\nFixed a bug that led to RecursionError in integrals involving hyperbolic functions.\n\nThe heurisch integration method was made faster by improvements in the sparse linear systems solver.\n\nA bug leading to incorrect results when integrating Piecewise expressions where a condition simplifies to True was fixed.\n\nlogic\n\nsimplify_logic faster in most cases, especially for larger expressions.\nrefine() on Boolean objects reduces them to true or false if the truth value can be determined.\nmatrices\n\nFixed a bug that led to the wrong derivative result in matrix expressions.\n\nThe eye and zero functions have been made much faster for large matrices.\n\nAdded two new functions upper_triangular and lower_triangular, that return upper and lower triangular parts of a matrix.\n\nMinus one, integers, rational numbers multiplied with MatAdd is automatically distributed.\n\nAdded function returning Wilkinson matrix\n\nImplemented Singular Value decomposition for matrices\n\nImplemented Upper Hessenberg Decomposition for a matrix\n\neigenvals, eigenvects without radical solution will be returned as CRootOf\nAdded function to calculate Generalized Schur Complement for Block Matrices\n\nAdded functions to compute LDU, UDL and LU decompositions for Block Matrices\n\nFixed issues with dot product for Matrix.orthogonalize with complex vectors.\n\nFixed zero division issues for Matrix.QRdecomposition with zero columns coming first than nonzero columns.\n\nAdded a function to compute the permanent of a matrix\nChanged behaviour of eq() of class DenseMatrix\n\ndet has a new option 'gauss-ge' which is much faster in many cases\n\nntheory\n\nAdded documentation of ecm and qs functions\n\nFixed a bug in the is_gaussian_prime function for python complex numbers (e.g. 1+1j).\n\nprimerange now accepts a single argument i.e., primerange(input_arg) is valid and is same as primerange(2, input_arg).\n\nAdded motzkin numbers\n\nparsing\n\nFixed issue with parsing logarithm bases without curly braces\nFix parse_expr parsing of expressions with methods when using the implicit_multiplications transformation.\n\nInclude the transformed code in the error message when the evaluation in parse_expr fails.\n\nExtended the LaTeX parser with support for complex conjugates (via \\overline{...}).\n\nLatex parser does not evaluate sqrt expressions anymore.\n\nphysics.continuum_mechanics\n\nmake beam module compute correctly internal forces\nphysics.optics\n\nFixed bugs related to basic operations on TWave\nphysics.quantum\n\nWignerD now evaluates to KroneckerDelta in some cases.\nphysics.units\n\nFix bug when input argument to a function is an integer\n\nChange default behavior for functions (all function arguments must be dimensionless by default)\n\nsin, cos, tan, cot, sec, and csc functions may have a dimensionless or angle input argument\n\nExponents must now be dimensionless\n\nConstants such as pi and E are now treated as dimensionless (raised exception previously)\n\nNumbers with an imaginary component are now treated as dimensionless (raised exception previously)\n\nFixed a bug with derived units and dimensions in check_dimensions.\n\nFix bug in convert_to returning wrong units in some cases where the linear equation system between canonical units is unsolvable.\n\nphysics.vector\n\nFix documentation for v1pt_theory\nIntroduced new methods on ReferenceFrame: .orient_axis(), .orient_explicit(), .orient_body_fixed(), .orient_space_fixed(), and .orient_quaternion(). .orient() calls out to each new method and it is recommended to use the new methods.\nAdded .xreplace() to Vector Class.\n\nAdded .xreplace() to Dyadic Class.\n\nAdded .evalf() to Vector class\n\nAdded .evalf() to Dyadic class\n\nplotting\n\nAdded handling for OverflowError (when plotting functions like exp(1/x)).\npolys\n\nAdded internal representation as both dense and sparse matrix\n\nAdded docstrings for Domain Matrix class\n\nAdd zeros method to DomainMatrix\n\nA new sparse implementation of DomainMatrix is added.\n\nmake is_disjoint strict so that inequalities evaluated with solve() return consistent results\n\nThe DomainMatrix class has moved from sympy.polys.domainmatrix to sympy.polys.matrices and should now be imported as from sympy.polys.matrices import DomainMatrix.\n\nA new polys FiniteExtension domain is added.\n\nnumberfields: implemented new algorithm for primitive_element in case ex=True.\nadded boilerplate index method for FracField\n\nSolved bug in Poly.replace\n\nSolve a bug in polytools.degree.\n\nUse assumption system instead of structural equality check in __bool__ method of Expression domain element (fixing cases where Poly(...).is_zero would incorrectly return False)\n\nprinting\n\nThe pretty printer was made faster when printing large sequences (e.g. tuples, sets etc).\n\nFixed a bug which led to latex printing error in singularity function expressions.\n\nReplaced the Theano printer with an Aesara printer\n\nSymbols with Unicode character names and no underscores, like Ï\x890 now properly pretty print subscripts.\n\nFix the printing of the vertical bar in ImageSet, ConditionSet, and ComplexRegion so that it is the full height in the pretty and LaTeX printers.\n\nFix the tag for the degree of a root with a rational base in MathML output.\n\nirrational powers are no longer printed with square root sign, they are printed as fractional powers\n\nAllow spreading assignments across multiple symbols when printing multi-member objects.\n\nSupport various array constructor types when printing arrays to GLSL.\n\nFixes a bug when printing negative expressions to GLSL with operators printed as functions.\n\nSupport a custom 0 substitution for printing expressions representing various GLSL types.\n\nmake cxxcode correctly print the first argument of Min/Max functions\n\nsets\n\nAdded basic denesting functionaility for sets of the form ConditionSet(x, Contains(x, ...)).\n\nConditionSet.contains(x) now returns False if x is not in the base set (even if its substitution into the condition will cause an error).\n\nFiniteSet.evalf with a subs argument now does the substitution. Previously, the argument was ignored.\n\nAdd .simplify to FiniteSet.\n\nMake 'is_subset' work for ProductSet\n\nchanged behavior of Rationals.contains(float) to indeterminate\n\ntests modified to include new behavior\n\n.evalf() precisions with x and FiniteSet(x) is same now.\n\nsimplify\n\nFix simplify calls sympify without rational parameter\nTRmorrie now takes powers of cos terms into account\nsolvers\n\nFixed a bug in solve that expanded hyperbolic function constants to equivalent exp form.\n\nHandle x**r=0 case in invert_complex\n\nFixed a bug in solveset, which led to infinite recursion for solving some expressions involving radicals.\n\nThe new sparse DomainMatrix implementation is used in linsolve to make it much faster when solving large sparse systems of linear equations.\n\nModified symbols sorting in solvers._solve_system to ensure solve and linsolve solve the same way\n\nAdded solver for 2nd order nonlinear autonomous ODE.\n\nspeed improvement in a substep of rsolve_hyper (when computing constant solutions to constant coefficient recurrences).\n\nFixed incorrect solutions from rsolve for higher order recurrences\n\nstats\n\nRefactory and simplification of sampling backends for random variables.\n\nExpectation can now be calculated across multiple Uniform RVs evaluating to zero\n\nImplemented Matrix Student's t-distribution\n\nFixed simplification bug in Stochastic Processes by introducing abstract Distribution class\n\nAPI changed for StochasticProcess.distribution which now expects a timestamp argument instead of RandomIndexedSymbol object.\n\nImplemented FlorySchulz Distribution\n\nimplemented LogCauchy Distribution\n\nImplemented Logit-Normal probability distribution\n\nFixes cdf computation of Discrete random variables by using integer limits\n\nAdded 2 new distributions in frv_types.\n\nadded support for fundamental matrix for regular markov chains\n\nAdded support for multiple RandomIndexedSymbols in DiscreteMarkovChain\n\ntensor\n\nIntroduced objects ArraySymbol and ArrayElement for array expressions equivalent to MatrixSymbol and MatrixElement in the matrix expression module.\nshape() function is introduced in array module.\nAdd class ZeroArray for array expressions of zero-valued elements.\n\nMake Array differentiation(derive_by_array) work with non sympy expressions.\n\nAdded tensordiagonal( ) function to perform diagonalization of array expressions.\n\nAdding an array with any other type now consistently gives NotImplemented.\nutilities\n\nAdded official support for using CuPy to GPU accelerate lambdify functions.\n\nAdded Replacer class to simplify the creation of replacement expressions with MatchPy.\n\nAdded tests for optional parameter in MatchPy patterns.\n\nAdded string printers for MatchPy-compatible wildcards in sympy.utilities.matchpy_connector\n\nAdded WildDot, WildPlus and WildStar classes to MatchPy connector. These classes correspond to the dot, dot-plut and dot-star expressions in regular expression, but operate on SymPy expression trees and are aware of associative and commutative properties, features supported through the MatchPy library.\n\nminlex no longer accepts is_set or small arguments\n\nminlex and least_rotation now accept key= arguments similar to sorted.\n\nvector\n\nFixed a bug with integral over ImplicitRegion objects\nother\n\nExpanding documentation to include all class members with docstrings\n" module: pkgsrc subject: 'CVS commit: pkgsrc/math/py-sympy' unixtime: '1620808962' user: adam