[sage-support] Localhost startup_token

2016-10-24 Thread Phil
Hi I’m on a MacBook Pro (IntelCore duo, 2.6 GHz, i5) running on OS X 10.10.5 (Yosemite) and I encounter a problem after upgrading Safari. I was working on Sage-6.4.1 until now and it worked perfectly. But now, I get a window in Safari with "localhost:8080/?startup_token » (what does it mean?) a

[sage-support] Re: Seg fault with determinant calculation

2008-09-25 Thread phil
On Sep 22, 4:23 pm, phil <[EMAIL PROTECTED]> wrote: > On Sep 15, 10:26 am, Martin Albrecht <[EMAIL PROTECTED]> > wrote: >   The original machine I was using was needed for other things.  So, I > ran it on sage 3.1.2rc4 on sage.math.washington.edu and it completed >

[sage-support] Re: Seg fault with determinant calculation

2008-09-22 Thread phil
On Sep 15, 10:26 am, Martin Albrecht <[EMAIL PROTECTED]> wrote: > On Monday 15 September 2008, phil wrote: > > >   I've been pushing the limits of determinant calculation over > > multivariate polynomial rings.  I can calculate determinants of > > matrices u

[sage-support] Re: Seg fault with determinant calculation

2008-09-15 Thread phil
On Sep 15, 10:08 am, "William Stein" <[EMAIL PROTECTED]> wrote: > How much RAM do you have?   Write to me off list if you want access > to a machine with more :-) Ok. I'll send you an off list message. I'm running Sage on 64 bit Ubuntu installed in a VMWare Infrastructure virtual machine with 6

[sage-support] Seg fault with determinant calculation

2008-09-15 Thread phil
I've been pushing the limits of determinant calculation over multivariate polynomial rings. I can calculate determinants of matrices up to 9x9 of the form [[x_0_0, x_0_1],[x_1_0, x_1_1]] (each element is a single unique variable). When I get to 10x10 is runs for a while the crashes with: Unhan

[sage-support] Re: efficient determinant of matrix over polynomial ring

2008-09-10 Thread phil
On Sep 5, 10:14 am, Martin Albrecht <[EMAIL PROTECTED]> wrote: > > sage: %time d2 = R(C._singular_().det()) > CPU times: user 0.04 s, sys: 0.01 s, total: 0.05 s > Wall time: 0.15 s This seems to scale very poorly with the number of variables. Basically, it's impractical to compute determinants

[sage-support] variable names for matrix elements

2008-09-09 Thread phil
Is there a way to create a matrix whose elements are variables in a symbolic ring or polynomial ring without naming all the elements manually? For example, I've been doing something like: vars('x11,x12,x21,x22') X = matrix([[x11,x12],[x21,x22]]); However, this becomes impractical once the matrix

[sage-support] Re: efficient determinant of matrix over polynomial ring

2008-09-08 Thread phil
On Sep 5, 10:14 am, Martin Albrecht <[EMAIL PROTECTED]> wrote: > On Friday 05 September 2008, phil wrote: > > > R. = QQ[] > > C = random_matrix(R,10,10) > > Cdet = C.determinant() > > Here's a workaround: > sage: %time d2 = R(C._singular_().det()) T

[sage-support] efficient determinant of matrix over polynomial ring

2008-09-05 Thread phil
I have a matrix that is composed of multivariant polynomial entries. I want to compute its determinant. The problem is that it is very slow or runs out of memory. For example, R. = QQ[] C = random_matrix(R,10,10) Cdet = C.determinant() # this line takes a long time If you have more variabl

[sage-support] Line continuation inside < >

2008-08-28 Thread phil
How can I continue a line inside a < >? I want to write something like "A. = ZZ[]" over two lines. After typing "A.http://groups.google.com/group/sage-support URLs: http://www.sagemath.org -~--~~~~--~~--~--~---

[sage-support] Re: Accessing terms in an expression

2008-07-03 Thread phil
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

[sage-support] Re: Accessing terms in an expression

2008-07-03 Thread phil
> 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

[sage-support] Accessing terms in an expression

2008-07-02 Thread phil
I've looked around in the documentation but have not been able to figure out how to access individual terms in an symbolic expression. For example: var('x,y') t = x^2 + y^2 How do I access the first term in t? I want to assign it to another variable, like first_term = t.extract_term(t,1) to get