Hi all
Sage's developer prescriptions is to use spaces and no tab. The
default editor on the LiveCD uses TAB ... well.
I got some troubles with that when I used on the live cd a program I
wrote in my normal editor.
More specifically, my user-case is that I had exercises with my
Hi!
I found that L.pop(0) (where L is a list) tends to be relatively slow
in Cython - even if L is cdefined as list.
Google pointed me to some discussion about a Cython optimisation for
L.pop(0), but it is not clear to me whether the optimisation actually
made it into Sage. Can you tell me the
Hi all,
I'm developing the Grph lib
(http://www-sop.inria.fr/members/Luc.Hogie/grph/) that I would like to
enpower with SAGE algorithms. In practise
I would like to interact (through stdin/stderr? SAGE server?) with an
instance of Sage: sending commands and retrieving the textual output.
I
Sage has a built-in expect interface to itself, so if you look at the source
you'll see how its done. Just type Sage?? into a sage session.
--
To post to this group, send email to sage-support@googlegroups.com
To unsubscribe from this group, send email to
Dear Volker,
I'm actually willing to call Sage from a Java program. Do you think the
Expect interface can be of any help?
On 10/19/11 5:36 PM, Volker Braun wrote:
Sage has a built-in expect interface to itself, so if you look at the
source you'll see how its done. Just type Sage?? into a
On Wednesday, October 19, 2011 5:13:21 PM UTC+1, luchogie wrote:
I'm actually willing to call Sage from a Java program. Do you think the
Expect interface can be of any help?
As far as being able to use Sage computations, that would work.
As a design choice, I don't understand why you would
I do not want to implement Python-like interactive shell in Java.
I just want to be able to call Sage/Pythons functions in a sequence.
What do you mean by python wrapper ?
On 10/19/11 6:22 PM, Volker Braun wrote:
On Wednesday, October 19, 2011 5:13:21 PM UTC+1, luchogie wrote:
I'm
Grph comes with a clean Java API, and with an *interactive experimentation
environment* featuring a console similar to what Python/Perl offer.
On Wednesday, October 19, 2011 5:35:50 PM UTC+1, luchogie wrote:
I do not want to implement Python-like interactive shell in Java.
Well at least
I think I found the collections.deque() to be faster that than the
list.pop() which makes sense if the list is implemented as a linked
list object. And the collections uses a array implementation.
Sent from my iPhone
On Oct 19, 2011, at 10:50 AM, Simon King simon.k...@uni-jena.de wrote:
It
On Wed, Oct 19, 2011 at 11:48 AM, Luc Hogie luc.ho...@laposte.net wrote:
Grph comes with a clean Java API, and with an *interactive
experimentation environment* featuring a console similar to what
Python/Perl offer.
On Wednesday, October 19, 2011 5:35:50 PM UTC+1, luchogie wrote:
I do
It might be a good idea to use collections.deque, not lists. First
tests seem to indicate that their popleft() is faster than a list's
pop(0).
--
To post to this group, send email to sage-support@googlegroups.com
To unsubscribe from this group, send email to
Hi Alexander and all,
First of all, sorry that I posted twice the same - google groups
reported an error when I first tried to post.
On 19 Okt., 19:58, Alexander Juarez coua...@gmail.com wrote:
I think I found the collections.deque() to be faster that than the
list.pop() which makes sense if
Hi,
Is there any way in sage to get the Newton Polygon of a polynomial in
x and y? I am seeing references to a newton_polygon() method in some
discussions but I cannot find such a method in the manual.
Example:
f(x,y) = x^2*y^2 + x + 1
Newton Polygon:
[(2,2), (1,0), (0,0)]
Thanks!
Mel
--
To
sage: R.x,y = QQ[]
sage: (x+y^2+2*x*y).newton_polytope()
A 2-dimensional polyhedron in QQ^2 defined as the convex hull of 3 vertices.
sage: _.Vrepresentation()
[A vertex at (1, 1), A vertex at (0, 2), A vertex at (1, 0)]
--
To post to this group, send email to
On Wed, Oct 19, 2011 at 12:42 PM, Simon King simon.k...@uni-jena.de wrote:
Hi Alexander and all,
First of all, sorry that I posted twice the same - google groups
reported an error when I first tried to post.
On 19 Okt., 19:58, Alexander Juarez coua...@gmail.com wrote:
I think I found the
15 matches
Mail list logo