2019-03-28 10:28:07 +0200 | received badge | ● Famous Question (source) |
2019-03-28 10:28:07 +0200 | received badge | ● Notable Question (source) |
2017-05-07 17:03:21 +0200 | received badge | ● Famous Question (source) |
2016-03-01 19:01:22 +0200 | received badge | ● Notable Question (source) |
2015-06-12 16:19:26 +0200 | received badge | ● Popular Question (source) |
2015-06-08 21:44:29 +0200 | asked a question | worksheet to console ? Hi I have written a code in sageworksheet format, it runs nice and smooth on sagecloud, but I have one problem : I want to make it more interactive so the user can enter the parameters by himself, so I'm willing to convert this into a sage script or a pyhton script, I have installed sage on my ubuntu machine, again the code runs on the notebook but not on the console it gives me some syntax error on " P<x> " All I want is to make it run as a Python script or Sage script so I can use input function to ask users to enter the parameters ! Here is the code : (more) |
2015-06-01 17:36:13 +0200 | received badge | ● Popular Question (source) |
2015-05-28 01:34:33 +0200 | commented question | bezout coefficients ? thank you ! |
2015-05-27 19:09:56 +0200 | received badge | ● Editor (source) |
2015-05-27 19:08:47 +0200 | asked a question | Bezout coefficients for Polynomials I want to find the bezout coefficient for those 2 polynomials : f = 1+x-x^2-x^4+x^5 and g = -1+x^2+x^3-x^6 when I use the gcd function in sage the output is : but when I use xgcd(f,g) it gives me the following : (-27, 9x^5 - 18x^2 - 9x - 9, 9x^4 - 9x^3 - 18x + 18) I want xgcd to give me 1 instead of -27 so the polynomials will be the bezout coefficients P.S: I can't divide the polynomials by -27 because i'm working in ZZ |
2015-05-27 19:06:55 +0200 | asked a question | bezout coefficients ? I want to find the bezout coefficient for those 2 polynomials : $f = 1+x-x^2-x^4+x^5$ and $g = -1+x^2+x^3-x^6$ when I use the gcd function in sage the output is : but when I use xgcd(f,g) it gives me the following : ($-27$, $9x^5 - 18x^2 - 9x - 9$, $9x^4 - 9x^3 - 18x + 18$) I want xgcd to give me 1 instead of -27 so the polynomials will be the bezout coefficients P.S: I can't divide the polynomials by -27 because i'm working in ZZ |