2020-01-12 16:26:46 +0100 | received badge | ● Famous Question (source) |
2020-01-12 16:26:46 +0100 | received badge | ● Notable Question (source) |
2020-01-12 14:04:57 +0100 | received badge | ● Famous Question (source) |
2016-05-31 10:22:46 +0100 | received badge | ● Popular Question (source) |
2015-06-10 13:43:12 +0100 | received badge | ● Taxonomist |
2015-01-13 22:38:15 +0100 | received badge | ● Notable Question (source) |
2014-06-18 23:17:56 +0100 | received badge | ● Popular Question (source) |
2014-04-21 14:14:27 +0100 | received badge | ● Popular Question (source) |
2013-04-11 12:02:22 +0100 | received badge | ● Famous Question (source) |
2013-02-22 07:45:47 +0100 | asked a question | How to import function parsing of SAGE? Hello, Currently I am writing a code and I need to use function parser as part of my application. I want to see if Sage has a library that lets me to use this capability of sage? To clarify what I mean: you can use f(x)=x^2 in sage and this will be stored as a function. Is there any library specially doing this for Sage? |
2013-01-26 15:51:35 +0100 | commented answer | How to resolve the problem of Sage app version in Lion Sometimes same thing happens to me and using Activity monitor, I close all instances of python to make sure the server is shut down! |
2012-11-05 03:48:38 +0100 | received badge | ● Notable Question (source) |
2012-07-31 04:13:20 +0100 | received badge | ● Popular Question (source) |
2012-05-02 06:44:44 +0100 | commented answer | Resuming a running process in Sage No problem. Thanks for helping.Yes this is the code I tried: from sage.graphs.graph_coloring import vertex_coloring; vertex_coloring??; And this is what I get: "No object vertex_coloring" in a box! |
2012-05-01 14:06:15 +0100 | commented answer | Resuming a running process in Sage Thank you very much but as I mentioned I am only calculating vertex_coloring(G,k=12,value_only=False) in my code... So as I believe this doesn't help(?) About vertex_coloring?? I don't know why but I get : "No object vertex_coloring" in a box! Thanks again. |
2012-05-01 14:03:07 +0100 | commented question | Resuming a running process in Sage Thanks. It seems the only possible way. |
2012-05-01 14:02:25 +0100 | answered a question | Resuming a running process in Sage Thank you very much but as I mentioned I am only calculating vertex_coloring(G,k=12,value_only=False) in my code... So as I believe this doesn't help(?) About vertex_coloring?? I don't know why but I get : "No object vertex_coloring" in a box! Thanks again. |
2012-05-01 06:21:10 +0100 | asked a question | Resuming a running process in Sage Dear all, I am running the Sage on Ubuntu and I am using the vertex_coloring() to calculate the k-colorablity of a specific graph. As you might know the process is long enough and the electricity may gone through the process. Is there any way that I could make a sage process resumable or in way moderate the vertex_coloring() to resume the things from the last point it left? Thanks. |
2012-04-05 12:13:04 +0100 | asked a question | How to resolve the problem of Sage app version in Lion I have managed to find a solution to the ones that has lion and cannot start Sage from the applications directory. These are the instructions:
Congragulations! you can now start sage app whenever you want to. |
2012-04-04 14:25:47 +0100 | received badge | ● Self-Learner (source) |
2012-04-04 14:25:47 +0100 | received badge | ● Teacher (source) |
2012-04-04 10:25:43 +0100 | commented answer | How to use Sage in terminal? @kcrisman you can find it in my last post in this thread! |
2012-04-04 10:24:46 +0100 | marked best answer | How to use Sage in terminal? I'm afraid I don't know what to do about this, but here are the parts of the output that look especially important: 1: The top line is This is the command you can type in the Terminal to start the command-line sage instead of the notebook. 2: The OS Error may be a partial explanation of why you have to start Sage with root access: If you won't lose anything valuable, you should follow these instructions and delete the Once you've done that, try to start Sage, but not as the root user: To ensure that you are no longer functioning as root user, you could quit the Terminal and then reopen it. When you have done this, type the command to start Sage and it will automatically create a new Good luck! |
2012-04-04 10:24:46 +0100 | received badge | ● Scholar (source) |
2012-04-04 10:24:03 +0100 | answered a question | How to use Sage in terminal? I have found the problem. I linked to a wrong sage in terminal. To run "sage -sh" in terminal you need to run "sage -sh" in "/Applications/Sage-4.7.2-OSX-64bit-10.6.app/Contents/Resources/sage/" and link sage to this file in the folder! |
2012-04-04 09:50:50 +0100 | commented answer | How to use Sage in terminal? Thank you very much for this post. Now I am able to run the Sage without root privileges. But when I use "sage -sh" it again opens the sage notebook! And I have to access the sage terminal from the menu. Also none of the "$ make all" and "$ python setup install" are working in this terminal! What do I need to do in order to add a module like pyNifti or Nibabel to Sage then? |
2012-04-04 06:19:28 +0100 | answered a question | How to use Sage in terminal? Any helps? |
2012-04-02 16:41:21 +0100 | answered a question | How to use Sage in terminal? Thanks a lot for your response. Well at least entering "sage -sh" in terminal should result in "sage prompt" which in my case opens the sage notebook!! Let me first mention something I forgot to! I always have to run sage from terminal with root privileges to be able to run it correctly and if not running sage(same as clicking it in Applications) results in a new tab which states that server is starting but nothing happens! Another new tab with the address localhost:8888 only opens if I ran sage with root privileges! By the way I copied the application from the dmg to my Applications folder! Now about the method you told, I've found the terminal submenu and ran it and I faced this: (more) |
2012-04-02 15:25:44 +0100 | received badge | ● Supporter (source) |
2012-04-01 17:35:13 +0100 | asked a question | How to install a new module for Sage? Edit: this is a duplicate of this question. Dear All, I am trying to use sage in Mac OSX. I already installed the binary distribution. The problem is I cannot access the sage environment in terminal and when I run sage in Mac it opens Sage Notebook. The thing is I am trying to install PyMVPA and Nibabel in Sage, but as I look into guides I need to go through these steps according to: http://sites.google.com/site/neuroinf... Install pynifti and pymvpa -Download latest versions of pynifti and pymvpa -In the unpacked directories of pynifti and pymvpa and within a Sage environment (i.e. " $ sage -sh "), install the modules. I.e. " $ make all " and " $ python setup install ". Check installation by " sage: import pynifti " and " sage: import mvpa " and when I type "sage -sh" in terminal it opens the sage process and the notebook in Safari! So I don't know where and when I need to type the rest which are "make all" and "python setup install" I would be really grateful if someone helps. |
2012-04-01 17:34:26 +0100 | asked a question | How to use Sage in terminal? Dear All, I am trying to use sage in Mac OSX. I already installed the binary distribution. The problem is I cannot access the sage environment in terminal and when I run sage in Mac it opens Sage Notebook. The thing is I am trying to install PyMVPA and Nibabel in Sage, but as I look into guides I need to go through these steps according to: http://sites.google.com/site/neuroinf... Install pynifti and pymvpa -Download latest versions of pynifti and pymvpa -In the unpacked directories of pynifti and pymvpa and within a Sage environment (i.e. " $ sage -sh "), install the modules. I.e. " $ make all " and " $ python setup install ". Check installation by " sage: import pynifti " and " sage: import mvpa " and when I type "sage -sh" in terminal it opens the sage process and the notebook in Safari! So I don't know where and when I need to type the rest which are "make all" and "python setup install" I would be really grateful if someone helps. |
2011-12-31 20:34:27 +0100 | answered a question | Show function for graphs is not working! @Jason Grout: Sorry for the late reply I didn't notified. I just see it accidentally here! I find out if your code is buggy(not related to show necessarily) it could result in malfunctioning of Show! or other calls in your program. In this case my code had a bug, but totally unrelated to the Show function but the problem rises in show function( and I don't remember what it was) @DSM: Yes you are correct many times the problem is related to caching but this one not resolved with refreshing even!! Thanks guys! |
2011-12-16 16:22:16 +0100 | received badge | ● Student (source) |
2011-12-16 06:55:04 +0100 | answered a question | Show function for graphs is not working! Solved! My code has a bug! However I want to mention it is really annoying that the bug of my code results in a bug of show function for SAGE!! Thanks anyway! |
2011-12-16 06:17:16 +0100 | received badge | ● Editor (source) |
2011-12-16 06:14:46 +0100 | asked a question | Show function for graphs is not working! Hi everyone, Yesterday I wrote a code to generate a random semi-regular graph. The algorithm works in this way: 1)It chooses vertices in numerical order 2)in each step it looks to see if the degree of the vertex is larger or smaller than the specified value for that vertex(which is a for first N/2 and b for second N/2 vertices) 3)it randomly adds an edge or remove one until the degree of vertex become acceptable 4)switches to the next vertex. However when I use show() function to see what is happening in each step, the result is frustrating, the Show() function shows a graph like what it should but the degrees are not associated with the correct vertices! for example most of the time even in the first cycle of the while loop, it should assign 3 edges to the '0' vertex. When I print the neighbours of '0' with "print G[0]" I get '[1,3,4]' but then in the plotted graph neighbours of '0' are '1' and '2' and '5'. I don't understand what is wrong with this Sage?! I am really exhausted of trying! My code is at: http://www.4shared.com/file/ZKT9x0W2/... Thanks a lot for the helps... |