9f614aba11f29ebbf220e1fc6bb22e4c77e1fc7c,mathics/builtin/algebra.py,PolynomialQ,apply,#PolynomialQ#Any#Any#Any#,1012

Before Change



        sympy_expr = expr.to_sympy()
        sympy_result = sympy_expr.is_polynomial(*[x for x in sympy_var])
        return Symbol("True") if sympy_result else Symbol("False")


// Get a coefficient of form in an expression
def _coefficient(name, expr, form, n, evaluation):

After Change



        sympy_expr = expr.to_sympy()
        sympy_result = sympy_expr.is_polynomial(*[x for x in sympy_var])
        return SymbolTrue if sympy_result else SymbolFalse


// Get a coefficient of form in an expression
def _coefficient(name, expr, form, n, evaluation):
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 3

Instances


Project Name: mathics/Mathics
Commit Name: 9f614aba11f29ebbf220e1fc6bb22e4c77e1fc7c
Time: 2021-04-10
Author: rb@dustyfeet.com
File Name: mathics/builtin/algebra.py
Class Name: PolynomialQ
Method Name: apply


Project Name: mathics/Mathics
Commit Name: 24ab1bff71d480227cb7a7de1d7ef34d0c0fcad2
Time: 2016-08-05
Author: 16sn6uv@gmail.com
File Name: mathics/builtin/arithmetic.py
Class Name: _MPMathFunction
Method Name: apply


Project Name: mathics/Mathics
Commit Name: e56f91c9b60f561712d28faae3e4d047adc67760
Time: 2016-09-14
Author: Bernhard.Liebl@gmx.org
File Name: mathics/builtin/importexport.py
Class Name: Import
Method Name: apply