Hi,
I am trying to plot the solutions the following system of ODEs
var('t')
A = function('A',t)
B = function('B',t)
de1 = diff(A,t) == -k1*A+k2*B
de2 = diff(B,t) == k1*A-k2*B
sol = desolve_system([de1,de2],[A,B],ics=[500,0])
show(sol)
solA, solB = sol[0].rhs(), sol[1].rhs()
plot((solA,solB),(t,0,
Good news, but I just checked PyPI (via easy_install) and it is still
pointing to version 0.28 of openopt. Please upload the latest
versions.
On Sep 15, 6:18 am, dmitrey wrote:
> Hi all,
>
> I'm glad to inform you about new releases of our completely free (BSD
> license) Python-written software
Thanks!
On Mar 6, 6:36 pm, William Stein wrote:
> On Sat, Mar 6, 2010 at 3:49 AM, Flavio Coelho wrote:
> > After installing sage 4.3.3, the cell evaluation hangs indefinetly if
> > I combine %cython and %timeit modes.
>
> > if I remove the %timeit the cell executes nor
After installing sage 4.3.3, the cell evaluation hangs indefinetly if
I combine %cython and %timeit modes.
if I remove the %timeit the cell executes normally.
anyone else can confirm this behavior?
Is there any quick fix? I want to benchmark the execution of cython
block of code, without the %t
Hi,
I really liked the method for speeding numerical integration of ODES
presented in the sage documentation. However, it uses the GSL solver
instead of the scipy.integrate.odeint I normally use.
I tried to apply the same methodology but I can't get past this error:
ValueError: object too deep
f
randstate.pyx didn't mention explicitly that the RNG from libc is of
poor quality and to be avoided. Moreover, by using the RNG built into
Python, I guarantee reproducibility across platforms (I think) and
avoid external dependencies...
On 3 nov, 15:55, Jason Grout wrote:
> Flavio Coelh
Hi,
anyone know how could I access the Python's builtin mersenne twister
random number generator from Cython?
I'd like to generate random numbers in the interval [0,1[ faster than
by calling random.random(). I know the implementation of random.random
is in C, but there is the cost of a python ca
Thanks,
that fixed it. I Downloaded the fonts and unpacked them to the
~/.fonts/ directory.
On Oct 30, 4:43 pm, Jason Grout wrote:
> ma...@mendelu.cz wrote:
>
> > On 30 říj, 13:30, Flavio Coelho wrote:
> >> I forgot to mention my platform:
>
> >> Ubuntu
re?http://www.math.union.edu/~dpvc/jsMath/jsMath-lab.html
Yes! but I have the jsMath fonts installed in my system. Is there
anything else I have to do?
>
> Robert
>
> On 30 říj, 13:30, Flavio Coelho wrote:
>
> > I forgot to mention my platform:
>
> > Ubuntu Karmic K
fonts/image for symbols/Uicode chars. No problem also
> sagenb.org.
>
> Do you use Firefox or other browser. Linux or Windows?
>
> (btw. you have eta instead of \eta in first equation)
>
> Robert
>
> On 30 říj, 11:57, Flavio Coelho wrote:
>
> > Hi, I have jus
Hi, I have just upgraded to 4.2 and I am having problem with LaTeX
typesetting in text cells. greek letters are not typeset but
otherwise, the rest of the latex is formatted normally.
here is one of my latex expressions:
$$ \begin{eqnarray} \lambda&= & \beta(I+eta A)\\ \frac{dS}{dt} &=& \mu
- (\
I personally think the Matlab interface, mimicked by spyder, would not
work well from the browser.
Flávio
On 29 Set, 19:53, William Stein wrote:
> On Tue, Sep 29, 2009 at 11:48 AM, Mike Hansen wrote:
>
> > Hello,
>
> > On Wed, Sep 30, 2009 at 1:34 AM, Umut wrote:
>
> >> Hi,
> >> is there anyo
Answering my own question:
I can share only the worksheet.txt from within the .sws package.
Should there be a way to export only the source code? Maybe also as
a .tex file (sagetex enabled?)
thanks,
Flávio
On Sep 29, 12:34 pm, Flavio Coelho wrote:
> When exporting a worksheet, is ther
When exporting a worksheet, is there a way the exclude files from the
DATA directory from the packaging, in order to reduce the
resulting .sws file size? Naturally I could go to the data directory
and delete them by hand before exporting, but it is a bit of a hassle.
>From the notebook interface
ith Distribute requiring replacement by the
equivalent distribute_setup.py
Flávio
On Sep 29, 11:43 am, William Stein wrote:
> On Tue, Sep 29, 2009 at 3:25 AM, Flavio Coelho wrote:
>
> > Hi,
>
> > what the opinion of Sage developers regarding the fork from setuptools
>
:
> On Tue, Sep 29, 2009 at 3:19 AM, Flavio Coelho wrote:
>
> > Hi,
>
> > is there an equivalent to:
>
> > ./sage -python -m easy_install -U BIP
>
> > which can be run from within Sage?
>
> What abou
Hi,
what the opinion of Sage developers regarding the fork from setuptools
==> Distribute?
http://pypi.python.org/pypi/distribute/0.6.3
>From what I have heard so far, setuptools will no longer be developed
and Distribute already supports all setuptools features and runs on
py3k as well.
Will
Hi,
is there an equivalent to:
./sage -python -m easy_install -U BIP
which can be run from within Sage?
Thanks,
Flávio
--~--~-~--~~~---~--~~
To post to this group, send email to sage-support@googlegroups.com
To unsubscribe from this group, send email to
sage-s
Thanks Robert,
I did not know about the DATA variable.
It seems, however, that I must explicitly dump the pickles into DATA,
otherwise they end up in another directory.
thanks,
Flávio
On 24 ago, 19:14, Robert Bradshaw
wrote:
> On Mon, 24 Aug 2009, Flavio Coelho wrote:
>
> >
rest of
the calcuations, and then the the data is reloaded bit-by-bit to
create plots.
On 24 ago, 18:59, Robert Bradshaw
wrote:
> On Mon, 24 Aug 2009, Flavio Coelho wrote:
>
> > Hi,
>
> > I am porting a python script to a notebook and in my script I save
> > some data as
Hi,
I am porting a python script to a notebook and in my script a save
some data as pickles which are loaded later for further processing.
I noticed that when I dump the pickles on a cell, I get a link to the
dumped pickle which looks like this:
http://localhost:8000/home/admin/5/cells/12/week_
Hi,
I am porting a python script to a notebook and in my script I save
some data as pickles which are loaded later for further processing.
I noticed that when I dump the pickles on a cell, I get a link to the
dumped pickle which looks like this:
http://localhost:8000/home/admin/5/cells/12/week_
Hi,
what is the curently recomended way to debug code from within a
notebook?
I found %pdb (as suggested in documentation) does not work in 3.4.
Also the standard python way: "import pdb;pdb.run(call)" also does not
work.
thanks
Flávio
--~--~-~--~~~---~--~~
To p
fixed. Maybe the
solution to this may bring us closer to a general solution for the
incompatibility between sage types and Numpy/Scipy's.
I'll post this error to the numpy list and see what kind of response I
get.
Flávio
On 23 abr, 12:21, Flavio Coelho wrote:
> On 23 abr, 11:47,
On 23 abr, 11:47, William Stein wrote:
>
> > I tried to run the same module via load instead of import, but load
> > was trying to load from the ~/.sage directory instead of the directory
> > where I started sage, (is this a bug?).
>
> No.
then the "How to use the Sage Notebook" help page sho
2009 at 7:19 AM, Flavio Coelho wrote:
>
> >> Hi
>
> >> anyone know why this simple python code fails in sage?
>
> >> from scipy import stats
> >> stats.uniform(0,15).ppf([0.5,0.7])
>
> >> This has been a show stopper for me as need to do sta
aths instead of only filenames?
Flávio
On 22 abr, 15:55, William Stein wrote:
> On Wed, Apr 22, 2009 at 7:19 AM, Flavio Coelho wrote:
>
> > Hi
>
> > anyone know why this simple python code fails in sage?
>
> > from scipy import stats
> > stats.uniform(0,15).ppf(
Hi
anyone know why this simple python code fails in sage?
from scipy import stats
stats.uniform(0,15).ppf([0.5,0.7])
This has been a show stopper for me as need to do statistics...
thanks,
Flávio
--~--~-~--~~~---~--~~
To post to this group, send email to sage-
I wonder if it would be possible, when in python mode: "%python", Sage
would revert to use standard python (and numpy) types.
I can now replicate my previous bug report with just a line of python
(excluding the import):
%python
from scipy import stats
stats.randint(0,23).ppf(3)
I don't see why
Thanks!
On 10 abr, 15:13, William Stein wrote:
> On Fri, Apr 10, 2009 at 6:53 AM,FlavioCoelho wrote:
>
> > Thanks,
>
> > So it seems that there is no (easy or otherwise) way to build from
> > latest development tree, only from the last "stable" source tarball.
>
> The latest development version
Thanks,
So it seems that there is no (easy or otherwise) way to build from
latest development tree, only from the last "stable" source tarball.
That's what I was hoping for.
On 9 abr, 18:15, Robert Bradshaw wrote:
> On Apr 9, 2009, at 7:41 AM, Flavio Coelho wrote:
>
Hi, I cloned Sage from the mercrial repository (hg.sagemath.org) but
found no building instructions.
I want to build it inplace. The install script complains that I must
provide a sage root and if I give the current directory, '.', it spits
back the following traceback:
Traceback (most recent ca
12:17, David Joyner wrote:
> >> My first question is, can you implement this yourself
> >> (assuming you have django installed along with sage)?
>
> >> On Thu, Apr 9, 2009 at 6:55 AM, Flavio Coelho wrote:
>
> >> > Hi,
>
> >> > I have a feature r
is).
did this answer your question?
On 9 abr, 12:17, David Joyner wrote:
> My first question is, can you implement this yourself
> (assuming you have django installed along with sage)?
>
> On Thu, Apr 9, 2009 at 6:55 AM, Flavio Coelho wrote:
>
> > Hi,
>
> > I have
I had already bumped against this type compatibility
problem, which I solved by turning off sage's preparser:
preparser(False)
However, this error won't go away when the preparser is turned off.
Flávio
On 9 abr, 11:45, Robert Bradshaw wrote:
> On Apr 9, 2009, at 3:34 AM, Flavio
Hi,
I have a feature request for Sage Notebook interface:
It is the adoption of the debugging capabilities present in the Django
framework. An image here is worth a thousand words:
http://thoughtandtheory.com/blog/wp-content/uploads/2007/10/fbml_beta.jpg
When django catches an error it creates
Hi I having trouble with running code within sage which runs perfectly
in straight Python:
import scipy.stats as stats
import numpy
def lhsFromSample(sample,siz=100):
"""
Latin Hypercube Sample from a set of values
:Parameters:
- `sample`: list, tuple of array
- `siz
Thanks for the patch,
I'll clone the mercurial source tree so that I can test it.
Currently I only have the last sage binary installed...
Flávio
On 7 abr, 20:41, William Stein wrote:
> On Tue, Apr 7, 2009 at 6:34 AM, Flavio Coelho wrote:
>
> > Another manifestatio
Hi,
I am having a problem with some python code which runs perfectly in
straight python, bout fails inside sage, with the following error
message:
Traceback (click to the left for traceback)
...
TypeError: array cannot be safely cast to required type
Traceback (most recent call last):
File
; That said, it's a better idea to post your request here on sage-
> support. That way, more Sage developers will see it, and might be
> inspired to implement the feature you're after; and if the feature
> does exist, but in a nonobvious way, we can point you to where t
Another manifestation of the same bug:
http://groups.google.com/group/sage-support/browse_thread/thread/3440b5303fb7585e/5d3f7e31381c1647?lnk=gst&q=Flavio+Coelho#5d3f7e31381c1647
On 6 abr, 20:55, gerhard wrote:
> Something appears broken in the notebook r interface
>
> From the
Hi,
what is the official channel for feature requests?
I checked the trac site but the ticket system doesn't allow anonymous
users to create new tickets.
thanks,
--~--~-~--~~~---~--~~
To post to this group, send email to sage-support@googlegroups.com
To unsubscrib
t;sage -python" instead of "python" in the
> installation instructions and explicitly giving the Sage root
> directory. If you give the names of the packages you're looking to use
> with Sage, I (or we) can try it on my machine.
>
> On Mar 16, 6:26 am, Flavio Coelho
Hi,
I want to have sage let me import from my global python installation,
since I have packages installed there which are not available as sage
packages. Is this possible?
thanks in advance,
Flávio
--~--~-~--~~~---~--~~
To post to this group, send email to sage-s
Hi, I just upgraded to 3.4 via sage -upgrade
I wanted to recommend Sage to colleagues which use R, since R doesn't
have any thing like the sage Notebook.
However after starting a new worksheet and setting the sage notebook
to evaluate all cells as R (via pull-down menu) I got the following
error:
nd release candidate is likely to become the final 3.3. I
> > would guess that will happen sometime in the next week, hopefully in a
> > day or two.
>
> Well, you didn't answer the question, did you?
>
> > I don't remember ever having this many alphas, its a big r
Hi,
I want to download sage 3.3 to test and try the new features. Where
can I download it from?
thanks,
Flávio
--~--~-~--~~~---~--~~
To post to this group, send email to sage-support@googlegroups.com
To unsubscribe from this group, send email to
sage-support-uns
Hi,
a recent sage installation damaged my global R installation.
now, every time I try to install a package within R I get the
following error message:
cannot open file '/home/was/build/sage-3.1.4/local/lib/R/doc/
CRAN_mirrors.csv', reason 'Ficheiro ou directoria inexistente'
sage must have ch
en reads this list. I am also looking forward to having
> that functionality.
>
> You can track the status of this
> at:http://trac.sagemath.org/sage_trac/ticket/4267
>
> -M. Hampton
>
> On Nov 30, 6:13 am, Flavio Coelho <[EMAIL PROTECTED]> wrote:
>
> > Hi,
>
&
Hi,
I would like to know if there is plans to allow direct editing of the
html on a notebook without having to go to the "Edit" tab and entering
html there.
I was thinking it would be nice to have a simple javascript html
editor that would come up when one clicks on text outside eveluation
boxes
50 matches
Mail list logo