[sage-support] Re: Trouble with the binary version of Sage 4.4.3 on Fedora 12

2010-06-20 Thread SteveDunbar
Thanks for the suggestions. I have avoided a full developer installation of Fedora 12 (a reason to install the binary version of Sage) so that is likely to be the reason. Here's my installed libraries etc: $ ls -l /usr/lib64/libstdc++* lrwxrwxrwx. 1 root root 19 2010-04-03 09:41 /usr/lib64/lib

[sage-support] Re: A better way to create lists in Sage/Python

2010-06-20 Thread Dan Christensen
Elise Hellwig writes: > Because I have over 100 pieces of data that need to go into > this list, I'm worried about the memory it will take up. [using append] As William pointed out, you can make a list all at once using lst = [None]*100 But 100 is not a large number, so you should just wr

Re: [sage-support] Trouble with the binary version of Sage 4.4.3 on Fedora 12

2010-06-20 Thread Dr. David Kirkby
On 06/20/10 08:36 PM, SteveDunbar wrote: I am having trouble with the binary version of Sage 4.4.3 on Fedora 12 Linux. What do I need to do to fix the problem? Details below: From http://boxen.math.washington.edu/sage/linux/index.html I downloaded sage-4.4.3-linux-64bit-fedora_release_12_con

[sage-support] Re: Trouble with the binary version of Sage 4.4.3 on Fedora 12

2010-06-20 Thread Harald Schilly
On Jun 20, 9:36 pm, SteveDunbar wrote: > I am having trouble with the binary version of Sage 4.4.3 on Fedora 12 > Linux.  What do I need to do to fix the problem? > ImportError: /usr/lib64/libstdc++.so.6: version `GLIBCXX_3.4.14' not > found (required by /opt/sage-4.4.3-linux-64bit- > fedora_rele

[sage-support] Trouble with the binary version of Sage 4.4.3 on Fedora 12

2010-06-20 Thread SteveDunbar
I am having trouble with the binary version of Sage 4.4.3 on Fedora 12 Linux. What do I need to do to fix the problem? Details below: >From http://boxen.math.washington.edu/sage/linux/index.html I downloaded sage-4.4.3-linux-64bit-fedora_release_12_constantine-x86_64- Linux.tar.lzma I verified t

[sage-support] Re: MILP problems defining variables giving duplicates

2010-06-20 Thread Nathann Cohen
> It's an error of mine, sorry for garbage. I was considering the third > element of the tuple in sage graph's edges as a dictionary (as networkx > does), but it's only a label! Everithing's ok now and sage is great for > linear programming :). I was just taking a look at your code ! :-D By the w

[sage-support] Re: MILP problems defining variables giving duplicates

2010-06-20 Thread Michele Comignano
Il 19/06/2010 17:17, Michele Comignano ha scritto: I'm modeling a flow problem on graph using sage. Once the graph was ready I've modeled a MILP problem with constraints. I've problems having unique variables. What I do is to use v = p.new_variable() and subsequently use the v variable in a loo

Re: [sage-support] Is it possible to generate the documentation in any other language than English

2010-06-20 Thread Michele Comignano
Il 20/06/2010 16:01, Patrick ABOU BAKAR ha scritto: If it is not yet possible, what are the steps to take to make that happen. Is there any documentation on the architecture of SAGE..? How is the help used for Notebook generated? I am assuming that the help is extracted from the help of all the

[sage-support] Is sage 4.3.5 able to solve quadratic equations??

2010-06-20 Thread Matthias Meulien
Hi, I can't figure out why the following commands ends with a TypeError exception. sage: basering = PolynomialRing(SR, 'x') sage: polynomial = basering.lagrange_polynomial([(0,0), (1,pi), (2, pi/ 2)]) sage: polynomial.base_ring() Symbolic Ring sage: type(polynomial) sage: polynomial.roots(x) ---

Re: [sage-support] Re: Problem finding numeric eigenvectors

2010-06-20 Thread Dr. David Kirkby
On 06/ 7/10 03:46 PM, Mike Witt wrote: On 06/06/2010 10:43:38 PM, Rob Beezer wrote: On Jun 6, 9:05 am, Mike Witt wrote: > This does kind of reinforce the concept, which I guess I've > heard expressed before here, that you have to be prepared > to update your sage build very frequently in order

[sage-support] Re: Notebook Login and registration of users : Legacy DB or LDAP

2010-06-20 Thread Patrick ABOU BAKAR
Very nice Thierry! Thanks for you reply. I'd give that a try for the faculty in a later phase.. I am installing Sage for 10 graduate students to try.. The university system is running MySQL and I would like to query against the legacy DB for these students. Got a patch for that? Do you know what

[sage-support] Re: Why is "map" using memory?

2010-06-20 Thread Rolandb
Hi, I found a more simplified example: print get_memory_usage() for i in xrange(1): A(1,8,9) print get_memory_usage() Why is type(A) 'sage.rings.polynomial.multi_polynomial_libsingular.MPolynomial_libsingu \lar' using memory? Roland On 20 jun, 16:18, Rolandb wrote: > Hi, > > Look at: > >

Re: [sage-support] Notebook Login and registration of users : Legacy DB or LDAP

2010-06-20 Thread Thierry Dumont
Le 20/06/2010 16:14, Patrick ABOU BAKAR a écrit : I know that SAGE contains its own installation of pretty much of all the modules it depends on.. My assumption is that there is a table that holds the username and password of the users as they sign up.. What SGBD is used for it? (SQLite, Postre

[sage-support] Why is "map" using memory?

2010-06-20 Thread Rolandb
Hi, Look at: R.=QQ[] print get_memory_usage() for i in xrange(1): (an,bn,cn)=map(lambda x: abs(x((1,8,9))), (A,B,C)) print get_memory_usage() 819.94921875 828.94921875 Why is the memory usage increasing with 9Mb? This only happens when "map" is used repeatedly! I would expect no increase a

[sage-support] Notebook Login and registration of users : Legacy DB or LDAP

2010-06-20 Thread Patrick ABOU BAKAR
I know that SAGE contains its own installation of pretty much of all the modules it depends on.. My assumption is that there is a table that holds the username and password of the users as they sign up.. What SGBD is used for it? (SQLite, PostreSQL, MySQL) I search but couldn't find any collabor

[sage-support] Is it possible to generate the documentation in any other language than English

2010-06-20 Thread Patrick ABOU BAKAR
Hey guys, First post .. I've personally been using Sage for over a year. I have convinced the Math department to give it a shot.. And I am to deploy it on a testing server (Ubuntu 9.04). So some of the graduate students will work on it to see the learning curve.. This is happening in BENIN (West