Dear sage-devel
the following (definite) integral is not evaluated by maxima and show
() command should return the same unevaluated integral in TeX
notation. I think this was the case in previous versions. On Sage 4.3.
I get th following
input: integrate(1/(1+sqrt(x)),x,0,1).show()
output: \int
On Mon, Jan 11, 2010 at 10:04 PM, Pat LeSmithe wrote:
> On 01/11/2010 09:25 PM, Gonzalo Tornaria wrote:
>> PS: Can somebody explain why rebuilding just the scipy spkg triggers
>> rebuilding the whole damn documentation, which takes way longer than
>> rebuilding scipy (and it's clearly unnecessary)
On 01/11/2010 09:25 PM, Gonzalo Tornaria wrote:
> PS: Can somebody explain why rebuilding just the scipy spkg triggers
> rebuilding the whole damn documentation, which takes way longer than
> rebuilding scipy (and it's clearly unnecessary). Doesn't this
I'm not sure that it's relevant, but near th
On Mon, Jan 11, 2010 at 7:44 PM, Gonzalo Tornaria
wrote:
> On Tue, Jan 12, 2010 at 1:29 AM, Gonzalo Tornaria
> wrote:
>> Only suspicious flag I see is sse4_2, since both have sse4_1 (note
>> that the old 65nm core2 don't have sse4_1 also).
>
> At least mpir uses "popcnt" on nehalem, which is avai
On Tue, Jan 12, 2010 at 2:24 AM, Gonzalo Tornaria
wrote:
> On Sun, Jan 10, 2010 at 8:02 PM, Gonzalo Tornaria
> wrote:
>> cpu = 2 x quad core xeon E5520 (nehalem/i7)
>> os = debian 5.0/lenny (64 bit)
> ...
>> sage -t devel/sage/sage/symbolic/expression.pyx # 6 doctests failed
>> sag
I was looking at zlib-1.2.3.p5 and thought this was rather odd in spkg-install.
* If zlib fails to configure properly, we exit with an error.
* If it fails to build using 'make', we give a warning, say this may not be
fatal, but do not exit.
* If zlib fails to install, we exit with an erro
On Mon, Jan 11, 2010 at 7:21 PM, Bill Page wrote:
> I installed VirtualBox 3.1.2 and the Sage 4.3 virtual machine on a new
> Windows 7 dual processor netbook. Everything went fine and it seems
> fully functional - nice. Then I decided to install the FriCAS optional
> package. I went to sage:prompt
On Sun, Jan 10, 2010 at 8:02 PM, Gonzalo Tornaria
wrote:
> cpu = 2 x quad core xeon E5520 (nehalem/i7)
> os = debian 5.0/lenny (64 bit)
...
>sage -t devel/sage/sage/symbolic/expression.pyx # 6 doctests failed
> sage -t devel/sage/sage/numerical/optimize.py # 6 doctests failed
Not
On Tue, Jan 12, 2010 at 1:29 AM, Gonzalo Tornaria
wrote:
> Only suspicious flag I see is sse4_2, since both have sse4_1 (note
> that the old 65nm core2 don't have sse4_1 also).
At least mpir uses "popcnt" on nehalem, which is available for sse4_2
only. So, the sse4_2 flag should be added to the s
As posted before, I am getting (consistent) test failures when
running sage doctests on a core i7. I've been doing some more
experiments and found some more interesting things about this.
I'm using two different boxes:
core2:
Intel(R) Core(TM)2 Quad CPU Q9550 @ 2.83GHz
family=6 model=23 ste
I installed VirtualBox 3.1.2 and the Sage 4.3 virtual machine on a new
Windows 7 dual processor netbook. Everything went fine and it seems
fully functional - nice. Then I decided to install the FriCAS optional
package. I went to sage:prompt mode and did
sage -i fricas-1.0.8
everything seemed to
On Mon, Jan 11, 2010 at 5:42 PM, William Stein wrote:
> Cool. Instead of suggesting people use bits of code like this in
> their spkg-install's, why don't we make a single *sage sh library*
> that gets used. It could start as a script
>
> local/bin/sage-spkg-lib
>
> that gets sourced before s
2010/1/11 John Cremona :
> Googling found me this:
> http://www.phwinfo.com/forum/comp-unix-shell/392108-strip-path-get-filename.html
> which appears to be a response to one Dave Kirby.
>
> basename does the trick, doesn't it?
>
> John
No, basename is not what is wanted. The 'basename' of
/usr/lo
On Jan 12, 12:47 am, William Stein wrote:
> Isn't the case of non-prime fields also already in Sage? It was in my
> example.
The __call__ function for a non-prime field yes, was already defined.
What wasn't was the conversion of a gap non-prime field into a sage
prime field. Something like
sag
On Mon, Jan 11, 2010 at 4:46 PM, javier wrote:
> Hi William,
>
> On Jan 12, 12:24 am, William Stein wrote:
>> Dumb question. There is code in Sage already to convert from GAP's
>> GF(p) (or GF(q)) to Sage's:
>
> you are completely right. Since at the beginning I tried to do
> something like
>
>
Hi William,
On Jan 12, 12:24 am, William Stein wrote:
> Dumb question. There is code in Sage already to convert from GAP's
> GF(p) (or GF(q)) to Sage's:
you are completely right. Since at the beginning I tried to do
something like
sage: a = gap("Z(7)")
sage: a.sage()
and that didn't work I as
2010/1/11 Craig Citro :
> You've also got trouble if they do
>
> $ export MAKE='/my/favorite/path with spaces/make -j 100'
>
> because that awk command just prints the first space-delimited token.
> The only way I can think of to get around that would be to use a
> regexp to take everything after
2010/1/11 Jaap Spies :
> Dr. David Kirkby wrote:
>>
>> Many spkg-install scripts have something like this:
>>
>> CPPFLAGS="$CPPFLAGS -I$SAGE_LOCAL/include"
>>
>> or sometimes the I$SAGE_LOCAL/include is added onto CFLAGS, though of
>> course that only works when compiling C, not C++. Hence putting
On Mon, Jan 11, 2010 at 4:16 PM, javier wrote:
> Dima,
>
> On Jan 11, 3:04 pm, Dima Pasechnik wrote:
>> no, from GAP's point of view, Z(2^4)^5 is an element of GF(4).
>> And thus b is such an element, too...
>
> then from the "gap-to-sage" point of view nothing else can be done. A
> coercion betw
Dima,
On Jan 11, 3:04 pm, Dima Pasechnik wrote:
> no, from GAP's point of view, Z(2^4)^5 is an element of GF(4).
> And thus b is such an element, too...
then from the "gap-to-sage" point of view nothing else can be done. A
coercion between finite fields is needed before this method can work
in a
On Mon, Jan 11, 2010 at 02:21:13PM -0800, Craig Citro wrote:
> > Having thought about it more, there could be a problem with my original
> > approach. IF someone typed
> >
> > $ export MAKE=/my/favorite/make -j 200
> > $ make
> >
> > then my approach, and your suggestion for sage-env would work.
>
Dr. David Kirkby wrote:
Many spkg-install scripts have something like this:
CPPFLAGS="$CPPFLAGS -I$SAGE_LOCAL/include"
or sometimes the I$SAGE_LOCAL/include is added onto CFLAGS, though of
course that only works when compiling C, not C++. Hence putting onto
CPPFLAGS is preferable.
Would it be
> basename does the trick, doesn't it?
>
Yep, seems like exactly what we want. The man page also tells me about
dirname, which seems to be the complementary utility we'd want in some
situations.
-cc
--
To post to this group, send an email to sage-devel@googlegroups.com
To unsubscribe from this g
On Jan 11, 2:18 pm, Alex Clemesha wrote:
> > Over this weekend, I was thinking over some simpler ideas, such as just
> > packaging up sage into a single .app, and with a script that starts the web
> > server, and a WebKit view embedded in a Cocoa app does the drawing. But
> > then I started r
Googling found me this:
http://www.phwinfo.com/forum/comp-unix-shell/392108-strip-path-get-filename.html
which appears to be a response to one Dave Kirby.
basename does the trick, doesn't it?
John
2010/1/11 Craig Citro :
>> Having thought about it more, there could be a problem with my original
>> The build process seems to have frozen here.
>
>
> Try again.
>
> -- William
I did try make-ing the same install again, and it hanged at the same place.
--
Robert L. Miller
http://www.rlmiller.org/
--
To post to this group, send an email to sage-devel@googlegroups.com
To unsubscribe from th
On Mon, Jan 11, 2010 at 2:37 PM, Robert Miller wrote:
> I started a build days ago, and when I came back, I saw this:
>
> make[4]: Leaving directory `/space/rlm/sage-4.3.1.alpha1/spkg/build/
> maxima-5.20.1/src'
> make[3]: Leaving directory `/space/rlm/sage-4.3.1.alpha1/spkg/build/
> maxima-5.20.1
I started a build days ago, and when I came back, I saw this:
make[4]: Leaving directory `/space/rlm/sage-4.3.1.alpha1/spkg/build/
maxima-5.20.1/src'
make[3]: Leaving directory `/space/rlm/sage-4.3.1.alpha1/spkg/build/
maxima-5.20.1/src'
make[2]: Leaving directory `/space/rlm/sage-4.3.1.alpha1/spk
> Having thought about it more, there could be a problem with my original
> approach. IF someone typed
>
> $ export MAKE=/my/favorite/make -j 200
> $ make
>
> then my approach, and your suggestion for sage-env would work.
>
You've also got trouble if they do
$ export MAKE='/my/favorite/path with
> Over this weekend, I was thinking over some simpler ideas, such as just
> packaging up sage into a single .app, and with a script that starts the web
> server, and a WebKit view embedded in a Cocoa app does the drawing. But then
> I started reading some more about the new capabilities of HTML
John H Palmieri wrote:
On Jan 11, 1:22 pm, "Dr. David Kirkby"
wrote:
William Stein wrote:
On Mon, Jan 11, 2010 at 5:49 AM, Dr. David Kirkby
wrote:
Various bits of SAGE unset 'MAKE', mainly to stop parallel builds. That's a
nuisance to someone that might want to use a version of 'make' differ
I started trying to use Notebook and showing it into a QtWebKit view,
but I decided to change that in the approach I did for a desktop Sage
app for these reasons:
- First of all, the Notebook is very very big in memory. And what we
really need is not a full Twisted server, just a way to talk to Sag
Many spkg-install scripts have something like this:
CPPFLAGS="$CPPFLAGS -I$SAGE_LOCAL/include"
or sometimes the I$SAGE_LOCAL/include is added onto CFLAGS, though of course
that only works when compiling C, not C++. Hence putting onto CPPFLAGS is
preferable.
Would it be 100% safe to add -I$SA
If you could give me a binary that would be great!
On Mon, Jan 11, 2010 at 2:35 PM, Carlo Hamalainen
wrote:
> On Tue, Jan 12, 2010 at 5:24 AM, Joshua Herman
> wrote:
>> Has anyone compiled sage for the arm platform? I want to put it on my google
>> droid.
>
> I'm compiling it right now on my Sh
> Cool. Instead of suggesting people use bits of code like this in
> their spkg-install's, why don't we make a single *sage sh library*
> that gets used. It could start as a script
>
> local/bin/sage-spkg-lib
>
> that gets sourced before spkg-install gets sourced. It could contain
> at leas
On Jan 11, 1:22 pm, "Dr. David Kirkby"
wrote:
> William Stein wrote:
> > On Mon, Jan 11, 2010 at 5:49 AM, Dr. David Kirkby
> > wrote:
> >> Various bits of SAGE unset 'MAKE', mainly to stop parallel builds. That's a
> >> nuisance to someone that might want to use a version of 'make' different
> >>
William Stein wrote:
On Mon, Jan 11, 2010 at 5:49 AM, Dr. David Kirkby
wrote:
Various bits of SAGE unset 'MAKE', mainly to stop parallel builds. That's a
nuisance to someone that might want to use a version of 'make' different
from the first one in their path.
A simple way around this, is the
On Tue, Jan 12, 2010 at 5:24 AM, Joshua Herman wrote:
> Has anyone compiled sage for the arm platform? I want to put it on my google
> droid.
I'm compiling it right now on my SheevaPlug:
http://en.wikipedia.org/wiki/SheevaPlug
There were a few problems with atlas, blas, fortran, etc, so I'm just
Hi,
On 11 Jan., 20:24, Joshua Herman wrote:
> Has anyone compiled sage for the arm platform? I want to put it on my google
> droid.
as of today, the Sage build system does not support cross compilation.
However, Carl Witty was able to build (and run!) Sage directly on his
T-Mobile G1 android cel
On Jan 11, 9:43 am, William Stein wrote:
> On Mon, Jan 11, 2010 at 9:37 AM, ghtdak wrote:
>
> > On Jan 10, 9:09 pm, William Stein wrote:
> >> On Sun, Jan 10, 2010 at 8:56 PM, ghtdak wrote:
>
> >> > On Jan 9, 7:50 pm, ghtdak wrote:
> >> >> On Jan 9, 2:20 am, Alejandro Serrano wrote:
>
> >> >
On Mon, Jan 11, 2010 at 5:49 AM, Dr. David Kirkby
wrote:
> Various bits of SAGE unset 'MAKE', mainly to stop parallel builds. That's a
> nuisance to someone that might want to use a version of 'make' different
> from the first one in their path.
>
> A simple way around this, is the following bit o
Has anyone compiled sage for the arm platform? I want to put it on my google
droid.
--
To post to this group, send an email to sage-devel@googlegroups.com
To unsubscribe from this group, send an email to
sage-devel+unsubscr...@googlegroups.com
For more options, visit this group at http://groups.g
On Jan 11, 2010, at 10:49 AM, Nick Alexander wrote:
On 11-Jan-10, at 10:44 AM, Robert Miller wrote:
Nathann Cohen wrote:
The thing is that we have at the moment something like 210
functions
in the Graph class. We can not really keep on adding the new ones
without caring about what it is be
>>> Why is that too many? I like being able to type g. and see every
>>> single
>>> method that is available. If one is interested in trees,
>>> g.tree[]
>>> gives a smaller subset. Or read the documentation.
>>
I'm +.9 on this, because I do have one caveat: most of the sage
objects with half a mi
Robert Bradshaw wrote:
If it's a question of splitting it up into files, this can already be
done, and in a much simpler way.
cdef class Graph:
from clique import max_clique
now if max_clique is a function, then this code will make it an ordinary
method as if it were defined here.
Wel
On 11-Jan-10, at 10:44 AM, Robert Miller wrote:
Nathann Cohen wrote:
The thing is that we have at the moment something like 210 functions
in the Graph class. We can not really keep on adding the new ones
without caring about what it is becoming.
In response, Robert Bradshaw wrote:
Why is tha
2010/1/11 William Stein :
> On Mon, Jan 11, 2010 at 10:04 AM, Harris Daniels
> wrote:
>> I have been using sage to calculate conductors of elliptic curves
>> defined over symbolic number fields (as the subject line indicates)
>> and I came across a somewhat strange quirk. I initially was using the
Nathann Cohen wrote:
>> The thing is that we have at the moment something like 210 functions
>> in the Graph class. We can not really keep on adding the new ones
>> without caring about what it is becoming.
In response, Robert Bradshaw wrote:
> Why is that too many? I like being able to type g. an
On Jan 10, 2010, at 2:49 AM, Nathann Cohen wrote:
This won't work for methods, as the functions in clique won't get a
bound
self. I.e. you'd have to write
sage: g.trees.is_tree(g)
unless you did some trickery behind the scenes.
Yes, I thought we could replace g.is_trees by g.trees.is_tree
On Mon, Jan 11, 2010 at 10:04 AM, Harris Daniels
wrote:
> I have been using sage to calculate conductors of elliptic curves
> defined over symbolic number fields (as the subject line indicates)
> and I came across a somewhat strange quirk. I initially was using the
> E.conductor() method, but as m
On Tue, 12 Jan 2010 04:53:14 Craig Citro wrote:
> Hi Francois,
>
> > While Carl Witty mentions that python shouldn't be patched directly
> > as it would make it harder to package sage for distros, Craig Citro
> > went ahead and did just that.
> > I couldn't find a ticket or a thread describing the
I have been using sage to calculate conductors of elliptic curves
defined over symbolic number fields (as the subject line indicates)
and I came across a somewhat strange quirk. I initially was using the
E.conductor() method, but as my curves got more complicated the RAM
needed to do the calculatio
On Jan 10, 2010, at 3:15 AM, Simon King wrote:
Hi Nathann and Robert!
I was thinking about the huge list of functions we have at the
moment
in the Graph class, and the length of Graph.py.
I am a bit puzzled: Do you really talk about *functions*? Should there
be any function *at all*, excep
On Mon, Jan 11, 2010 at 9:37 AM, ghtdak wrote:
>
>
> On Jan 10, 9:09 pm, William Stein wrote:
>> On Sun, Jan 10, 2010 at 8:56 PM, ghtdak wrote:
>>
>> > On Jan 9, 7:50 pm, ghtdak wrote:
>> >> On Jan 9, 2:20 am, Alejandro Serrano wrote:
>>
>> >> > Hi,
>
>>
>> > I should say that my primary inter
On Jan 10, 9:09 pm, William Stein wrote:
> On Sun, Jan 10, 2010 at 8:56 PM, ghtdak wrote:
>
> > On Jan 9, 7:50 pm, ghtdak wrote:
> >> On Jan 9, 2:20 am, Alejandro Serrano wrote:
>
> >> > Hi,
>
> > I should say that my primary interest in having the notebook be
> > asynchronous was to interac
Hello
Essentially, what I'm thinking of a front end is where the entire view is based
on a WebKit view, and scripted by python, basically, an an html page but with
python in the script tag instead of javascript. This is exactly what
Appcelerator (Apache license) does. Here is a little demo of c
On Jan 10, 6:15 pm, Harald Schilly wrote:
> Hi, I got this from the report a problem link:
>
> Typing (in the inotebook)
>
> var('t,k,i')
> sum(binomial(i+t,t),i,0,k)
>
> results in
>
> binomial(k + t + 1, t + 1) - 1
>
> which is false, the well-known answer is binomial(k + t + 1, t + 1)
There is
Simon King wrote:
I wonder if this is a nice feature, though. Imagine you do "g.i"
-- should it really return *all* method names that *contain* (rather
than start with) an "i"? This wouldn't be helpful, IMHO.
This has been discussed before, and one compromise that seems reasonable
to me is:
Simon King wrote:
Hi Dima!
On 10 Jan., 13:47, Dima Pasechnik wrote:
On Jan 10, 7:04 pm, javier wrote:
well, there no "static type" matrices in GAP (well, unless you work
with, say, matrix Lie algebras, and have multiplication overloaded).
They are just lists of lists of right sizes, with entr
Hi Francois,
> While Carl Witty mentions that python shouldn't be patched directly
> as it would make it harder to package sage for distros, Craig Citro
> went ahead and did just that.
> I couldn't find a ticket or a thread describing the why of this
> decision.
Basically, the thought was that th
On Sun, Jan 10, 2010 at 10:47 PM, William Stein wrote:
> Is the following possible with sh? Instead of
>
>
> if [ $? -ne 0 ]; then
> echo "Foo bar argh"
> exit 1
> fi
>
> we make a function so that we can just write
>
>
> sage-err "Foo bar argh".
> (causes script to exit).
>
> We can en
On Jan 11, 11:04 pm, Dima Pasechnik wrote:
> John,
oops, I meant Javier
>
> On Jan 11, 10:24 pm, javier wrote:
>
> > Hi Dima,
>
> > On Jan 11, 4:14 am, Dima Pasechnik wrote:
>
> > > I reckon this must be due to Sage representing the finite field of
> > > order p^n
> > > as quotient rings F_p[x]
John,
On Jan 11, 10:24 pm, javier wrote:
> Hi Dima,
>
> On Jan 11, 4:14 am, Dima Pasechnik wrote:
>
> > I reckon this must be due to Sage representing the finite field of
> > order p^n
> > as quotient rings F_p[x]/(f(x)), with f an irreducible polynomial of
> > degree n. Indeed, in this case to
I haven't time right now to go through the different finite field
types in Sage, but not that Conway polynomials are not known (as far
as I know) for all combinations of characteristic and degree, so they
give a good solution for some (common) cases but not all.
Many of us would dearly like to be
Thanks Gonzalo, I'll look into that.
John
2010/1/11 Gonzalo Tornaria :
> On Mon, Jan 11, 2010 at 10:55 AM, John Cremona wrote:
>> In the notebook (4.3), in either a text cell between Sage cells or in
>> the output of (for example) show(QuadraticField(-1,'i')) I see the the
>> symbol "/" wrongly
Hi Dima,
On Jan 11, 4:14 am, Dima Pasechnik wrote:
> I reckon this must be due to Sage representing the finite field of
> order p^n
> as quotient rings F_p[x]/(f(x)), with f an irreducible polynomial of
> degree n. Indeed, in this case to do the coercion to, say F_{p^m}=F_p
> [x]/(g(x)), (with n
The following patch by Steve Linton appears to cure the Itanium
problem
in 4.4.12:
patch for saveload.c:
704a705
> static Obj ProtectFname;
727a729,731
> /* For some reason itanium GC seems unable to spot fname */
> ProtectFname = fname;
>
730a735,736
> ProtectFname = (Obj)0L;
>
1071a1078
>
Various bits of SAGE unset 'MAKE', mainly to stop parallel builds. That's a
nuisance to someone that might want to use a version of 'make' different from
the first one in their path.
A simple way around this, is the following bit of code, which preserves the
name or path of the make command,
On Mon, Jan 11, 2010 at 7:45 AM, Dr. David Kirkby
wrote:
> Dima Pasechnik wrote:
>>
>> It turns out that there is an Itanium-only (?) bug in GAP's garbade-
>> collection that breaks SaveWorkspace(), that can be reproduced in GAP
>> 4.4.12.
>> (4.4.10 seems to have identical code in that part, but
On Mon, Jan 11, 2010 at 10:55 AM, John Cremona wrote:
> In the notebook (4.3), in either a text cell between Sage cells or in
> the output of (for example) show(QuadraticField(-1,'i')) I see the the
> symbol "/" wrongly rendered as "=". So in that example, what I see is
>
>
>
> Q[i]=(i^2+1)
>
> (
In the notebook (4.3), in either a text cell between Sage cells or in
the output of (for example) show(QuadraticField(-1,'i')) I see the the
symbol "/" wrongly rendered as "=". So in that example, what I see is
Q[i]=(i^2+1)
(with ^2 as a superscript). That's not good. I am using fire
Dima Pasechnik wrote:
It turns out that there is an Itanium-only (?) bug in GAP's garbade-
collection that breaks SaveWorkspace(), that can be reproduced in GAP
4.4.12.
(4.4.10 seems to have identical code in that part, but the bug does
not seem to manifest itself there for some reason)
so we hav
Hi all,
The work on porting sage to Gentoo has made good progress
but we got a bloody nose on the issue of pickle
I am referring to the following thread:
http://groups.google.com/group/sage-
devel/browse_thread/thread/583048dc7d373d6a/735ec83cf845d145
and this ticket:
http://trac.sagemath.org
2010/1/9 William Stein :
> Are you using this version:
>
> http://sage.math.washington.edu/home/wstein/binaries/sage-virtualbox-4.3.zip
>
> I just made it Thursday using VirtualBox 3.1.2 (I just upgraded) on a
> mac with OS X 10.6.
I'm not sure when I downloaded it. I downloaded it again then, a
2010/1/11 William Stein :
> On Sun, 2010-01-10 at 22:49 +, John Cremona wrote:
>> 2010/1/10 William Stein :
>>
>> >
>> > Try using instead
>> >
>> > sage: notebook(address="", accounts=True, secure=True, open_viewer=False,
>> > server_pool = ['sa...@localhost'])
>> >
>> >
>>
>> Good point:
It turns out that there is an Itanium-only (?) bug in GAP's garbade-
collection that breaks SaveWorkspace(), that can be reproduced in GAP
4.4.12.
(4.4.10 seems to have identical code in that part, but the bug does
not seem to manifest itself there for some reason)
so we have to wait for GAP kernel
76 matches
Mail list logo