summaryrefslogtreecommitdiffstats
path: root/meta-python/recipes-devtools/python/python3-sympy_1.7.1.bb
Commit message (Collapse)AuthorAgeFilesLines
* python3-sympy: Upgrade 1.7.1 -> 1.8Leon Anavi2021-04-151-15/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Upgrade to release 1.8: assumptions: - Q.infinite now correctly evaluates to True for oo, -oo, and zoo - Assumption predicates now correctly evaluates to None for S.NaN - Relational objects do not need to be wrapped by Q.is_true to be asked or refined anymore - Q.is_true wrapping over AppliedPredicate now just return the argument - refine arg(x) when x is real and nonzero - assumptions/relation module is introduced. This module implements binary relation as predicate - AskHandler(), register_handler() and remove_handler() are deprecated. Handler now must be multipledispatch instance - Predicate now uses a single handler which is multipledispatch instance - Predicate can now take multiple arguments - Predicate("...") now returns UndefinedPredicate instance. To define a predicate, you must make a subclass of Predicate calculus: - Using maximum with a piecewise expression over a domain no longer fails due to a bug fix in Piecewise.as_expr_set_pairs codegen: - allowing for multi-dimensional arrays as arguments/locals in c code generation - create_expand_pow_optimization is now customizable with respect to requirement on base - Support flattening of elementwise additions of array expressions - Fixes to array-expressions in order to properly work with ZeroArray and ZeroMatrix - Fixing matrix expression recognition from array-expressions - Minor fixes to the way the AST of array expressions is built - Add normalization of CodegenArrayDiagonal when it's nested with CodegenArrayPermuteDims and CodegenArrayContraction - Increased support for the normalization of array expressions and permutations of indices - parse_matrix_expression( ) is now able to parse traces of matrices combinatorics: - Added a section to the permutation docs about containment in permutation groups geometry: - Fix AssertError for vertical tangent - Geometric entities with symbolic coordinates will not be printed in SVG simplify: - Fix simplify calls sympify without rational parameter - TRmorrie now takes powers of cos terms into account tensor: - Introduced objects ArraySymbol and ArrayElement for array expressions equivalent to MatrixSymbol and MatrixElement in the matrix expression module - Add class ZeroArray for array expressions of zero-valued elements - Make Array differentiation(derive_by_array) work with non sympy expressions - Added tensordiagonal( ) function to perform diagonalization of array expressions - Adding an array with any other type now consistently gives NotImplemented utilities: - Added official support for using CuPy to GPU accelerate lambdify functions - Added Replacer class to simplify the creation of replacement expressions with MatchPy - Added tests for optional parameter in MatchPy patterns - Added string printers for MatchPy-compatible wildcards in sympy.utilities.matchpy_connector - minlex no longer accepts is_set or small arguments - minlex and least_rotation now accept key= arguments similar to sorted vector: - Fixed a bug with integral over ImplicitRegion objects other: - Expanding documentation to include all class members with docstrings License-Update: Update year Signed-off-by: Leon Anavi <leon.anavi@konsulko.com> Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
* python3-sympy: Upgrade 1.6.2 -> 1.7.1Leon Anavi2021-01-081-0/+15
Upgrade to release 1.7.1: - There was a regression in 1.7 that meant that __slots__ would not work correctly for Basic instances and they would end up having __dict__. This also made it possible to set arbitrary attributes on Basic instances such as symbols which breaks immutability. This was fixed in 1.7.1 to ensure that Basic instances do not have __dict__ and it is not possible to set attributes on them. - Fixed lazy iteration of series with expr.series(x, n=None) which was broken in the 1.7 release. - Updated documentation for sympy.stats.sample for seed argument. - sympy.stats.sample now has an optional seed argument. - Random failures with sympy.stats.sample have now been fixed. Signed-off-by: Leon Anavi <leon.anavi@konsulko.com> Acked-by: Trevor Gamblin <trevor.gamblin@windriver.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>