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
Hello everybody
--
| Sage Version 3.4.1, Release Date: 2009-04-21 |
| Type notebook() for the GUI, and license() for information.|
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
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