[sage-support] Re: saving and loading objects in the notebook environment

2008-04-24 Thread pong
Thanks William. This is what I needed. On Apr 24, 9:57 pm, "William Stein" <[EMAIL PROTECTED]> wrote: > On Thu, Apr 24, 2008 at 6:51 AM, pong <[EMAIL PROTECTED]> wrote: > > > I have a basic question about loading object in the notebook > > environment. Currently, I have to typed the whole path

[sage-support] loading programs created by Cython into notebook

2008-04-24 Thread pong
I have followed the SAGE program guide and create the function sumsquares (one of the examples there). It works for the same session of the notebook. My question is how can I use this faster version of sumsquares in the future? At the moment, I just want when I type, e.g. sumsquares(1000), in a n

[sage-support] Re: Sage-3.0 run-time errors in Arch linux

2008-04-24 Thread Andrzej Giniewicz
Hi, > So is Arch a direct descendent of Gentoo, i.e does it us a descendent > of its ebuild system? nope, Arch build system is more lightweight, it's PKGBUILD is like ebuild just in BASH not Python, it's also made for binrary distribution in mind with possible easy rebuild by user, while on Ge

[sage-support] Re: Sage-3.0 run-time errors in Arch linux

2008-04-24 Thread mabshoff
On Apr 24, 6:48 pm, ugus <[EMAIL PROTECTED]> wrote: > Hi, > > - Hide quoted text - > Hi Osman, > > Since I am relatively clueless about Arch can you poke around and tell me > > what version of gdbm you have installed? > > gdbm-1.8.3-5 and this is the version used in Arch linux since > 19.11.

[sage-support] Re: Error computing matrix kernel

2008-04-24 Thread Jason Grout
William Stein wrote: > On Thu, Apr 24, 2008 at 10:48 AM, Jason Grout > <[EMAIL PROTECTED]> wrote: >> David Joyner wrote: >> > On Thu, Apr 24, 2008 at 1:07 PM, William Stein <[EMAIL PROTECTED]> wrote: >> >> On Thu, Apr 24, 2008 at 10:00 AM, UAT <[EMAIL PROTECTED]> wrote: >> >> > >> >> > Wo

[sage-support] Re: Error computing matrix kernel

2008-04-24 Thread William Stein
On Thu, Apr 24, 2008 at 10:48 AM, Jason Grout <[EMAIL PROTECTED]> wrote: > > David Joyner wrote: > > On Thu, Apr 24, 2008 at 1:07 PM, William Stein <[EMAIL PROTECTED]> wrote: > >> On Thu, Apr 24, 2008 at 10:00 AM, UAT <[EMAIL PROTECTED]> wrote: > >> > > >> > Wow, I didn't know this! I alr

[sage-support] Re: Error computing matrix kernel

2008-04-24 Thread Jason Grout
David Joyner wrote: > On Thu, Apr 24, 2008 at 1:07 PM, William Stein <[EMAIL PROTECTED]> wrote: >> On Thu, Apr 24, 2008 at 10:00 AM, UAT <[EMAIL PROTECTED]> wrote: >> > >> > Wow, I didn't know this! I already wondered why SAGE should make such >> > a stupid mistake. Thanks for the fast answe

[sage-support] Re: Error computing matrix kernel

2008-04-24 Thread UAT
That's a good idea, in particular for SAGE-beginners like me :) On Apr 24, 7:07 pm, "William Stein" <[EMAIL PROTECTED]> wrote: > On Thu, Apr 24, 2008 at 10:00 AM, UAT <[EMAIL PROTECTED]> wrote: > > > Wow, I didn't know this! I already wondered why SAGE should make such > > a stupid mistake. Tha

[sage-support] Re: Error computing matrix kernel

2008-04-24 Thread David Joyner
On Thu, Apr 24, 2008 at 1:07 PM, William Stein <[EMAIL PROTECTED]> wrote: > > On Thu, Apr 24, 2008 at 10:00 AM, UAT <[EMAIL PROTECTED]> wrote: > > > > Wow, I didn't know this! I already wondered why SAGE should make such > > a stupid mistake. Thanks for the fast answer! > > > > Because peo

[sage-support] Re: No covering morphism available

2008-04-24 Thread William Stein
On Thu, Apr 24, 2008 at 10:19 AM, John Cremona <[EMAIL PROTECTED]> wrote: > > I think this is because the underlying computer algebra system Sage > uses for univariate polynomial rings and multivariate rings are > completely different, so support different operations. > > Someone else might be

[sage-support] Re: No covering morphism available

2008-04-24 Thread John Cremona
I think this is because the underlying computer algebra system Sage uses for univariate polynomial rings and multivariate rings are completely different, so support different operations. Someone else might be able to suggest a work-round. John 2008/4/24 UAT <[EMAIL PROTECTED]>: > > For some re

[sage-support] Re: Error computing matrix kernel

2008-04-24 Thread William Stein
On Thu, Apr 24, 2008 at 10:00 AM, UAT <[EMAIL PROTECTED]> wrote: > > Wow, I didn't know this! I already wondered why SAGE should make such > a stupid mistake. Thanks for the fast answer! > Because people get confused by this, we will likely remove the kernel command and have only left_kernel()

[sage-support] Re: Error computing matrix kernel

2008-04-24 Thread UAT
Wow, I didn't know this! I already wondered why SAGE should make such a stupid mistake. Thanks for the fast answer! On Apr 24, 6:54 pm, "William Stein" <[EMAIL PROTECTED]> wrote: > On Thu, Apr 24, 2008 at 9:48 AM, UAT <[EMAIL PROTECTED]> wrote: > > > Take a look at this here: > > > sage: A = m

[sage-support] No covering morphism available

2008-04-24 Thread UAT
For some reason, there is no covering morphism available for the quotient ring QQ[X]/(X^2). But when I take the polynomial ring in two variables, everything is fine: sage: R. = PolynomialRing(QQ) sage: S = R.quo(X^2) sage: S Univariate Quotient Polynomial Ring in Xbar over Rational Field with mod

[sage-support] Re: Error computing matrix kernel

2008-04-24 Thread William Stein
On Thu, Apr 24, 2008 at 9:48 AM, UAT <[EMAIL PROTECTED]> wrote: > > Take a look at this here: > > sage: A = matrix(QQ, 3, [0,1,2,1,1,3,-1,0,-1]) > sage: A > > [ 0 1 2] > [ 1 1 3] > [-1 0 -1] > sage: A.kernel() > > Vector space of degree 3 and dimension 1 over Rational Field > Basis m

[sage-support] Error computing matrix kernel

2008-04-24 Thread UAT
Take a look at this here: sage: A = matrix(QQ, 3, [0,1,2,1,1,3,-1,0,-1]) sage: A [ 0 1 2] [ 1 1 3] [-1 0 -1] sage: A.kernel() Vector space of degree 3 and dimension 1 over Rational Field Basis matrix: [ 1 -1 -1] sage: Perhaps I'm just completely dumb but this vector is not contained in th

[sage-support] Re: Simple continued fractions in Pari

2008-04-24 Thread William Stein
On Thu, Apr 24, 2008 at 9:47 AM, John Cremona <[EMAIL PROTECTED]> wrote: > > 2008/4/24 William Stein <[EMAIL PROTECTED]>: > > > > > > On Thu, Apr 24, 2008 at 7:35 AM, bill.p <[EMAIL PROTECTED]> wrote: > > > > > > I needed to derive some continued fractions and a quick search of the > > >

[sage-support] Re: Sage-3.0 run-time errors in Arch linux

2008-04-24 Thread ugus
Hi, - Hide quoted text - > Hi Osman, > Now, since Fortran as a culprit is out I poked around and the > following seems to be the likely cause of your trouble: > gcc -pthread -fPIC -fno-strict-aliasing -DNDEBUG -g -fwrapv -O3 -Wall - > Wstrict-prototypes -DHAVE_NDBM_H -I. -I/var/abs/local > /sa

[sage-support] Re: Simple continued fractions in Pari

2008-04-24 Thread John Cremona
2008/4/24 William Stein <[EMAIL PROTECTED]>: > > On Thu, Apr 24, 2008 at 7:35 AM, bill.p <[EMAIL PROTECTED]> wrote: > > > > I needed to derive some continued fractions and a quick search of the > > index suggests that the Pari-GP function 'contfrac' might be what I > > needed. > > A simp

[sage-support] Re: Sage-3.0 run-time errors in Arch linux

2008-04-24 Thread ugus
Hi, > Hi Osman, > > Now, since Fortran as a culprit is out I poked around and the > following seems to be the likely cause of your trouble: > > gcc -pthread -fPIC -fno-strict-aliasing -DNDEBUG -g -fwrapv -O3 -Wall - > Wstrict-prototypes -DHAVE_NDBM_H -I. -I/var/abs/local > /sage/src/sage-3.0/spkg

[sage-support] Re: Simple continued fractions in Pari

2008-04-24 Thread William Stein
On Thu, Apr 24, 2008 at 7:35 AM, bill.p <[EMAIL PROTECTED]> wrote: > > I needed to derive some continued fractions and a quick search of the > index suggests that the Pari-GP function 'contfrac' might be what I > needed. > A simple test in the notebook: > > gp('contfrac(sqrt(6))') > > p

[sage-support] Simple continued fractions in Pari

2008-04-24 Thread bill.p
I needed to derive some continued fractions and a quick search of the index suggests that the Pari-GP function 'contfrac' might be what I needed. A simple test in the notebook: gp('contfrac(sqrt(6))') produced [2, 2, 4, 2, 4, 2, 4, 2, 4, 2, 4, 2, 4, 2, 4, 2, 4, 2, 4, 2, 4,

[sage-support] Re: saving and loading objects in the notebook environment

2008-04-24 Thread William Stein
On Thu, Apr 24, 2008 at 6:51 AM, pong <[EMAIL PROTECTED]> wrote: > > I have a basic question about loading object in the notebook > environment. Currently, I have to typed the whole path in order to > load a saved object. > > For example, I saved the matrix A as C by save(A,'C') > > But, say,

[sage-support] Re: Sage-3.0 run-time errors in Arch linux

2008-04-24 Thread mabshoff
On Apr 24, 10:30 am, ugus <[EMAIL PROTECTED]> wrote: > Hi Michael, Hi Osman, > > I doubt compilation finished successfully in your case. You need to > > set SAGE_FORTAN to the system fortran since the g95 we ship is broken > > on Arch. We didn't automate that so far and we have been discussing o

[sage-support] saving and loading objects in the notebook environment

2008-04-24 Thread pong
I have a basic question about loading object in the notebook environment. Currently, I have to typed the whole path in order to load a saved object. For example, I saved the matrix A as C by save(A,'C') But, say, I want to load it as B, I have to type B = load('/home/sage/try/worksheets/admin/0

[sage-support] Re: parenthesis matching in notebook environment

2008-04-24 Thread Jason Grout
William Stein wrote: > On Wed, Apr 23, 2008 at 1:22 PM, Jason Grout > <[EMAIL PROTECTED]> wrote: >> >> William Stein wrote: >> > On Tue, Apr 22, 2008 at 3:56 PM, Jason Grout >> > <[EMAIL PROTECTED]> wrote: >> >> Jason Grout wrote: >> >> > Lars Fischer wrote: >> >> >> Hello, >> >> >> >>

[sage-support] Re: Sage-3.0 run-time errors in Arch linux

2008-04-24 Thread ugus
Hi Michael, > I doubt compilation finished successfully in your case. You need to > set SAGE_FORTAN to the system fortran since the g95 we ship is broken > on Arch. We didn't automate that so far and we have been discussing of > solving that problem by defaulting to gfortran if it is available.

[sage-support] Re: plotting Weierstrass Elliptic function

2008-04-24 Thread Kai
thanks, that did it for me... --~--~-~--~~~---~--~~ To post to this group, send email to sage-support@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/sage-support