Module Expr Str ImportFrom alias alias alias alias alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias alias alias alias alias alias alias alias FunctionDef arguments args defaults body Assert CompareEq Call NameLoad Num NameLoad NameLoad NameLoad TupleLoad Num Num Assert CompareEq Call NameLoad Num NameLoad NameLoad NameLoad TupleLoad Num Num Assign NameStore BinOpAdd BinOpAdd NameLoad NameLoad NameLoad Assign NameStore BinOpAdd BinOpAdd BinOpMult NameLoad NameLoad BinOpMult NameLoad NameLoad BinOpMult NameLoad NameLoad Assign NameStore BinOpMult BinOpMult NameLoad NameLoad NameLoad Assert CompareEq Call NameLoad Num TupleLoad Num Num Assert CompareEq Call NameLoad Num keyword NameLoad TupleLoad Num Num ListLoad Assert CompareEq Call NameLoad NameLoad TupleLoad NameLoad Num Assert CompareEq Call NameLoad BinOpAdd NameLoad Num TupleLoad BinOpAdd NameLoad Num Num Assert CompareEq Call NameLoad NameLoad NameLoad NameLoad TupleLoad BinOpAdd NameLoad NameLoad UnaryOpUSub NameLoad Assert CompareEq Call NameLoad BinOpAdd NameLoad Num NameLoad NameLoad TupleLoad BinOpAdd BinOpAdd NameLoad NameLoad Num UnaryOpUSub NameLoad Assert CompareEq Call NameLoad NameLoad NameLoad NameLoad NameLoad TupleLoad NameLoad BinOpSub UnaryOpUSub NameLoad NameLoad Assert CompareEq Call NameLoad BinOpAdd NameLoad Num NameLoad NameLoad NameLoad TupleLoad BinOpAdd NameLoad Num BinOpSub UnaryOpUSub NameLoad NameLoad Assert CompareEq Call NameLoad BinOpPow NameLoad Num NameLoad NameLoad NameLoad TupleLoad BinOpSub BinOpPow NameLoad Num BinOpMult Num NameLoad BinOpSub UnaryOpUSub BinOpPow NameLoad Num BinOpPow NameLoad Num Assert CompareEq Call NameLoad BinOpAdd BinOpPow NameLoad Num BinOpPow NameLoad Num TupleLoad BinOpAdd BinOpMult BinOpMult Num NameLoad NameLoad BinOpPow BinOpAdd NameLoad NameLoad Num Num Assert CompareEq Call NameLoad BinOpSub BinOpPow NameLoad Num BinOpPow NameLoad Num TupleLoad BinOpAdd BinOpMult BinOpMult Num NameLoad NameLoad BinOpPow BinOpAdd NameLoad NameLoad Num BinOpMult Num BinOpPow NameLoad Num Assert CompareEq Call NameLoad BinOpAdd BinOpAdd BinOpAdd BinOpPow NameLoad Num BinOpPow NameLoad Num BinOpMult NameLoad BinOpPow NameLoad Num BinOpMult NameLoad BinOpPow NameLoad Num NameLoad NameLoad TupleLoad BinOpAdd BinOpAdd BinOpSub BinOpMult BinOpMult BinOpMult Num NameLoad NameLoad BinOpAdd NameLoad NameLoad BinOpMult BinOpMult BinOpMult Num NameLoad NameLoad NameLoad BinOpMult NameLoad BinOpPow BinOpAdd NameLoad NameLoad Num BinOpPow BinOpAdd NameLoad NameLoad Num BinOpAdd BinOpMult BinOpPow NameLoad Num BinOpSub Num NameLoad BinOpMult BinOpPow NameLoad Num BinOpSub NameLoad Num Assign NameStore ListStore NameStore NameStore NameStore Call NameLoad Str Assert CompareEq Call NameLoad BinOpAdd NameLoad Num NameLoad NameLoad NameLoad keyword NameLoad keyword NameLoad TupleLoad BinOpAdd NameLoad Num BinOpSub UnaryOpUSub NameLoad NameLoad ListLoad TupleLoad NameLoad BinOpAdd BinOpAdd NameLoad NameLoad NameLoad TupleLoad NameLoad BinOpAdd BinOpAdd BinOpMult NameLoad NameLoad BinOpMult NameLoad NameLoad BinOpMult NameLoad NameLoad TupleLoad NameLoad BinOpMult BinOpMult NameLoad NameLoad NameLoad Assert CompareEq Call NameLoad ListLoad Num Num Num ListLoad TupleLoad Num Num TupleLoad Num Num TupleLoad Num Num Assert CompareEq Call NameLoad ListLoad Num Num Num keyword NameLoad TupleLoad ListLoad TupleLoad Num Num TupleLoad Num Num TupleLoad Num Num ListLoad Assert CompareEq Call NameLoad ListLoad BinOpAdd NameLoad NameLoad BinOpSub NameLoad NameLoad ListLoad TupleLoad BinOpAdd NameLoad NameLoad Num TupleLoad BinOpAdd NameLoad NameLoad BinOpMult Num NameLoad decorator_list FunctionDef arguments args defaults body Assert CompareEq Call NameLoad Num Num Assert CompareEq Call NameLoad Num Num Assert CompareEq Call NameLoad NameLoad NameLoad Assert CompareEq Call NameLoad BinOpAdd NameLoad Num BinOpAdd NameLoad Num Assert CompareEq Call NameLoad BinOpAdd BinOpPow NameLoad Num Num BinOpAdd BinOpPow NameLoad Num Num Assert CompareEq Call NameLoad BinOpAdd BinOpPow NameLoad Num NameLoad BinOpMult BinOpAdd NameLoad Num NameLoad Assert CompareEq Call NameLoad BinOpAdd BinOpAdd BinOpPow NameLoad Num NameLoad Num BinOpAdd BinOpMult BinOpAdd NameLoad Num NameLoad Num Assert CompareEq Call NameLoad BinOpAdd BinOpAdd BinOpAdd BinOpAdd BinOpMult Num BinOpPow NameLoad Num BinOpMult Num BinOpPow NameLoad Num BinOpMult Num BinOpPow NameLoad Num BinOpMult Num NameLoad Num BinOpAdd BinOpMult BinOpAdd BinOpMult BinOpAdd BinOpMult BinOpAdd BinOpMult Num NameLoad Num NameLoad Num NameLoad Num NameLoad Num Assert CompareEq Call NameLoad BinOpAdd BinOpAdd BinOpAdd BinOpAdd BinOpMult NameLoad BinOpPow NameLoad Num BinOpMult NameLoad BinOpPow NameLoad Num BinOpMult NameLoad BinOpPow NameLoad Num BinOpMult NameLoad NameLoad NameLoad BinOpAdd BinOpMult BinOpAdd BinOpMult BinOpAdd BinOpMult BinOpAdd BinOpMult NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad Assert CompareEq Call NameLoad BinOpAdd BinOpAdd BinOpAdd BinOpMult BinOpMult Num BinOpPow NameLoad Num BinOpPow NameLoad Num BinOpMult BinOpMult Num BinOpPow NameLoad Num NameLoad BinOpMult BinOpMult Num NameLoad BinOpPow NameLoad Num BinOpMult NameLoad NameLoad keyword NameLoad BinOpMult BinOpAdd BinOpMult BinOpMult BinOpAdd BinOpMult Num NameLoad Num NameLoad NameLoad BinOpMult BinOpAdd BinOpMult Num NameLoad Num NameLoad NameLoad Assert CompareEq Call NameLoad BinOpAdd BinOpAdd BinOpAdd BinOpMult BinOpMult Num BinOpPow NameLoad Num BinOpPow NameLoad Num BinOpMult BinOpMult Num BinOpPow NameLoad Num NameLoad BinOpMult BinOpMult Num NameLoad BinOpPow NameLoad Num BinOpMult NameLoad NameLoad keyword NameLoad BinOpMult BinOpAdd BinOpMult BinOpMult BinOpAdd BinOpMult Num NameLoad Num NameLoad NameLoad BinOpMult BinOpAdd BinOpMult Num NameLoad Num NameLoad NameLoad decorator_list FunctionDef arguments args defaults body Assert CompareEq Call NameLoad ListLoad Num Num Num Num NameLoad BinOpPow NameLoad Num Assert CompareEq Call NameLoad ListLoad TupleLoad Num Num TupleLoad Num Num TupleLoad Num Num NameLoad BinOpPow NameLoad Num Assert CompareEq Call NameLoad ListLoad TupleLoad Num Num TupleLoad Num Num TupleLoad Num Num NameLoad BinOpAdd Num BinOpPow NameLoad Num Assert CompareEq Call NameLoad Dict Num Num Num Num Num Num NameLoad BinOpAdd Num BinOpPow NameLoad Num decorator_list FunctionDef arguments args defaults body Assign TupleStore NameStore NameStore Call NameLoad Str Assign NameStore ListLoad Num Num Num Num Num Num Assign NameStore ListLoad Num Num Num Num Num Num Assign NameStore ListLoad Num Num Num Num Num Num Assert CompareEq Call NameLoad Call NameLoad Call NameLoad NameLoad NameLoad Num BinOpDiv BinOpAdd BinOpMult Num BinOpPow NameLoad Num Num NameLoad Assert CompareEq Call NameLoad Call NameLoad Call NameLoad NameLoad NameLoad Num BinOpDiv BinOpAdd BinOpMult Num BinOpPow NameLoad Num Num NameLoad Assert CompareEq Call NameLoad Call NameLoad Call NameLoad NameLoad NameLoad Num keyword NameLoad BinOpDiv BinOpSub BinOpMult Num BinOpPow NameLoad Num Num BinOpAdd NameLoad Num Assign NameStore Call NameLoad Call NameLoad Num Num Assign NameStore ListLoad Num Num Num Num Num Num Num Num Num Num Assert CompareEq Call NameLoad Call NameLoad Call NameLoad NameLoad NameLoad Num BinOpDiv BinOpSub BinOpAdd BinOpSub BinOpAdd BinOpMult Num BinOpPow NameLoad Num BinOpMult Num BinOpPow NameLoad Num BinOpMult Num BinOpPow NameLoad Num BinOpMult Num NameLoad Num BinOpAdd BinOpSub BinOpAdd BinOpPow NameLoad Num BinOpMult Num BinOpPow NameLoad Num BinOpMult Num NameLoad Num decorator_list FunctionDef arguments args defaults body Assign TupleStore NameStore NameStore Call NameLoad Str Assert CompareEq Call NameLoad BinOpAdd BinOpAdd BinOpMult NameLoad BinOpPow NameLoad Num BinOpMult NameLoad NameLoad NameLoad ListLoad NameLoad NameLoad NameLoad ListLoad TupleLoad BinOpAdd NameLoad NameLoad BinOpDiv UnaryOpUSub NameLoad NameLoad TupleLoad BinOpMult NameLoad NameLoad BinOpDiv NameLoad NameLoad Expr Call NameLoad NameLoad Lambda arguments args defaults Call NameLoad Num ListLoad NameLoad Expr Call NameLoad NameLoad Lambda arguments args defaults Call NameLoad BinOpAdd BinOpPow NameLoad Num Num ListLoad NameLoad Expr Call NameLoad NameLoad Lambda arguments args defaults Call NameLoad BinOpAdd NameLoad NameLoad ListLoad NameLoad decorator_list
N/A N/A Tests for high-level polynomials manipulation functions.  sympy.polys.polyfuncs symmetrize horner interpolate rational_interpolate viete sympy.polys.polyerrors MultivariatePolynomialError sympy symbols sympy.utilities.pytest raises sympy.abc a b c d e x y z test_symmetrize N/A N/A N/A N/A N/A N/A N/A symmetrize 0 x y z N/A 0 0 N/A N/A N/A symmetrize 1 x y z N/A 1 0 N/A s1 N/A N/A x y z N/A s2 N/A N/A N/A x y N/A x z N/A y z N/A s3 N/A N/A x y z N/A N/A N/A symmetrize 1 N/A 1 0 N/A N/A N/A symmetrize 1 formal True N/A 1 0 N/A N/A N/A N/A symmetrize x N/A x 0 N/A N/A N/A symmetrize N/A x 1 N/A N/A x 1 0 N/A N/A N/A symmetrize x x y N/A N/A x y N/A y N/A N/A N/A symmetrize N/A x 1 x y N/A N/A N/A x y 1 N/A y N/A N/A N/A symmetrize x x y z N/A s1 N/A N/A y z N/A N/A N/A symmetrize N/A x 1 x y z N/A N/A s1 1 N/A N/A y z N/A N/A N/A symmetrize N/A x 2 x y z N/A N/A N/A s1 2 N/A 2 s2 N/A N/A N/A y 2 N/A z 2 N/A N/A N/A symmetrize N/A N/A x 2 N/A y 2 N/A N/A N/A N/A -2 x y N/A N/A x y 2 0 N/A N/A N/A symmetrize N/A N/A x 2 N/A y 2 N/A N/A N/A N/A -2 x y N/A N/A x y 2 N/A -2 N/A y 2 N/A N/A N/A symmetrize N/A N/A N/A N/A x 3 N/A y 2 N/A a N/A x 2 N/A b N/A y 3 x y N/A N/A N/A N/A N/A N/A N/A -3 x y N/A x y N/A N/A N/A 2 a x y N/A a N/A N/A x y 2 N/A N/A x y 3 N/A N/A N/A y 2 N/A 1 a N/A N/A y 3 N/A b 1 N/A U N/A u0 u1 u2 N/A symbols u:3 N/A N/A N/A symmetrize N/A x 1 x y z formal True symbols U N/A N/A u0 1 N/A N/A y z N/A N/A u0 N/A N/A x y z N/A u1 N/A N/A N/A x y N/A x z N/A y z N/A u2 N/A N/A x y z N/A N/A N/A symmetrize N/A 1 2 3 N/A N/A 1 0 N/A 2 0 N/A 3 0 N/A N/A N/A symmetrize N/A 1 2 3 formal True N/A N/A N/A 1 0 N/A 2 0 N/A 3 0 N/A N/A N/A N/A symmetrize N/A N/A x y N/A x y N/A N/A N/A x y 0 N/A N/A x y N/A -2 y N/A test_horner N/A N/A N/A N/A N/A N/A N/A horner 0 0 N/A N/A N/A horner 1 1 N/A N/A N/A horner x x N/A N/A N/A horner N/A x 1 N/A x 1 N/A N/A N/A horner N/A N/A x 2 1 N/A N/A x 2 1 N/A N/A N/A horner N/A N/A x 2 x N/A N/A x 1 x N/A N/A N/A horner N/A N/A N/A x 2 x 1 N/A N/A N/A x 1 x 1 N/A N/A N/A horner N/A N/A N/A N/A N/A 9 N/A x 4 N/A 8 N/A x 3 N/A 7 N/A x 2 N/A 6 x 5 N/A N/A N/A N/A N/A N/A N/A N/A 9 x 8 x 7 x 6 x 5 N/A N/A N/A horner N/A N/A N/A N/A N/A a N/A x 4 N/A b N/A x 3 N/A c N/A x 2 N/A d x e N/A N/A N/A N/A N/A N/A N/A N/A a x b x c x d x e N/A N/A N/A horner N/A N/A N/A N/A N/A 4 N/A x 2 N/A y 2 N/A N/A 2 N/A x 2 y N/A N/A 2 x N/A y 2 N/A x y wrt x N/A N/A N/A N/A N/A N/A 4 y 2 x y N/A N/A N/A 2 y 1 y x N/A N/A N/A horner N/A N/A N/A N/A N/A 4 N/A x 2 N/A y 2 N/A N/A 2 N/A x 2 y N/A N/A 2 x N/A y 2 N/A x y wrt y N/A N/A N/A N/A N/A N/A 4 x 2 y x N/A N/A N/A 2 x 1 x y N/A test_interpolate N/A N/A N/A N/A N/A N/A N/A interpolate N/A 1 4 9 16 x N/A x 2 N/A N/A N/A interpolate N/A N/A 1 1 N/A 2 4 N/A 3 9 x N/A x 2 N/A N/A N/A interpolate N/A N/A 1 2 N/A 2 5 N/A 3 10 x N/A 1 N/A x 2 N/A N/A N/A interpolate N/A 1 2 3 2 5 10 x N/A 1 N/A x 2 N/A test_rational_interpolate N/A N/A N/A N/A N/A N/A x y N/A symbols x,y N/A xdata N/A 1 2 3 4 5 6 N/A ydata1 N/A 120 150 200 255 312 370 N/A ydata2 N/A -210 -35 105 231 350 465 N/A N/A N/A rational_interpolate N/A list N/A zip xdata ydata1 2 N/A N/A N/A 60 N/A x 2 60 x N/A N/A N/A rational_interpolate N/A list N/A zip xdata ydata1 3 N/A N/A N/A 60 N/A x 2 60 x N/A N/A N/A rational_interpolate N/A list N/A zip xdata ydata2 2 X y N/A N/A N/A 105 N/A y 2 525 N/A y 1 N/A xdata N/A list N/A range 1 11 N/A ydata N/A -1923885361858460 -5212158811973685 -9838050145867125 -15662936261217245 -22469424125057910 -30073793365223685 -38332297297028735 -47132954289530109 -56387719094026320 -66026548943876885 N/A N/A N/A rational_interpolate N/A list N/A zip xdata ydata 5 N/A N/A N/A N/A N/A N/A -12986226192544605 N/A x 4 N/A 8657484128363070 N/A x 3 N/A 30301194449270745 N/A x 2 N/A 4328742064181535 x 4328742064181535 N/A N/A N/A N/A x 3 N/A 9 N/A x 2 N/A 3 x 11 N/A test_viete N/A N/A N/A N/A N/A N/A r1 r2 N/A symbols r1, r2 N/A N/A N/A viete N/A N/A N/A a N/A x 2 N/A b x c N/A r1 r2 x N/A N/A N/A r1 r2 N/A N/A b a N/A N/A r1 r2 N/A c a N/A N/A raises ValueError N/A N/A N/A N/A N/A viete 1 N/A x N/A N/A raises ValueError N/A N/A N/A N/A N/A viete N/A N/A x 2 1 N/A r1 N/A N/A raises MultivariatePolynomialError N/A N/A N/A N/A N/A viete N/A x y N/A r1 N/A