[sage-support] Set and real intervals

2010-12-09 Thread Laurent Claessens
consider parts of R as sets. How can I build an interval ? Have a good day Laurent Claessens PS : I send this message by email on December, 4. Since I did not even saw my message appearing, I decided to repost it from the GoogleGroup online interface. I'm wrong in doing that ? -- To po

[sage-support] Strange behaviour of find_maximum_on_intervall

2009-05-23 Thread Laurent Claessens
Hello everybody -- | Sage Version 3.4.1, Release Date: 2009-04-21 | | Type notebook() for the GUI, and license() for information.|

[sage-support] Re: Convert a string (python) into a function (sage)

2009-05-09 Thread Laurent Claessens
I half-answer to myself : > 1. be able to convert a string into a function on which I can use Sage s = "x**3" var('x') f = eval(s) print f(3) makes the job > 2. from the results of Sage (especially from diff(f,x)), I need a > string that I can manipulate with Python (especially use the .repla

[sage-support] Convert a string (python) into a function (sage)

2009-05-09 Thread Laurent Claessens
Hello everybody I wrote the following : ++ #! /usr/bin/sage -python # -*- coding: utf8 -*- from sage.all import * s = "x**2" var('x') f = sage_eval(s) print f(2) ++ I would have expected the result to print 4. Since I'm using Sage from yes