2017-10-19 04:46:46 -0500 | received badge | ● Famous Question (source) |
2017-09-27 17:24:33 -0500 | received badge | ● Popular Question (source) |
2017-09-17 18:45:50 -0500 | received badge | ● Famous Question (source) |
2017-09-17 18:45:50 -0500 | received badge | ● Notable Question (source) |
2016-05-12 20:40:05 -0500 | received badge | ● Notable Question (source) |
2015-11-17 05:00:37 -0500 | received badge | ● Popular Question (source) |
2015-02-10 06:28:41 -0500 | received badge | ● Popular Question (source) |
2014-06-29 07:29:12 -0500 | received badge | ● Famous Question (source) |
2014-06-29 07:29:12 -0500 | received badge | ● Notable Question (source) |
2014-06-28 23:17:49 -0500 | received badge | ● Popular Question (source) |
2014-06-28 23:17:49 -0500 | received badge | ● Notable Question (source) |
2014-06-28 23:17:49 -0500 | received badge | ● Famous Question (source) |
2014-06-28 20:15:36 -0500 | marked best answer | installation error I tried to install sage from source and also from PPA on Ubuntu 12.10. Both of them finish the installation without any problem, but when I run sage I get the following error:
But if I run it as root then it works fine. I have installed it all without root permission though. I thought it might be a permission problem and gave all the permissions for the files to the user k1, but still the problems exists. So, I gained the permission to '/home/k1/.sage' and now it runs, but there are new errors:
and I can't open the notebook(). the output of "ls -l /home/k1/ | grep .sage" is empty. The output of "ls -l /home/k1/.sage" is : (more) |
2014-06-28 20:12:48 -0500 | marked best answer | A combination of commands partial_fraction(x) and coefficient(x,n) I have asked this question over here but I got no answer. I am trying to do some iterative calculations where each time SAGE constructs a fraction and lists the coefficients in the partial fraction decomposition of that fraction. I realized that doing everything symbolically, SAGE wants to keep everything as integer as possible. So what it does is to simplify fractions like
it returns I have tried to solve things numerically, but there are two problems:
Any suggestions to get SAGE to solve this is greatly appreciated. |
2014-06-08 15:21:50 -0500 | received badge | ● Popular Question (source) |
2014-04-29 05:45:31 -0500 | commented question | derivative of MPolynomial_polydict I included the complete code at the end of the post. |
2014-04-28 19:27:25 -0500 | asked a question | derivative of MPolynomial_polydict In a for loop I generate a list of functions, then I take their derivatives with respect to different variables. For example, in the follwoing, and When I try this manually, it gives me the correct answer though: So, for some reason it considers the two x_0_1's in the first term of my polynomial as independent variables when I construct them automatically. Any ideas on why this problem arises, and how to fix this? Edit: This is how I build my vaiables: More edit: Here is a the complete code: |
2014-04-24 09:12:58 -0500 | commented answer | solving system of polynomial equations over reals using newton method I worked out a Newton's method base technique and got some solutions that works for me, but the code is really ugly, so I am waiting to see if there are any better solutions out here. |
2014-04-24 09:11:54 -0500 | commented answer | solving system of polynomial equations over reals using newton method A Gorebner basis is not going to work for my problem, since my actual problem is much bigger, and even on 10 equations and 10 variables the Groebner basis gets really ugly. Thanks for the suggestions though. |
2014-04-19 12:44:07 -0500 | answered a question | Running sage with files on DropBox This is what I did: It creates a folder called |
2014-04-19 12:30:30 -0500 | marked best answer | A combination of commands partial_fraction(x) and coefficient(x,n) You can do something like this |
2014-04-19 12:12:09 -0500 | asked a question | solving system of polynomial equations over reals using newton method I have a set of polynomial equations and I want to find one of its real solutions close to some point, and I need only one solution. Here is an example: This is the list of equations and variables: If I ask Sage to solve this it returns a bunch of solutions. But in some cases it doesn't give me any real solutions. I can prove that the above set of equations has a real solution close to |
2014-04-12 10:32:00 -0500 | marked best answer | installation error Hi, As you can see with the output of ls, some of the directory within .sage are owned by root, namely ipython-0.12, sage_notebook.sagenb and tmp. I don't know how such a thing could happen ! You can change the permissions with the command The command chown is for modifying users, k1:k1 means that you change the user and the group to k1 and -R is for recursive. After that, it may work. Vincent |
2013-06-15 08:55:12 -0500 | received badge | ● Nice Answer (source) |
2013-06-14 02:57:10 -0500 | received badge | ● Teacher (source) |
2013-06-14 02:57:10 -0500 | received badge | ● Self-Learner (source) |
2013-06-13 12:10:14 -0500 | commented question | notebook default directory How do one go to close a thread? |
2013-06-13 12:10:14 -0500 | received badge | ● Commentator |
2013-06-13 12:09:31 -0500 | answered a question | notebook default directory Just wrote and it worked. |
2013-06-13 12:08:30 -0500 | commented question | notebook default directory easy enough. Thanks for the help. I just used `sage -n '/home/k1/Dropbox/Math/Scripts/Sage'` and it worked. |
2013-06-13 08:43:44 -0500 | asked a question | notebook default directory I want to change the default directory of notebook. I've learned that I can run to have sage save and open worksheets from that directory, but I generally run from terminal. Is there a way to change the default directory for sage? or run it in a directory directly from terminal? PS: My main reason for doing this is to connect the sage to my Dropbox in order to have a backup of all my worksheets. I've recently lost a whole bunch of them due some problems. |
2013-05-01 10:19:44 -0500 | commented answer | Ignoring the very small imaginary part Thank you very much. It worked great. |
2013-05-01 10:19:20 -0500 | marked best answer | Ignoring the very small imaginary part Hi, I would prefer to have a method .real() for a complex matrix as there exists one for complex number:: But it does not exist yet! Moreover, using .real() ignore all imaginary part. Here is a function that makes the job: And here is an example: |
2013-05-01 09:03:09 -0500 | asked a question | Ignoring the very small imaginary part I am generating a matrix that its entries come from roots of a polynomial which are all real. Due to calculation errors sage returns entries such as: How can I ask sage to ignore the small imaginary part and return -2.8? |
2013-04-17 12:47:31 -0500 | commented question | calling maple BTW, is there an easy to understand instruction on how to apply patches? I found [this](http://www.sagemath.org/doc/developer/patching_spkgs.html) but it doesn't seem like what I need. |
2013-04-17 12:38:31 -0500 | commented question | calling maple Here is the output: "bash: /home/k1/sage5.8/spkg/bin:/home/k1/sage5.8/local/bin:/usr/lib/lightdm/lightdm:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/home/k1/.rvm/bin: No such file or directory" But it doesn't mean much to me! |
2013-04-16 15:58:49 -0500 | commented question | calling maple Thanks, shall I report this issue? |