[sage-support] Real mod ring

2009-09-15 Thread brandon.bar...@gmail.com
Hi, I'd like to use something like IntegerModRing, except with Reals. My reason for wanting to do this is to do some linear algebra on a manifold, like the 2d torus. For example, I would like to simulate the cat map: http://en.wikipedia.org/wiki/Cat_map I suppose this isn't really a ring since

[sage-support] Re: Symbolic Expression

2009-09-15 Thread Stefan Boettner
That helps for now. Thanks, Stefan Am 15.09.2009 um 22:19 schrieb Nils Bruin: > > On Sep 15, 6:24 pm, Stefan Boettner wrote: >> Hello, >> >> I'm trying to parse symbolic expressions, but got stuck very quickly. >> >> If I say: >> (x^2).operator() >> I get: >> >> >> If I say: >> pow >> I also

[sage-support] Re: Symbolic Expression

2009-09-15 Thread Nils Bruin
On Sep 15, 6:24 pm, Stefan Boettner wrote: > Hello, > > I'm trying to parse symbolic expressions, but got stuck very quickly. > > If I say: > (x^2).operator() > I get: > > > If I say: > pow > I also get: > > > But if I say: > (x^2).operator()==pow > I get: > False > > How do I properly test if

[sage-support] Symbolic Expression

2009-09-15 Thread Stefan Boettner
Hello, I'm trying to parse symbolic expressions, but got stuck very quickly. If I say: (x^2).operator() I get: If I say: pow I also get: But if I say: (x^2).operator()==pow I get: False How do I properly test if the topmost operation of an expression is a power, product, sum, whatever? S

[sage-support] Re: Line Plots

2009-09-15 Thread Jason Grout
Jason Grout wrote: > Eric Jackson wrote: >> I'm not thinking of matplotlib html5. However, I am fairly new to >> working with Sage. I will do some research to see what matplotlib >> html5 is about. > > It's not finished. Here is a demo of what gnuplot can do with an html5 > canvas backend: >

[sage-support] solve() in SymbolicRing vs. gcd() in PolynomialRing over Rationals

2009-09-15 Thread niels
Hi, I only manage to use solve() as in the following code: --- x, y, z = var( 'x,y,z' ) genLst = [x ** 2 * y, x * y ** 2, x * y, ( x ** 2 + y ** 2 + 1 ) * y] solLst = solve( genLst, [x, y], solution_dict = True ) bpLst = [ ( sol[x], sol[y] ) for sol in solLst ] bp = bpLst[1] print gcd(

[sage-support] Re: sxrange / xsrange possible bug

2009-09-15 Thread William Stein
On Tue, Sep 15, 2009 at 11:38 AM, Robert Bradshaw wrote: > On Sep 15, 2009, at 11:28 AM, William Stein wrote: > >> You might have some thought about this... at least I think it might be >> caused by your optimizations to [a..b].  This is really a question from ccr, >> by the way... >> >> Forwarde

[sage-support] Re: sxrange / xsrange possible bug

2009-09-15 Thread William Stein
On Tue, Sep 15, 2009 at 10:53 AM, Mariah Lenox wrote: > > Perhaps I do not understand sxrange / xsrange correctly.  The > reference manual entries for them seem to be similar.  Is > there a difference?  (If one is just an alias for the other, > it would be best to say so. If they are different, t

[sage-support] sxrange / xsrange possible bug

2009-09-15 Thread Mariah Lenox
Perhaps I do not understand sxrange / xsrange correctly. The reference manual entries for them seem to be similar. Is there a difference? (If one is just an alias for the other, it would be best to say so. If they are different, the reference manual needs to emphasize the difference.) Also the

[sage-support] Access to restricted URI denied

2009-09-15 Thread Mikie
I am trying again to get jsMath to work on my API server. I am loading load.js in my Python script and it seems to load. However, tex2math that is in the plugins directory and gives me "Access to restricted URI denied". I will give anyone a copy of my API for help on solving this problem. --~-

[sage-support] Re: [TeXmacs] Show directive in the TeXmacs Sage Interface

2009-09-15 Thread Offray Vladimir Luna Cárdenas
Hi, chu-ching huang wrote: [...] > Sage plugins is similar to python plugins. They support the function > "ps_out()" > to embed the graph output (postscript format) into TeXmacs worksheet. > > Best regards, > > cch > > Thanks cch for your quick answer. The procedure is not working. This is

[sage-support] ANN: OpenOpt 0.25 - free Python-written numerical optimization framework with automatic differentiation

2009-09-15 Thread dmitrey
OpenOpt is cross-platform (Windows, Linux, Mac OS etc) Python-written framework. If you have a model written in FuncDesigner (http:// openopt.org/FuncDesigner), you can get 1st derivatives via automatic differentiation (http://en.wikipedia.org/wiki/ Automatic_differentiation) (some examples here:

[sage-support] ANN: FuncDesigner 0.15 - free Python-written framework with automatic differentiation

2009-09-15 Thread dmitrey
FuncDesigner is cross-platform (Windows, Linux, Mac OS etc) Python- written framework with automatic differentiation (http:// en.wikipedia.org/wiki/Automatic_differentiation). License BSD allows to use it in both open- and closed-code soft. It has been extracted from OpenOpt framework as a stand-a

[sage-support] Re: question about using Sage with Pydev

2009-09-15 Thread x x
> Does that provide all of the Sage functionality ? I am not an experienced user of sage but i can tell the following: The following import statement is needed: from sage.all import *, and one has to be careful with some notation: x^2 --> x **2 and 1/2 --> RealNumber(1)/2 (or something similar).

[sage-support] Show directive in the TeXmacs Sage Interface

2009-09-15 Thread Offray Vladimir Luna Cárdenas
Hi all, My preferred interface for Sage is TeXmacs (in fact is my preferred interface for writing in general). The show() directive is the more general directive for redering graphical objects in Sage and I can call it inside a TeXmacs session of Sage but all the graphics rendered are externa

[sage-support] On the problem "error loading the sage libraries"

2009-09-15 Thread Thierry Dumont
Some days (and weeks) ago Serge Salamanka posted a message about the message "error loading the sage libraries" he got when trying to use a pool of servers. I cannot find any answer in the sage-support archive. Is it fixed ? I have exactly the same problem on my machine (Debian Lenny, AMD 64). Yo