[sage-support] I am getting import error with SPAMS toolbox on sage - python?

2013-05-01 Thread naren
I have recently shifted to python from Matlab. I have tried installing a toolbox SPAMS(sparse modelling software) using sage --python. More details are posted at: http://ask.sagemath.org/question/2524/i-am-getting-a-import-error Kindly help me resolve this issue. Any help will be appreciated.

Re: [sage-support] Re: sage good gui

2013-05-01 Thread William Stein
On Wed, May 1, 2013 at 9:48 PM, P Purkayastha wrote: > Both the cloud and sagecell don't work with pretty print. Here is an example > on the cell: > http://goo.gl/fBez6 Thanks for reporting this! I didn't even know about the pretty_print command, but it looks really cool/useful, and I'll rewrite

[sage-support] Re: sage good gui

2013-05-01 Thread P Purkayastha
Both the cloud and sagecell don't work with pretty print. Here is an example on the cell: http://goo.gl/fBez6 On Thursday, May 2, 2013 11:07:22 AM UTC+8, Jason Grout wrote: > > On 5/1/13 8:11 PM, William Stein wrote: > > Inhttps://cloud.sagemath.com, displayed equation wrapping works now > > an

[sage-support] Re: sage good gui

2013-05-01 Thread Jason Grout
On 5/1/13 8:11 PM, William Stein wrote: Inhttps://cloud.sagemath.com, displayed equation wrapping works now and is enabled by default. Likewise for the sage cell server, though the below shows some odd linebreaks, likely a result of Sage representing multiplication by a thin space "\,": htt

[sage-support] Cytho: Code generation

2013-05-01 Thread Marcin Kostur
Hi, How can I generate cython code with fragments automatically filled from some algebraic formulas? The typical workflow where this problem pops out is - RHS of some differential equations are derived symbolically - for efficient analysis one wants to implement e.g. cython function for

Re: [sage-support] Re: Polyhedron construction fails on specific list of vertices

2013-05-01 Thread Volker Braun
Its bad practice in Python to depend explicitly on the specific type. You should implement your algorithm such that it does not matter if the type is exactly a Sage integer or just something that behaves like an integer: try: ... do something ... except ValueError: ... not an integer? ..

Re: [sage-support] Re: Polyhedron construction fails on specific list of vertices

2013-05-01 Thread abhishek
Hello All, I am a new user of SAGE. I need to know how to control flow of how to control execution according to data type. As in a given loop I want to execute loop further only if variable is of a integer type. On Tue, Apr 23, 2013 at 9:51 PM, Felix Wellen wrote: > With "backend='ppl', base_ri