[sage-support] How to define a constant function

2009-06-03 Thread moky
Hello I would like to define a constant function in a script. I have the following in the terminal : = 19:43:28 ~ >$ sage -- | Sage Version 4.0, Release Date: 2009

[sage-support] How to find global maximum of a function of my on on an interval ?

2009-05-23 Thread moky
Hello once again. Due to a known bug on the function find_maximum_on_interval, one cannot use that function to find the global maximum of a function on an interval, Due to the fact that the function solve fails to provide all the solutions in the case of trigonometric functions, one cannot r

[sage-support] Personnal module, pythonpath and all that ...

2009-05-15 Thread moky
Hello The issue was already discussed, but I did not found definitive answers with my friend (google). I extracted the archive sage-3.4.1-linux-Ubuntu_8.10-sse2-i686-Linux.tar.gz in $HOME/Sage Well. Now I want to use Sage and some personal modules in the same time in a python script.