On Thu, Jul 3, 2008 at 6:46 PM, Alec Mihailovs <[EMAIL PROTECTED]> wrote:
>
>> I'd like to copy a few pages (and from cython wiki, too). The one that I
>> originally meant, was
>> http://wiki.sagemath.org/A_short_introduction_to_SAGE
>
> Just did it,
> http://mapleadvisor.com/cgi-bin/moin.cgi/A_sh
> I'd like to copy a few pages (and from cython wiki, too). The one that I
> originally meant, was
> http://wiki.sagemath.org/A_short_introduction_to_SAGE
Just did it,
http://mapleadvisor.com/cgi-bin/moin.cgi/A_short_introduction_to_SAGE
It took more time and effort than I expected though, bec
On Jul 3, 2008, at 3:13 PM, phil wrote:
> On Jul 2, 8:33 pm, "Mike Hansen" <[EMAIL PROTECTED]> wrote:
>> sage: var('x,y')
>> (x, y)
>> sage: t = x^2 + y^2
>> sage: type(t)
>>
>> sage: t._operator
>>
>> sage: t._operands
>> [x^2, y^2]
>> sage: t._operands[0]
>> x^2
>
> How can I do comparisons o
>> There are few versions of the CC licensing though. Is it just BY? Or
>> there
>> are some other additions to it?
>
> I don't actually know for sure off the top of my head. Let me know
> what page(s) you want to copy...
Oh, I've just found it - it is linked to BY-SA (so I should add the licen
On Thu, Jul 3, 2008 at 5:19 PM, Alec Mihailovs <[EMAIL PROTECTED]> wrote:
>
> William,
>
>> We state on the front page of the Sage wiki: "By making an explicit
>> contribution to the Sage wiki (or the Sage documentation), one
>> certifies that one's contribution is licensed under the Creative
>> C
On Jul 3, 2008, at 8:22 PM, Daryl Hammond wrote:
> I do not have a place to post the install logs.
If you like, you can email them to me off-list and I can post them
somewhere.
> Here is the cat /proc/
> cpuinfo output:
>
> [EMAIL PROTECTED] ~]$ cat /proc/cpuinfo
> processor : 0
> vendor
On Thu, Jul 3, 2008 at 10:56 AM, IanSR <[EMAIL PROTECTED]> wrote:
>
> I have just tested the following example re code in sage, and it fails
> both on a Linux install and a Mac OS X install:
>
> import re
> p = re.compile('(a(b)c)d')
> m = p.match('abcd')
> m.group(0)
> # expect: 'abcd'
> m.group(
On Thu, Jul 3, 2008 at 10:50 AM, John Cremona <[EMAIL PROTECTED]> wrote:
>
> I would still say that this is a bug, since the following does work:
> sage: Permutation('(1)(2)(3)(4,5)')
> [1, 2, 3, 5, 4]
> and the docstring says the Permutation can be given a string in cycle
> notation, and 1-cycles
I do not have a place to post the install logs. Here is the cat /proc/
cpuinfo output:
[EMAIL PROTECTED] ~]$ cat /proc/cpuinfo
processor : 0
vendor_id : GenuineIntel
cpu family : 15
model : 2
model name : Intel(R) Pentium(R) 4 CPU 2.80GHz
stepping: 9
cpu M
William,
> We state on the front page of the Sage wiki: "By making an explicit
> contribution to the Sage wiki (or the Sage documentation), one
> certifies that one's contribution is licensed under the Creative
> Commons 3.0 license." So I think you could copy something
> from the Sage wiki to
On Thu, Jul 3, 2008 at 4:32 PM, Alec Mihailovs <[EMAIL PROTECTED]> wrote:
>
> From: "Harald Schilly" <[EMAIL PROTECTED]>
>
>> Well, there is already a http://wiki.sagemath.org/ - unless there are
>> special reasons, sage+wiki stuff should go there. and about postings,
>> if there is anyone who wou
From: "Harald Schilly" <[EMAIL PROTECTED]>
> Well, there is already a http://wiki.sagemath.org/ - unless there are
> special reasons, sage+wiki stuff should go there. and about postings,
> if there is anyone who would like to maintain a faq-support collection
> of postings is welcome ;)
Well, th
On Jul 3, 2008, at 6:30 PM, Daryl Hammond wrote:
> David, I have both install logs available. I have edited them "down"
> to about 3,600 lines and 280 KB each. I hesitate to post that much
> data here.
If you are able to put them up somewhere on the web that would be great.
Could you please
On Jul 3, 11:30 pm, "Alec Mihailovs" <[EMAIL PROTECTED]> wrote:
> I started a wiki 2 weeks ago
> athttp://mapleadvisor.com/cgi-bin/moin.cgi/StartingPage
> ... and SAGE wiki, for example.
> Everybody can edit everything.
Well, there is already a http://wiki.sagemath.org/ - unless there are
specia
On Jul 3, 3:30 pm, Daryl Hammond <[EMAIL PROTECTED]> wrote:
Hi Daryl,
> David, I have both install logs available. I have edited them "down"
> to about 3,600 lines and 280 KB each. I hesitate to post that much
> data here.
you should not send the logs themselves to the list, but if possible
p
David, I have both install logs available. I have edited them "down"
to about 3,600 lines and 280 KB each. I hesitate to post that much
data here.
-Daryl
On Jul 3, 7:33 am, David Harvey <[EMAIL PROTECTED]> wrote:
> Daryl,
>
> Do you have available the original install.log from your 3.0.1 and
>
William, I moved the 11 libgmp* files from /sage-3.0.2/local/lib/ to a
new
/sage-3.0.2/local/libsave/ and re-ran the sieve program. There was no
change
in the elapsed/cpu times (which follow):
/home/daryl/sage-3.0.1/sage /home/daryl/UserData/sage/sieve.sage
=
On Jul 2, 8:33 pm, "Mike Hansen" <[EMAIL PROTECTED]> wrote:
> sage: var('x,y')
> (x, y)
> sage: t = x^2 + y^2
> sage: type(t)
>
> sage: t._operator
>
> sage: t._operands
> [x^2, y^2]
> sage: t._operands[0]
> x^2
How can I do comparisons on the operator? I need to test the operator
so that I
I started a wiki 2 weeks ago at
http://mapleadvisor.com/cgi-bin/moin.cgi/StartingPage
Originally it was planned to be a Maple wiki (even if I am not especially
interested in Maple myself and my main advise for Mape users is to switch
from Maple to SAGE), but it could be much wider than that - in
From: "David Joyner" <[EMAIL PROTECTED]>
> I was wondering about this myself. Maple has a command that does
> exactly this (I think it is the "ops" command).
It's op. Maple represents objects using DAGs (directed acyclic graphs
literally, but it also includes enumeration of child vertices), and
> sage: var('x,y')
> (x, y)
> sage: t = x^2 + y^2
> sage: type(t)
>
> sage: t._operator
>
> sage: t._operands
> [x^2, y^2]
> sage: t._operands[0]
> x^2
It looks like you can access the expression as a tree of binary
operators and their operands this way.
However, the order of the operands in th
Hi all,
I have been having problems with Matplotlib on Ubuntu 8.04 (AMD-64).
Specifically, I am having trouble with the backends. If I build
Matplotlib separately I get the following for information about
backends.
OPTIONAL BACKEND DEPENDENCIES
libpng: 1.2.15beta5
On Jul 3, 2008, at 1:56 PM, IanSR wrote:
> I have just tested the following example re code in sage, and it fails
> both on a Linux install and a Mac OS X install:
>
> import re
> p = re.compile('(a(b)c)d')
> m = p.match('abcd')
> m.group(0)
> # expect: 'abcd'
> m.group(1)
> # expect: 'abc'
> m.
I have just tested the following example re code in sage, and it fails
both on a Linux install and a Mac OS X install:
import re
p = re.compile('(a(b)c)d')
m = p.match('abcd')
m.group(0)
# expect: 'abcd'
m.group(1)
# expect: 'abc'
m.group(2)
# expect: 'b'
This is take from:
http://www.amk.ca/py
I would still say that this is a bug, since the following does work:
sage: Permutation('(1)(2)(3)(4,5)')
[1, 2, 3, 5, 4]
and the docstring says the Permutation can be given a string in cycle
notation, and 1-cycles are usually omitted. Looking at the code
(Permutation??) the error is in the call t
ooops. So sorry for not reading the doc fully. The answer is to use
cycle_string(singletons= True).
pierre
On Jul 3, 7:38 pm, Pierre <[EMAIL PROTECTED]> wrote:
> hi all,
>
> I'm confused with the cycle notation for permutations (bug ?)
> While the following works:
>
> sage: Permutation( '(1,2)'
hi all,
I'm confused with the cycle notation for permutations (bug ?)
While the following works:
sage: Permutation( '(1,2)' )
the following yields an error:
sage: Permutation( '(4,5)' )
IndexError: list assignment index out of range
What's confusing is that if you go:
sage: x= Permutation( (
No, python does not use gmp.
On 7/3/08, Jason Grout <[EMAIL PROTECTED]> wrote:
>
> Jason Grout wrote:
>> Daryl Hammond wrote:
>>> Jason, your tips on initializing the array and on counting the array
>>> values are appreciated. I'll add these to the next version of the
>>> program. I'll also inc
Jason Grout wrote:
> Daryl Hammond wrote:
>> Jason, your tips on initializing the array and on counting the array
>> values are appreciated. I'll add these to the next version of the
>> program. I'll also incorporate your cython suggestion as well. As
>> you point out, all three of these will s
Daryl Hammond wrote:
> Jason, your tips on initializing the array and on counting the array
> values are appreciated. I'll add these to the next version of the
> program. I'll also incorporate your cython suggestion as well. As
> you point out, all three of these will speed up the program (and
On Jul 3, 2008, at 8:29 AM, David Harvey wrote:
>
> There is no slowdown between sage-3.0.1 and 3.0.2 with the original
> posted code, on sage.math:
>
> Linux sage 2.6.18-6-amd64 #1 SMP Sun Feb 10 17:50:19 UTC 2008 x86_64
> GNU/Linux
>
> So it looks like something processor-specific.
H, the
On Thu, Jul 3, 2008 at 4:58 AM, David Joyner <[EMAIL PROTECTED]> wrote:
>
> I was wondering about this myself. Maple has a command that does
> exactly this (I think it is the "ops" command). Do you think SAGE should have
> an "official" analog of that?
Yes, definitely.
William
--~--~-~-
On Jul 2, 10:09 pm, Rolandb <[EMAIL PROTECTED]> wrote:
> for a in range(1,5):
> for b in range(1,5):
> for c in range(1,5):
> for d in range(1,5):
> if a<>b<>c<>d:
By the way, the above line doesn't mean what you want. It checks that
a<>b, that b<>c, and that c<>d, but it doesn't check
> I then re-ran the sieve program under sage-3.0.1 and sage-3.0.2.
> There was no
> change; sage-3.0.2 still runs significantly slower (see detailed runs
> below).
>
> I then looked at /home/daryl/sage-3.0.2/local/lib:
>
> [EMAIL PROTECTED] lib]$ ls libgmp*.* -l
> -rwxr-xr-x 1 daryl daryl793 2
Jason, your tips on initializing the array and on counting the array
values are appreciated. I'll add these to the next version of the
program. I'll also incorporate your cython suggestion as well. As
you point out, all three of these will speed up the program (and other
programs I have) signif
William, I ran:
/home/daryl/sage-3.0.2/sage -i /home/daryl/sage-3.0.1/spkg/standard/
gmp-4.2.1.p14.spkg
The install completed successfully and install_package() shows both
gmp-4.2.1.p14 and gmp-4.2.2 installed (I could find no sage command to
remove/
uninstall a package):
[EMAIL PROTECTED] sage]
Daryl,
Do you have available the original install.log from your 3.0.1 and
3.0.2 builds? It would be very interesting to see what happened
during the GMP build.
david
On Jul 2, 2008, at 7:11 PM, Daryl Hammond wrote:
>
> I recently did a clean install of Fedora 9 (formerly running Fedora 8)
There is no slowdown between sage-3.0.1 and 3.0.2 with the original
posted code, on sage.math:
Linux sage 2.6.18-6-amd64 #1 SMP Sun Feb 10 17:50:19 UTC 2008 x86_64
GNU/Linux
So it looks like something processor-specific.
david
On Jul 2, 2008, at 7:11 PM, Daryl Hammond wrote:
>
> I recentl
Dear David,
On Jul 3, 1:58 pm, "David Joyner" <[EMAIL PROTECTED]> wrote:
> I was wondering about this myself. Maple has a command that does
> exactly this (I think it is the "ops" command). Do you think SAGE should have
> an "official" analog of that?
+1. I was missing such command in SAGE, too.
I was wondering about this myself. Maple has a command that does
exactly this (I think it is the "ops" command). Do you think SAGE should have
an "official" analog of that?
On Wed, Jul 2, 2008 at 11:33 PM, Mike Hansen <[EMAIL PROTECTED]> wrote:
>
> Hi Phil,
>
> I don't think there is an official
Daryl Hammond wrote:
> Thanks Alec for pointing out the incorrect prime count (I was failing
> to mark the
> last element in the array as non-prime).
>
> Michael, I divided the sieve program into three parts: create array,
> mark primes, and
> count primes. I then ran the sieve program under sag
Dear Martin,
On Jul 3, 12:58 pm, Martin Albrecht <[EMAIL PROTECTED]>
wrote:
>http://www.sqlalchemy.org/
>
> is in Sage ... Eierlegende Wollmichsau (1)
Thank you!
Simon
--~--~-~--~~~---~--~~
To post to this group, send email to sage-support@googlegroups.com
To
> However, my main question concerns tools to create and maintain a data
> base. Are there any in Sage, and where are they documented?
http://www.sqlalchemy.org/
is in Sage ... Eierlegende Wollmichsau (1)
Cheers,
Martin
(1) http://www.dict.cc/?s=eierlegende%20wollmilchsau
--
name: Martin
On Jul 2, 5:54 pm, Simon King <[EMAIL PROTECTED]> wrote:
> And in odd degree, by "free" graded-commutative, i mean a tensor
> product of a polynomial ring (whose generators are in even degrees) ...
Oops, this was supposed to be
"And in odd CHARACTERISTIC,..."
Sorry.
However, my main question
try something such as
combo = range(1,5)
for a in combo[:]:
combo.remove(a)
for b in combo[:]:
combo.remove(b)
for c in combo[:]:
combo.remove(c)
for d in combo[:]:
print a,b,c,d
combo.append(c)
combo.append(b)
On Wed, Jul 2, 2008 at 11:33 PM, Daryl Hammond <[EMAIL PROTECTED]> wrote:
>
> Thanks Alec for pointing out the incorrect prime count (I was failing
> to mark the
> last element in the array as non-prime).
>
> Michael, I divided the sieve program into three parts: create array,
> mark primes, and
>
46 matches
Mail list logo