I was preparing a talk on solving ODE's in sage, and the culminating
example is pretty neat so I thought I would post it.
The following code will plot a little bit of the lorenz attractor
sage: def lorenz(t,y,params):
... return [params[0]*(y[1]-y[0]),y[0]*(params[1]-y[2])-
y[1],y[0]*y[1]-p
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Wait, it gets even better! We can actually get a fairly good
estimate on the precision we need, on-the-fly.
Suppose we are given the integer x. If the base is 2, then
the amount of precision we need is
prec=sizeinbase(sizeinbase(x,2),2)
or some
Hello,
On Mon, 28 Jan 2008 23:57:49 +0100
Jaap Spies <[EMAIL PROTECTED]> wrote:
>
> mabshoff wrote:
> >
> >
> > On Jan 28, 11:45 pm, Jaap Spies <[EMAIL PROTECTED]> wrote:
> >> mabshoff wrote:
> >
> >>> which Maple release are you running?
> >> Me, once again. I don't think it is important wh
Hi,
I'm sort of interested in working on the Sage interface to
Mathematica. Does anyone have any ideas for implementing say
list(mathematica('{11,20,30}')) -> [11,20,30]?
sage: list(mathematica('{1,2,3}'))
---
Traceback (
On Jan 29, 2008 5:24 AM, Timothy Clemans <[EMAIL PROTECTED]> wrote:
> I'm writing a class called TableStyle right now and want to know if
> the style I'm using for dealing with invalid options is good.
>
> class UnknownOption(KeyError):
> "Used to indicate when unknown option is given"
>
> cla
Hi everybody
I need to make some simple drawings in Poincaré disk model of
hyperbolic geometry (and some on the hyperboloid model too).
I didn't find any python package for that (searching on Google).
Before i start coding it in python, does anybody know of some existing
stuff available ?
Than
On Jan 29, 5:52 pm, Kiran Kedlaya <[EMAIL PROTECTED]> wrote:
> Doctest failure on my machine (64 bit Opteron, RHEL 5); see below.
Hi Kiran,
> Kiran
>
> --
> The following tests failed:
can you confirm that the patch attached
Doctest failure on my machine (64 bit Opteron, RHEL 5); see below.
Kiran
--
The following tests failed:
sage -t devel/sage-main/sage/interfaces/sage0.py
**
Fi
David Joyner wrote:
> Hi:
> I don't use the notebook but thought that possibly those
> who do development might want to check out
> http://developer.yahoo.com/yui/
> It's BSD licensed, and I'm guessing might have some useful code.
> - David Joyner
This is interesting, thanks for pointing it out.
Hi:
I don't use the notebook but thought that possibly those
who do development might want to check out
http://developer.yahoo.com/yui/
It's BSD licensed, and I'm guessing might have some useful code.
- David Joyner
--~--~-~--~~~---~--~~
To post to this group, send
That's cool. Good luck on your talk.
BTW, have you tried this?
http://www.math.pitt.edu/~bard/xpp/xpp.html
I could not get it to compile from source but fortunately
is a debian package (apt-get install xppaut). The docs say it
"is a tool for solving
* differential equations,
* differenc
Just FYI, there is very little performance gain in using MPFR for a
tiny number of bits compared to, say, a default of 60 (because the
underlying data still fits inside a single word). I'm almost certain
calculating the exact precision would be more expensive than using a
reasonable default
On Tue, 29 Jan 2008, Jason Grout wrote:
>
> David Joyner wrote:
>> Hi:
>> I don't use the notebook but thought that possibly those
>> who do development might want to check out
>> http://developer.yahoo.com/yui/
>> It's BSD licensed, and I'm guessing might have some useful code.
>> - David Joy
i am trying to build up HTML documentation in v2.10 and am running
into the following problems:
1. Running make in /devel/doc directory errors out unless I change
PYTHON=python to PYTHON=sage-python
2. After that change, running make does proceed, but error out a while
later with
[1]
(/home/gri
On Jan 29, 2008 11:53 AM, Yi Qiang <[EMAIL PROTECTED]> wrote:
>
> I think that's a great summary of what those JavaScript libraries have
> to offer. I've actually used jquery a little bit for the web front-end
> of DSage and I like it a lot. The learning curve is not *nearly* as
> steep as it is w
On Jan 29, 2008 9:32 AM, <[EMAIL PROTECTED]> wrote:
>
>
>
>
> On Tue, 29 Jan 2008, Jason Grout wrote:
>
> >
> > David Joyner wrote:
> >> Hi:
> >> I don't use the notebook but thought that possibly those
> >> who do development might want to check out
> >> http://developer.yahoo.com/yui/
> >> It's
Hi all,
I just grabbed the latest Mac OSX10.5 binary from here:
http://sagemath.org/SAGEbin/apple_osx/intel/sage-2.10-osx-10.5-intel.dmg
(because incidentally I think running Sage's matplotlib will be by
far the easiest way of getting matplotlib working on OSX leopard for
someone else that I work
On Jan 29, 2008 4:46 AM, William Stein <[EMAIL PROTECTED]> wrote:
> That it is possible to raise custom exception I *never* do it. I
> would definitely
> just do
>
>raise KeyError, "Used to indicate when unknown option is given"
>
> instead of
>
>raise UnknownOption()
>
> It is way easi
I think that's a great summary of what those JavaScript libraries have
to offer. I've actually used jquery a little bit for the web front-end
of DSage and I like it a lot. The learning curve is not *nearly* as
steep as it is with twisted (I think Alex Clemesha would agree).
I think one big pro th
On Tue, 29 Jan 2008, Jason Grout wrote:
>
> David Joyner wrote:
>> Hi:
>> I don't use the notebook but thought that possibly those
>> who do development might want to check out
>> http://developer.yahoo.com/yui/
>> It's BSD licensed, and I'm guessing might have some useful code.
>> - David Joy
We really need to get xpp and/or AUTO into sage at some point. I have
made some half-hearted stabs at it but have lacked the time to get
serious. Like R support, its a chicken-and-egg problem: without real
users within the sage community, it doesn't get put in, and until its
in right there aren'
This is also fixed by that patch, yes.
Kiran
On Jan 29, 11:55 am, mabshoff <[EMAIL PROTECTED]
dortmund.de> wrote:
> On Jan 29, 5:52 pm, Kiran Kedlaya <[EMAIL PROTECTED]> wrote:
>
> > Doctest failure on my machine (64 bit Opteron, RHEL 5); see below.
>
> Hi Kiran,
>
> > Kiran
>
> > --
alex clemesha wrote:
> Hi,
> Update on my last post ...
> I just finished compiling sage from source (on the same machine)
> which completely succeeded and overall seems to be working fine but
> it looks like there are still plotting errors.
>
> (The final error is almost identical to the one I g
Hi,
Update on my last post ...
I just finished compiling sage from source (on the same machine)
which completely succeeded and overall seems to be working fine but
it looks like there are still plotting errors.
(The final error is almost identical to the one I got when I
tried to install stand-alo
Update:
Uh, so I just did
rm -rf ~/.matplotlib
and then restarted Sage and now the plotting is working.
So I don't know what to say about that except ah
... but I guess all is well now?
There still exists the hard-coding of "/Users/was" in the Mac OSX 10.5
binary, but I'm now wondering if
On Jan 29, 2008 7:08 PM, alex clemesha <[EMAIL PROTECTED]> wrote:
> Update:
>
> Uh, so I just did
>
> rm -rf ~/.matplotlib
>
> and then restarted Sage and now the plotting is working.
>
> So I don't know what to say about that except ah
> ... but I guess all is well now?
This is a common prob
On Jan 29, 2008 7:41 PM, William Stein <[EMAIL PROTECTED]> wrote:
>
> On Jan 29, 2008 7:08 PM, alex clemesha <[EMAIL PROTECTED]> wrote:
> > Update:
> >
> > Uh, so I just did
> >
> > rm -rf ~/.matplotlib
> >
> > and then restarted Sage and now the plotting is working.
> >
> > So I don't know what t
On Jan 29, 2008 6:41 PM, William Stein <[EMAIL PROTECTED]> wrote:
>
> On Jan 29, 2008 7:08 PM, alex clemesha <[EMAIL PROTECTED]> wrote:
> > Update:
> >
> > Uh, so I just did
> >
> > rm -rf ~/.matplotlib
> >
> > and then restarted Sage and now the plotting is working.
> >
> > So I don't know what t
On Jan 29, 2008 9:47 PM, Fernando Perez <[EMAIL PROTECTED]> wrote:
>
> On Jan 29, 2008 7:41 PM, William Stein <[EMAIL PROTECTED]> wrote:
> >
> > On Jan 29, 2008 7:08 PM, alex clemesha <[EMAIL PROTECTED]> wrote:
> > > Update:
> > >
> > > Uh, so I just did
> > >
> > > rm -rf ~/.matplotlib
> > >
> >
On Jan 30, 3:57 am, "alex clemesha" <[EMAIL PROTECTED]> wrote:
> On Jan 29, 2008 6:41 PM, William Stein <[EMAIL PROTECTED]> wrote:
>
>
>
>
>
> > On Jan 29, 2008 7:08 PM, alex clemesha <[EMAIL PROTECTED]> wrote:
> > > Update:
>
> > > Uh, so I just did
>
> > > rm -rf ~/.matplotlib
>
> > > and then
On Jan 29, 2008 7:07 PM, mabshoff <
[EMAIL PROTECTED]> wrote:
>
>
>
> On Jan 30, 3:57 am, "alex clemesha" <[EMAIL PROTECTED]> wrote:
> > On Jan 29, 2008 6:41 PM, William Stein <[EMAIL PROTECTED]> wrote:
> >
> >
> >
> >
> >
> > > On Jan 29, 2008 7:08 PM, alex clemesha <[EMAIL PROTECTED]> wrote:
> >
On Jan 29, 2008 2:56 PM, Fernando Perez <[EMAIL PROTECTED]> wrote:
>
> On Jan 29, 2008 4:46 AM, William Stein <[EMAIL PROTECTED]> wrote:
>
> > That it is possible to raise custom exception I *never* do it. I
> > would definitely
> > just do
> >
> >raise KeyError, "Used to indicate when unknow
On Jan 29, 10:29 pm, "William Stein" <[EMAIL PROTECTED]> wrote:
> On Jan 29, 2008 4:45 PM, Hector Villafuerte <[EMAIL PROTECTED]> wrote:
>
>
>
> > On Jan 29, 2008 12:18 PM, Georg <[EMAIL PROTECTED]> wrote:
>
> > > Hi,
> > > is there a way so that
> > > 0^0
> > > yields 1.
> > > thanks in advance
On Jan 29, 2008 4:45 PM, Hector Villafuerte <[EMAIL PROTECTED]> wrote:
>
> On Jan 29, 2008 12:18 PM, Georg <[EMAIL PROTECTED]> wrote:
> >
> > Hi,
> > is there a way so that
> > 0^0
> > yields 1.
> > thanks in advance, Georg
It "works" if you using Sage's multiprecision reals, or Python floats or
On Jan 29, 2008 4:11 PM, alex clemesha <[EMAIL PROTECTED]> wrote:
>
>
>
> On Jan 29, 2008 9:32 AM, <[EMAIL PROTECTED]> wrote:
> >
> >
> >
> >
> >
> > On Tue, 29 Jan 2008, Jason Grout wrote:
> >
> > >
> > > David Joyner wrote:
> > >> Hi:
> > >> I don't use the notebook but thought that possibly tho
On Jan 29, 2008 9:20 AM, Philippe Saade <[EMAIL PROTECTED]> wrote:
>
> Hi everybody
>
> I need to make some simple drawings in Poincaré disk model of
> hyperbolic geometry (and some on the hyperboloid model too).
>
> I didn't find any python package for that (searching on Google).
>
> Before i sta
I'm concerned about the security of having a default username/password
pair for the VMware image (login/sage). Since the VMware image is, in
part, targeted to people who either do not have the skills or do not
want to secure a network, why should we by default open a very easy
backdoor into t
On Jan 29, 2008 11:15 PM, Jason Grout <[EMAIL PROTECTED]> wrote:
>
> I'm concerned about the security of having a default username/password
> pair for the VMware image (login/sage). Since the VMware image is, in
> part, targeted to people who either do not have the skills or do not
> want to secu
Hi all,
Some of my undergraduate students have pointed out some interesting
things to me, and I thought sage developers might find them
interesting.
The first is http://www.projecteuler.net/
It's a list of computational mathematical problems which you can solve
with a CAS, C, assembly, whatever
Would be nice if someone posted the Lorenz attractor code on
planet.sagemath.org!
For those who don't subscribe to this list...
Fabio
On Jan 29, 2008 8:32 PM, mhampton <[EMAIL PROTECTED]> wrote:
>
> We really need to get xpp and/or AUTO into sage at some point. I have
> made some half-hearted
40 matches
Mail list logo