Re: [sage-support] help debugging latex() printing with trace()

2023-10-27 Thread Dima Pasechnik
On Fri, Oct 27, 2023 at 1:03 AM Eric Majzoub wrote: > > I would like to debug the latex printing of an expression that ambiguous. > > To reproduce it: > t = var('t') > x = function('x')(t) > latex( diff(x,t)^2 ) > > This produces ambiguous output, essentially: > > partial_t x^2 > > instead of > >

[sage-support] help debugging latex() printing with trace()

2023-10-26 Thread Eric Majzoub
I would like to debug the latex printing of an expression that ambiguous. To reproduce it: t = var('t') x = function('x')(t) latex( diff(x,t)^2 ) This produces ambiguous output, essentially: partial_t x^2 instead of (partial_t x)^2 I have tried: from sage.misc.trace import trace

[sage-support] help with memory (sage)

2023-06-19 Thread ayan.mah...@gmail.com
Hello All, I have written a program. That takes as input an integer. Produces something. Not relevant. When the input is 15, the program works fine with memory usage 3.8% and steady. When I increase the input to 25, memory usage increases. That is expected. But what is unexpected is that the

[sage-support] HELP

2021-07-07 Thread Cosimo Romito
hi could you tell me the sage command to restrict a vector subspace of a bilinear form? thank you -- You received this message because you are subscribed to the Google Groups "sage-support" group. To unsubscribe from this group and stop receiving emails from it, send an email to

Re: [sage-support] HELP

2021-06-25 Thread Cosimo Romito
thank you so much for your reply and help. I still published the track. Il giorno mercoledì 23 giugno 2021 alle 19:20:46 UTC+2 wdjo...@gmail.com ha scritto: > On Wed, Jun 23, 2021 at 1:07 PM Cosimo Romito > wrote: > >> Hi everyone, would anyone be willing to help me with a sage exercise >>

Re: [sage-support] HELP

2021-06-25 Thread David Joyner
On Wed, Jun 23, 2021 at 1:20 PM David Joyner wrote: > > > On Wed, Jun 23, 2021 at 1:07 PM Cosimo Romito > wrote: > >> Hi everyone, would anyone be willing to help me with a sage exercise >> related to the base of a radical of a bilinear form? Thank you. >> soon I attach the track >> >> > I used

Re: [sage-support] HELP

2021-06-23 Thread David Joyner
On Wed, Jun 23, 2021 at 1:07 PM Cosimo Romito wrote: > Hi everyone, would anyone be willing to help me with a sage exercise > related to the base of a radical of a bilinear form? Thank you. > soon I attach the track > > Ask sagemath has a similar question:

[sage-support] HELP

2021-06-23 Thread Cosimo Romito
Hi everyone, would anyone be willing to help me with a sage exercise related to the base of a radical of a bilinear form? Thank you. soon I attach the track -- You received this message because you are subscribed to the Google Groups "sage-support" group. To unsubscribe from this group and

[sage-support] Help requests for SageMath on Windows

2021-03-24 Thread slelievre
Two recent help requests for SageMath on Windows: - It seems that the kernel has crashed https://ask.sagemath.org/question/56353 - How to load .sobj files into Jupyter Notebook https://ask.sagemath.org/question/56331 See also

[sage-support] help cartesian_product?

2019-12-07 Thread Rolandb
Hi, I did not expect parts of the help text; see Class docstring: Is there a reason for it? Roland Type:LazyImportString form: The cartesian_product functorial constructionFile: /opt/sagemath-8.9/local/lib/python2.7/site-packages/sage/misc/lazy_import.pyxDocstring:

[sage-support] help triangle_sandpile? Output correct?

2019-08-04 Thread Rolandb
Hi, help triangle_sandpile? (version 8.8, Jupyter Windows) gives the following (unexpected) output after Class docstring Is this intended? Type:LazyImportString form: File: /opt/sagemath-8.8/local/lib/python2.7/site-packages/sage/misc/lazy_import.pyxDocstring:

[sage-support] Help/Pointers on using docker with travis-ci

2019-07-29 Thread Simon King
Hi! Last week at Sage Days 100 I learned how to put the code for my group cohomology spkg on github and got an introduction on using travis-ci. However, it seems that I need more help/pointers, in particular on docker. The things that I want travis-ci to do are: - Install dependencies of my code

Re: [sage-support] Help with getting the python code

2018-09-30 Thread Dima Pasechnik
On Mon, Oct 1, 2018 at 12:21 AM John H Palmieri wrote: > > > > On Sunday, September 30, 2018 at 9:58:33 AM UTC-7, Dima Pasechnik wrote: >> >> On Sun, Sep 30, 2018 at 5:35 PM Nataliya Demyanenko >> wrote: >> > Please, let me know if I can gain access to the python code displayed on >> > this

Re: [sage-support] Help with getting the python code

2018-09-30 Thread John H Palmieri
On Sunday, September 30, 2018 at 9:58:33 AM UTC-7, Dima Pasechnik wrote: > > On Sun, Sep 30, 2018 at 5:35 PM Nataliya Demyanenko > > wrote: > > Please, let me know if I can gain access to the python code displayed on > this page > > >

[sage-support] Help installing from source in Mac OSX 10.11.6

2018-02-26 Thread mforets
Hello, In a Mac OSX 10.11.6 with Xcode 8.2.1, compiling sage 8.2.beta6 from sources i get the error message below: $ make /Applications/Xcode.app/Contents/Developer/usr/bin/make build/make/Makefile --stop ./bootstrap -d rm -rf config configure build/make/Makefile-auto.in configure.ac:390:

[sage-support] Help me

2016-05-31 Thread Mai Ngọc
What is it " After SAGE is built SAGE’s libcf bindings need to be enabled. The file all.py in $SAGE_ROOT/devel/sage/sage/libs needs to be edited. The line import sage.libs.cf.cf as cf" The preferred way to install SAGE is by compiling it from source. For this, unpack

Re: [sage-support] Help needed with getting PARI/GP residue fields in Sage finite field form

2016-04-01 Thread Misja
On the contrary: it is a helpful remark! I hadn't realised this before. At least I can check whether I am lucky and the order is of the form Z[X]/(f) and proceed very quickly if so :-) On Saturday, 26 March 2016 14:54:00 UTC, David Loeffler wrote: > > Dear Misja, > > What I had in mind was

Re: [sage-support] Help needed with getting PARI/GP residue fields in Sage finite field form

2016-03-26 Thread David Loeffler
PS: In your example, the order generated by the element b = 3033120361/143075599831793664*a^4 + 1953773/876688724459520*a^3 + 53/38811740405760*a^2 + 1/3158507520*a is actually locally maximal at 7, so you can compute all the primes above 7 and the residue maps for this order just by computing

Re: [sage-support] Help needed with getting PARI/GP residue fields in Sage finite field form

2016-03-26 Thread David Loeffler
Dear Misja, What I had in mind was something like this. Given some monstrous number field K with enormous discriminant, and some small prime p, you can ask Sage for a p-maximal order and it'll find one reasonably quickly, as you know. All I was saying is that if the resulting order O is of the

Re: [sage-support] Help needed with getting PARI/GP residue fields in Sage finite field form

2016-03-19 Thread David Loeffler
There are two reasons why people work with non-maximal orders: because they're actually interested in their arithmetic; or (more often) because they're working with examples where the discriminant is too large to efficiently factor. Which is the case in your problem? In the example you give,

Re: [sage-support] Help needed with getting PARI/GP residue fields in Sage finite field form

2016-03-19 Thread Misja
Hi David, Thank you very much for this helpful reply! You're right, of course: my example was silly. Here's an example with a 104 digit discriminant that my code just got stuck on (for a bit). x=polygen(QQ); K=NumberField(x^5 + 16255223088*(x^4) - 330681713908949415936*(x^3) -

[sage-support] Help needed with getting PARI/GP residue fields in Sage finite field form

2016-03-11 Thread Misja
For a number field N I am trying to factor an integral prime p in a p-maximal order Op. In the end I would like a map from the quotient of the p-maximal order Op/P (for P|p) to some finite field in Sage's standard finite field form, but I can't quite figure out how to do it. Firstly, Sage

Re: [sage-support] Help on coercicion (Sage Crash inside).

2016-01-17 Thread Emmanuel Charpentier
Thanks a lot for this answer. This is somewhat clearer for me. Now, I have to understand coercions between THREE sets that a (non-professionnal-mathematician) human thinks (vaguely) as one : $\mathbb{C}$. I suppose that's a price to pay for using Sage. Probably "obviously" the Right Thing to

Re: [sage-support] Help on coercicion (Sage Crash inside).

2016-01-17 Thread William Stein
On Sun, Jan 17, 2016 at 9:39 AM, Emmanuel Charpentier wrote: > (Note : Question also asked on ask.sagemath.org, but crossposted because I > found a way to CRASH sage...). > I'm trying to understand coercions, and I'm hitting (repeatedly) something > that I do not

[sage-support] Help on coercicion (Sage Crash inside).

2016-01-17 Thread Emmanuel Charpentier
(Note : Question also asked on ask.sagemath.org, but crossposted because I found a way to CRASH sage...). I'm trying to understand coercions, and I'm hitting (repeatedly) something that I do not understand. Let's try to find thge roots of a polynom. We can try equation solving (of a quartic,

Re: [sage-support] help plotting graphs

2015-11-19 Thread Christophe Bal
William talks about D3.js. Le 19 nov. 2015 18:53, "John Cremona" a écrit : > Thanks -- I was half-expecting Nathann to be the first to reply! I > don't (or rather, did not) know what D3 is...and I think I will wait > for someone else to do that for the LMFDB & isogeny

Re: [sage-support] help plotting graphs

2015-11-19 Thread John Cremona
Thanks -- I was half-expecting Nathann to be the first to reply! I don't (or rather, did not) know what D3 is...and I think I will wait for someone else to do that for the LMFDB & isogeny graphs. Meanwhile it would still be nice to cut out the whitespace. John On 19 November 2015 at 12:19,

Re: [sage-support] help plotting graphs

2015-11-19 Thread Nathann Cohen
> > Thanks -- I was half-expecting Nathann to be the first to reply! It was one of my 'no computer at work' day, sorry :-P > I don't (or rather, did not) know what D3 is... > It is a javascript library for visualisation. If I remember correctly, the guy who wrote it (used to?) work for

Re: [sage-support] help plotting graphs

2015-11-19 Thread Nathann Cohen
Hellooo, Note that the renderer here evidently doesn't have edge labels implemented. > But using D3 (or something built on it) is the future for showing > "networks" in a webpage. There's many javascript libraries that > attempt to solve this problem these days. > Well, there is if

[sage-support] help plotting graphs

2015-11-19 Thread John Cremona
I need to plot some graphs, save them and embed the results in a web page, for example this: http://www.lmfdb.org/EllipticCurve/Q/11/a/ The graph itself is created from its adjacency matrix (with some adjustment of the vertex positions to look good for some of the more complicated examples).

[sage-support] Help - Maxima

2015-10-26 Thread Matematica pentru toți
What should I do in wxMaxima to display all natural numbers abc divisible by 7 and a+b+c=7? In SageMath, I use the commands: var('a,b,c') [100*a+10*b+c for a in range(1,10) for b in range(0,10) for c in range(0,10) if (100*a+10*b+c)%7==0 and a+b+c==7] 133, 322, 511,700 Thanks! -- You

[sage-support] Help with SU(2) algebras

2014-08-04 Thread jamesraynolds via sage-support
This is a problem involving polynomials of SU(2) operators (or matrices) multiplied by scalar variables (e.g. x, y, etc.). I'm trying to do something that I think should be relatively simple. It is a physics problem involving two spins A and B that are represented by components (Ax,Ay,Az) and

[sage-support] Help with understanding and setting up Sage Cell Server

2014-07-02 Thread Jole Bradbury
Hi all, I've done some work in Java, HTML, CSS, JavaScript, ActionScript 3.0 and recently Python. I have a project I'm working on where I'd like to set up a very simple Sage server, to function as follows: The server will receive Sage or Maxima code, execute the code, and send back the

[sage-support] Help with variable substitution

2013-07-05 Thread Rama Kunapuli
Hi, I have the following code where I am trying to substitute solution to a previous equation in variable y into next set of equations in x,y. I would like lhs and rhs to be variables as sometime the code might substitute, say z into equations containing z,p etc., # set the ploynomial ring

[sage-support] Help about directed graph rendering with LaTeX/tikz

2013-06-17 Thread Emmanuel Charpentier
Dear list, I am trying to render a *directed* graph with LaTeX and tikz. I'ts a Bayesian network based on some causal reasoning (hence the necessity for a directed graph), but I'll reduce my problem to a simple test case. The following code : var(a, latex_name=\mathrm{a}) var(b,

[sage-support] help navigation

2013-06-05 Thread Ursula Whitcher
Would it be possible to add a link to the Sage wiki to the list of helpful resources under Further resources at http://www.sagemath.org/help.html ? UAW -- You received this message because you are subscribed to the Google Groups sage-support group. To unsubscribe from this group and stop

[sage-support] Help with SageTeX

2013-04-06 Thread Gabriel
Hello all, I've just found this Sage Group recently while trying to install Sage and to make it work with LaTeX. I followed (I think) all instructions in the installation guide (http://www.sagemath.org/doc/installation/index.html) and I am stuck in TeXShop (MacTeX 2012) while trying to compile

[sage-support] Help

2013-03-31 Thread Neda
Hi, does anyone have some examples and exercises about algebraic geometrt such as affine variety,hilbert's nullstellensat,finite dimentional algebra,elimination theory.. or anything relevant to algebraic geometry? Because I'm new in using sage and I want to practice and use it in algebraic

[sage-support] Help Reviewing

2012-10-30 Thread Andreas Paeffgen
Of course i like to help. 1. Did you mean just reviewing the trac.sagemath.org/sage_trac. you mentioned or everything concerning the mac.app? 2. Or related to my original question regarding the server functionality in the mac.app? If you have a different idea how to help, thats fine with

[sage-support] help with filtering between two lists.

2012-01-02 Thread Eric Kangas
Hi, I have to lists of numbers. I am trying to figure out a way to find out where each number in both lists are identical. Here is my coding, and I have a syntax error that I can't seem to figure out. Code: p = list(str(n(pi, digits = 1000))) d = list(str(n(e, digits = 1000))) p.remove('.')

Re: [sage-support] help with filtering between two lists.

2012-01-02 Thread Anton Sherwood
On 2012-1-02 09:24, Eric Kangas wrote: l1 = [int(x) for x in p] l2 = [int(x) for x in d] l3 = [] x = 0 for x in l1,l2: This will give x the values l1 and l2, which are not valid indices. if l1[x:x+1]==l2[x:x+1]; l3.insert(x, (x,l1[x:x+1],l2[x:x+1])); Why ranges (which are lists) rather

Re: [sage-support] Help with plotting from Mathematica using SageTeX

2011-12-26 Thread David Kirkby
On 24 December 2011 18:27, Sony skosw...@gmail.com wrote: In section 4.2 of the SageLaTeX manual (page 11) explains how to create a LaTeX document with a Mathematica plot using SageLaTeX.  I tried the following code but no output is produced.  I get an error message Example3 not found. I

Re: [sage-support] Help with plotting from Mathematica using SageTeX

2011-12-26 Thread William Stein
On Mon, Dec 26, 2011 at 11:03 AM, David Kirkby david.kir...@onetel.net wrote: On 24 December 2011 18:27, Sony skosw...@gmail.com wrote: In section 4.2 of the SageLaTeX manual (page 11) explains how to create a LaTeX document with a Mathematica plot using SageLaTeX.  I tried the following code

Re: [sage-support] Help with plotting from Mathematica using SageTeX

2011-12-26 Thread David Kirkby
On 26 December 2011 19:28, William Stein wst...@gmail.com wrote: On Mon, Dec 26, 2011 at 11:03 AM, David Kirkby david.kir...@onetel.net wrote: On 24 December 2011 18:27, Sony skosw...@gmail.com wrote: In section 4.2 of the SageLaTeX manual (page 11) explains how to create a LaTeX document

Re: [sage-support] Help with plotting from Mathematica using SageTeX

2011-12-26 Thread David Kirkby
On 26 December 2011 19:51, David Kirkby david.kir...@onetel.net wrote: On 26 December 2011 19:28, William Stein wst...@gmail.com wrote: What problems?  Are there any corresponding open trac tickets or bug reports about your problems? http://trac.sagemath.org/sage_trac/ticket/10968 Note

Re: [sage-support] Help with plotting from Mathematica using SageTeX

2011-12-25 Thread Dan Drake
On Sat, 24 Dec 2011 at 10:27AM -0800, Sony wrote: \documentclass{article} \usepackage{sagetex} \begin{document} \begin{sagesilent} mathematica('myplot = Plot[Sin[x], {x, 0, 2 Pi}]') mathematica('Export[%s/example3.eps, myplot]'%os.getcwd()) \end{sagesilent} \includegraphics{example3}

[sage-support] Help with plotting from Mathematica using SageTeX

2011-12-24 Thread Sony
In section 4.2 of the SageLaTeX manual (page 11) explains how to create a LaTeX document with a Mathematica plot using SageLaTeX. I tried the following code but no output is produced. I get an error message Example3 not found. \documentclass{article} \usepackage{sagetex} \begin{document}

[sage-support] Help with programming symbolic expressions!

2011-10-27 Thread Kjetil brinchmann Halvorsen
Hola! I experimented almost a complete day with the seemingly simple problem, I want to program a simple function, like: f(u,v)=\cases{ 2, if u=v, 0, else.} and similar functions. As I want tom do calculus, I need symbolic expressions, not Python functions. I tries using

[sage-support] help needed with Classes

2011-09-21 Thread Ken Levasseur
Hi Everyone I'm just starting to learn Python and want to define a class that represents a set with a binary operation. In a Mathematica package I co-wrote for abstract algebra we used the term groupoid and I know that this isn't the conventional definition, but I'm using it below. I've read

[sage-support] help needed with cube

2011-01-29 Thread Loïc
Hello list, I was making some tries with 3D. I don't succeed to make cube correctly: Here is my code: c=cube((0,0,0),size=2,opacity=0.1,color='red') c+=point((2/3,2/3,0),color='green',size=10) c+=cube(center=(2/3,2/3,0),size=1/3,opacity=0.8) show(c) I draw a point with coord (2/3,2/3,0) Then I

Re: [sage-support] help needed with cube

2011-01-29 Thread Francois Maltey
Hello, I was making some tries with 3D. I don't succeed to make cube correctly: Here is my code: c=cube((0,0,0),size=2,opacity=0.1,color='red') c+=point((2/3,2/3,0),color='green',size=10) c+=cube(center=(2/3,2/3,0),size=1/3,opacity=0.8) show(c) I draw a point with coord (2/3,2/3,0) Then I draw

Re: [sage-support] Help

2010-12-25 Thread Harald Schilly
On Saturday, December 25, 2010 12:22:25 PM UTC+1, Vj wrote: I don't how you got it that I am running *./sage*. FYI, you marked it as bold and that got translated into that string as pure text representation. Have you extracted what you have downloaded? because, just this short error just

[sage-support] Help

2010-12-23 Thread vijay sharma
Hello Could you help me to install the binaries of SAGE? I downloaded the SAGE binary for Fedora. But when I ran *./sage* command, I am getting the following error: - cannot execute the binary. Regards Vijay -- To post to this group, send email to sage-support@googlegroups.com To

[sage-support] help! windows crash - sage inaccessible from host browser

2010-08-11 Thread Josh
This is probably completely noobish of me, but I really need help solving the following problem (which has now occurred for the second time). First, the setup: Sage Version 4.3 VirtualBox 3.1.4 Windows 7 Firefox 3.6.8 My machine crashed with the VM running Sage. When I rebooted, I restarted

[sage-support] help defining latex macros

2010-07-26 Thread Mike Witt
sage: version() 'Sage Version 4.5.1, Release Date: 2010-07-19' I'd like to to define a latex macro, in a worksheet, so that I can use it later to do something like this: html('State = $\\ket{0}$') I found some documentation, but I'm clearly not understanding it:

[sage-support] Help starting Mathematica with Sage

2010-03-17 Thread Young, Michael I. (DFRC-SR)
I am having a problem getting Mathematica to start from Sage on my Mac. I have created the math file in my local directory and made sure that it is executable but when I try to start Mathematica I get the message RuntimeError: Unable to start mathematica because the command 'math' failed. I

Re: [sage-support] Help starting Mathematica with Sage

2010-03-17 Thread Mike Hansen
On Wed, Mar 17, 2010 at 2:02 PM, Young, Michael I. (DFRC-SR) michael.i.yo...@nasa.gov wrote: I am having a problem getting Mathematica to start from Sage on my Mac.  I have created the “math” file in my local directory and made sure that it is What directory do you mean by local directory? In

Re: [sage-support] Help starting Mathematica with Sage

2010-03-17 Thread Dr. David Kirkby
Young, Michael I. (DFRC-SR) wrote: I am having a problem getting Mathematica to start from Sage on my Mac. I have created the “math” file in my local directory and made sure that it is executable but when I try to start Mathematica I get the message “RuntimeError: Unable to start mathematica

[sage-support] help with chanin dirivatives

2010-03-15 Thread wxuyec
Hi everyone,I have a function f=f(eta, bx, bt), in which diff(eta,x)=k(bx,bt) and diff(eta,t)=-omega(bx,bt) withbx=delta*x and bt=delta^2*t. I want to calculate the second order derivative diff(diff(f,x)). Theresult should be

[sage-support] help: ILLEGAL INSTRUCTION errors

2010-01-30 Thread keripix
Ive already download sage for arch linux with gcc 4.4.3. However when i start it, i got this message: - WARNING! This Sage install was built on a machine that supports instructions that are not available on this computer. Sage will likely fail with ILLEGAL INSTRUCTION errors! The

[sage-support] Help with R?

2009-11-23 Thread kcrisman
Hi support, Two questions. The first should be easy, second maybe not. 1. Any links to someone actually doing multiple cool basic stats examples using R from within Sage? I couldn't find any in a quick Wiki and sagemath.org search, but that doesn't mean they aren't there. I need this for a

Re: [sage-support] Help with R?

2009-11-23 Thread William Stein
On Mon, Nov 23, 2009 at 1:52 PM, kcrisman kcris...@gmail.com wrote: Hi support, Two questions.  The first should be easy, second maybe not. 1. Any links to someone actually doing multiple cool basic stats examples using R from within Sage?  I couldn't find any in a quick Wiki and

[sage-support] Help with some calculus

2009-11-04 Thread Paul Sargent
Hi, My calculus is a bit rusty, and I'm trying to do the following. sage: x,a = var(x a) sage: sinc(x) = sin(pi*x)/(pi*x) sage: L = sinc(x)*sinc(x/3) sage: L 3*sin(1/3*pi*x)*sin(pi*x)/(pi^2*x^2) sage: L.integrate(x) 3*integrate(sin(1/3*pi*x)*sin(pi*x)/x^2, x)/pi^2 ...which doesn't help me

[sage-support] help about the function diff()

2009-11-04 Thread wxuyec
Hi, all I just saw that if I defined a function: f=f(e^t), the f.diff(f,t) will give e^t*D[0](f)(e^t). and the question is what is the meaning of D[0](f)(e^t)? I can find that in the help of diff(). thanks in advance. --~--~-~--~~~---~--~~ To post to this

[sage-support] help with plot3D

2009-10-07 Thread SG
Hi, I am trying to plot this trignometric function using plot3D, but I keep getting this value error: free variable. I run Sage 3.2.3 on Win XP Sp2 (WMware 2.5.2) Here's the code: var('t1 t2 m1 m2 H sap saf') E(t1,t2)= -1*m1*H*sin(t1) - m2* H * sin(t2)+sap * cos(t2-t1)-saf * sin (t1); mp1 = 0.33;

[sage-support] Help with euler's equation.

2009-09-24 Thread Jaasiel Ornelas
Hi! I'm using sage for differential equation problems. My college uses maple, but I'd rather use sage. I'm having trouble with eulers method for the diff. eqn. dy/dx = cos (x) - sin(x) - y. This is my code up till now: sage: x,y = PolynomialRing(RR,2,xy).gens() sage: dy_dxB = cos(x) - sin(x)

[sage-support] Help for a single test in a function.

2009-09-23 Thread Francois Maltey
Hello Everybody ! With sage in emacs I test this single function, but I get an error : def ff (n) : if n==0 : return(1) else : return(n*ff(n-1)) I type theses lines in a buffer, and I copy by Ctrl-K / Ctrl-Y in sage-buffer Then I get this error : : : :

[sage-support] help with matrix

2009-09-21 Thread Afonso Henriques Silva Leite
I am studying documentation, but also am in a hurry! I need to create a 1000x2 matrix, and apply a function to the second column. It is possible to do this? I think map function is a good candidate to do that but didn't find out a good example of it... Thanks in advance.

[sage-support] help getting top k eigenvalues of a graph

2009-08-22 Thread arun
Hi, I have a graph with a few billion edges in a comma separated edge file. I am trying to find the top 10 eigenvalues and corresponsing eigenvectors for this graph. This is what I tried (please see below) and it hasn't worked. Can somone please guide me? Thanks, Arun import networkx as nx;

[sage-support] Help on creating documentation for an spkg

2009-06-09 Thread Simon King
Hi! I try to create a documentation for my p-group cohomology spkg, using sphinx. Problem: I am completely lost. Even after looking into the documentation for sphinx and trying to learn from the .rst files in the sage documentation, I can not figure out how it could work. How can I tell sphinx

[sage-support] Help! Why the polynomial is not generated for Multivariate Polynomial Ring in y0, y1, y2, y3, y4, y5, y6, y7, x0, x1, x2, x3, x4, x5, x6, x7 over Finite Field of size 2

2009-05-25 Thread Sajan.S
Hi, I want to generate Multivariate Polynomial Ring in y0, y1, y2, y3, y4, y5, y6, y7, x0, x1, x2, x3, x4, x5, x6, x7 over Finite Field of size 2 I written a sample program, that is not working for this case. Is it a bug? It worked for all other cases eg: Multivariate Polynomial Ring in y0,

[sage-support] help! notebook doesn't work well.

2009-05-10 Thread zasdfg
plot(sin,3,5) evaluate WARNING: Output truncated! full_output.txt execfile(/home/gaoxiang/.sage/sage_notebook/worksheets/admin/4/code/ 5.p\ y) print \x01r\x01e3 print \x01r\x01e2 r e2 execfile(/home/gaoxiang/.sage/sage_notebook/worksheets/admin/4/code/ 5.p\ y) b3

[sage-support] [help!] problem with sage-vmware 3.4.1 on windows xp

2009-05-02 Thread Alessandro Torre
Hello to everybody. I can't make Sage works on windows and I'm going crazy. When typing sage or notebook on the welcome screen of the VMware Player nothing happens. If I type manage and then sage the following message appears: -- | Sage Version 3.4.1,

[sage-support] Help on creating packages/modules

2009-05-01 Thread Simon King
Dear Supporters, I am about to create a sage package pGroupcohomology comprising several (extension) modules mtx, resolution, ... From various Python and Cython manual pages, I thought that I ought to write the following in my setup.py: packages=[pGroupCohomology],

[sage-support] Help me out from PolynomialRing Error!

2009-04-28 Thread Sajan.S
Dear sir, P. y0, y1, x0, x1 = PolynomialRing(GF(3),4,order='lex'); is working in interactive python shell. but not working in python script file executed at command prompt Error Message is: Code: File test.py, line 10 P. y0, y1, y2, x0, x1, x2 = PolynomialRing(GF(2),

[sage-support] Help with a least-squares fit routine

2008-09-18 Thread Matthew Miller
Hello, I'm working on a least-squares fit routine and I'm having a bit of trouble. The method that I'm using involves finding a series of orthogonal polynomials that have coefficients based on the input data. Most of the structure is worked out, the polynomials are stored in a list named phi and

[sage-support] help with jordan form bug

2008-04-17 Thread Marshall Hampton
In Sage-2.11, jordan_form seems to crash on nilpotent matrices. For example: sage: nil = matrix(QQ,2,2,[[0,1],[0,0]]) sage: nil.jordan_form() gives: Traceback (most recent call last): File stdin, line 1, in module File /Volumes/D/sage-2.8.4.1/sage_notebook/worksheets/mh/78/code/ 100.py,

[sage-support] help with saving and editing a file.

2008-04-09 Thread og.
hello, I am using sage in windows. I use sage with vmware. I have very very little information about sage and linux. I want to write an algorithm and be able to run it using sage. But when I try to save my work in sage it saves only the objects not the whole thing. I may not be very clear. But