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

2023-10-27 Thread Nils Bruin
On Thursday, 26 October 2023 at 16:03:27 UTC-7 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 (partial_t

[sage-support] Re: help with memory (sage)

2023-06-20 Thread Nils Bruin
On Monday, 19 June 2023 at 12:10:49 UTC+2 ayan.mah...@gmail.com wrote: Another crazy thing is that suppose I see 40% usage in memory and kill the program by cntrl-c but keep sage running. Then I start a new process in sage. The memory increases from 40%. As if there is some permanent stuff sto

[sage-support] Re: help with memory (sage)

2023-06-19 Thread Marc Culler
You need to provide your code. Of course it is relevant to know what is in those few loops. - Marc On Monday, June 19, 2023 at 5:10:49 AM UTC-5 ayan.mah...@gmail.com wrote: > Hello All, > I have written a program. That takes as input an integer. Produces > something. Not relevant. When the in

[sage-support] Re: Help with SymmetricFunctionAlgebra_multiplicative

2022-04-04 Thread David Ayotte
Can you provide a little bit more context to your problem (i.e. more code)? This TypeError message is very generic and it tells you that "st" is an integer. When it says that it is "*not callable*" it means that you cannot write " st(something) ". For example, this recreate the same error messag

[sage-support] Re: help cartesian_product?

2019-12-08 Thread Simon King
Hi Roland, On 2019-12-07, Rolandb wrote: > I did not expect parts of the help text; see Class docstring: > > Is there a reason for it? What exactly is your question? Are you asking for the reason why you did not expect parts of the help text? Only you can answer that question. Are you asking b

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

2019-07-30 Thread Simon King
Hi! It seems that the following works: - Start the container and wait until everything is functional, using docker's health check: docker run --name=test -dit --health-cmd='sage -c "print(1)"' --health-interval='20s' --health-timeout='20s' --health-start-period='50s' sagemath/sagemath-dev

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

2019-07-30 Thread Simon King
Nathan, On 2019-07-29, Nathan Dunfield wrote: > You can start a container and open a shell on it via: > > docker run -it image_name /bin/bash > > The container will keep running until you exit the shell, if not longer. > You can open a shell on any running container via > > docker exec -it cont

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

2019-07-29 Thread Nathan Dunfield
Simon, You can start a container and open a shell on it via: docker run -it image_name /bin/bash The container will keep running until you exit the shell, if not longer. You can open a shell on any running container via docker exec -it container_name /bin/bash Best, Nathan -- You received

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

2018-02-26 Thread mforets
Yes, i wish now to recompile (git trac pull on develp branch) after a while. In a fresh session, if i try to make after a distclean i get the different error message below related to some dyld: Library not loaded: /usr/local/opt/mpfr/lib/libmpfr.4.dylib Referenced from: /usr/local/bin/gawk. If

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

2018-02-26 Thread Dima Pasechnik
you probably didn't update sage for a while there. make distclean ? On Monday, February 26, 2018 at 10:12:31 AM UTC, mforets wrote: > > 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/Cont

[sage-support] Re: Help! Simple graphs gone wrong?!?

2016-11-07 Thread Nils Bruin
On Monday, November 7, 2016 at 6:51:34 AM UTC-8, Math Student wrote: > > I attempted to graph two functions by typing the following: > > plot(e^x,(x,-2,5)) > plot(1/(x*(x-1)*(x-2)),(x,-2,5)) > > I seem to be running into three big problems. > 1. The graph is so far zoomed out on the y axis as to

[sage-support] Re: Help writing code for 3D vector plots

2016-07-16 Thread Dominique Laurain
What I know for sure is : you better had posted your support issue on the "new" google goup, sage-cell. And because that's annoying (at least for me) : - don't use "SAGE" word (it's acronym name of a company not related to sagemath), - replace "SAGE online" with "sagemath cloud" (with same mea

[sage-support] Re: Help me

2016-05-31 Thread Dima Pasechnik
indeed, this cf thing has been long gone from Sage, already from version 2, dated back to 2007, see https://groups.google.com/d/msg/sage-devel/9bJjMSaxM7c/FZisUjubPpAJ On Tuesday, May 31, 2016 at 7:20:34 PM UTC+1, Dima Pasechnik wrote: > > You are citing a 10-years-old > http://www.sagemath.org/

[sage-support] Re: Help me

2016-05-31 Thread Dima Pasechnik
You are citing a 10-years-old http://www.sagemath.org/files/thesis/albrecht-thesis-2006.pdf Naturally, Sage has evolved a lot since then, and it is hard to say what this was about. On Tuesday, May 31, 2016 at 4:48:16 PM UTC+1, Mai Ngọc wrote: > > > > What is it " After SAGE is built SAGE’s libc

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

2016-01-17 Thread Volker Braun
What I'm trying to say is that QQbar and NumberField aren't embedded in CC in the same code path: sage: SR(I).pyobject().parent().embeddings(CC) [ Ring morphism: From: Number Field in I with defining polynomial x^2 + 1 To: Complex Field with 53 bits of precision Defn: I |--> -1.00

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

2016-01-17 Thread William Stein
On Sun, Jan 17, 2016 at 1:42 PM, Volker Braun wrote: > AlgebraicField = QQbar is a separate implementation from NumberField. The > number field embeddings refer to the latter only. > I don't understand. The first three examples at http://doc.sagemath.org/html/en/reference/number_fields/sage

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

2016-01-17 Thread Volker Braun
AlgebraicField = QQbar is a separate implementation from NumberField. The number field embeddings refer to the latter only. On Sunday, January 17, 2016 at 6:37:14 PM UTC, William wrote: > > Hi, > > Does anybody understand number field embeddings > > http://doc.sagemath.org/html/en/referen

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

2016-01-17 Thread Nils Bruin
On Sunday, January 17, 2016 at 10:37:14 AM UTC-8, William wrote: > > Hi, > > Does anybody understand number field embeddings > > http://doc.sagemath.org/html/en/reference/number_fields/sage/rings/number_field/number_field_morphisms.html > > > and whether the default I in SR (i.e., NumberFie

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

2016-01-17 Thread William Stein
Hi, Does anybody understand number field embeddings http://doc.sagemath.org/html/en/reference/number_fields/sage/rings/number_field/number_field_morphisms.html and whether the default I in SR (i.e., NumberField(x^2+1)) is equipped with any embeddings. The above reference manual shows how to

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

2016-01-17 Thread Volker Braun
SR is special in that it wraps various other rings: sage: wrapped_qqbar = SR(QQbar(I)) sage: wrapped_qqbar.parent() Symbolic Ring sage: wrapped_qqbar.pyobject() 1*I sage: wrapped_qqbar.pyobject().parent() Algebraic Field You don't gain anything from wrapping stuff in SR; ideally you can avoid it

[sage-support] Re: help plotting graphs

2015-11-19 Thread Nathann Cohen
Hello John, Here is a way to force your result: sage: EllipticCurve('11a1').isogeny_graph().show(aspect_ratio=.1) Graph.plot and Graph.show take a *LOT* of parameters: 1) Options specific to the plotting of graphs 2) Options specific to Graphics.plot() 3) Options specific to Graphics.show()

[sage-support] Re: Help - Maxima

2015-10-27 Thread Dima Pasechnik
this seems to be offtopic here - try Maxima forums... On Monday, 26 October 2015 12:09:36 UTC-7, Matematica pentru toți wrote: > > 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

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

2014-07-03 Thread William Stein
On Thu, Jul 3, 2014 at 8:28 AM, Jole Bradbury wrote: > Is SageMathCloud a better way to do this sever thing? Can you answer any of > my other questions? I'm sorry -- I probably shouldn't have made any remarks in this thread. I was only specifically commenting on the issue (output printing) that

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

2014-07-03 Thread Jole Bradbury
Is SageMathCloud a better way to do this sever thing? Can you answer any of my other questions? On Thursday, July 3, 2014 1:59:50 AM UTC-4, William wrote: > > On Wed, Jul 2, 2014 at 10:43 PM, Nils Bruin > > wrote: > > On Wednesday, July 2, 2014 10:14:44 AM UTC-7, Jole Bradbury wrote: > >> > >

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

2014-07-02 Thread William Stein
On Wed, Jul 2, 2014 at 10:43 PM, Nils Bruin wrote: > On Wednesday, July 2, 2014 10:14:44 AM UTC-7, Jole Bradbury wrote: >> >> 2) I've noticed on the Sage Cell Server demo online that typing Maxima >> code will result in every line being evaluated but Sage code only evaluates >> the last line. For

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

2014-07-02 Thread Nils Bruin
On Wednesday, July 2, 2014 10:14:44 AM UTC-7, Jole Bradbury wrote: > > 2) I've noticed on the Sage Cell Server demo online that typing Maxima > code will result in every line being evaluated but Sage code only evaluates > the last line. For example, > integrate(1,x) > integrate(2,x) > In "Sage"

[sage-support] Re: Help with variable substitution

2013-07-05 Thread ramaKunapuli
The following syntax worked. I would like to know if there is a better way to do this. *for sol in sol1: coleqs = [ sympy.simplify(SR(e1)).subs(sol.lhs(),sol.rhs()) for e1 in remEqs] print "coleq:",coleqs* On Friday, July 5, 2013 12:05:40 PM UTC-7, ramaKunapuli wrote: > > Hi, > > I have

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

2013-06-20 Thread Dima Pasechnik
On 2013-06-19, Emmanuel Charpentier wrote: > --=_Part_3454_23024622.1371674663187 > Content-Type: text/plain; charset=ISO-8859-1 > Content-Transfer-Encoding: quoted-printable > > Dear Dmitrii, dear list, > > Following Dmitrii hints, I tried latex(H). It turns out that the curved=20 > edges are

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

2013-06-19 Thread Emmanuel Charpentier
Dear Dmitrii, dear list, Following Dmitrii hints, I tried latex(H). It turns out that the curved edges are a feature, not a bug (a better look at the GraphLatex page showed me explicit documentation about this). This design choice seems embedded in the source code for latex generation of direct

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

2013-06-17 Thread Dima Pasechnik
On 2013-06-17, Emmanuel Charpentier wrote: > --=_Part_260_31328394.1371497392901 > Content-Type: text/plain; charset=ISO-8859-1 > > 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

Re: [sage-support] Re: Help with SageTeX

2013-04-07 Thread Dan Drake
On Sun, 07 Apr 2013 at 01:34AM -0700, Gabriel wrote: > Any ideas on this problem of double questions marks "??" in LaTeX with > SageTeX ? If you're seeing those, you haven't run Sage on the generated .sagetex.sage file, or haven't typeset again after doing so. Dan -- --- Dan Drake - http:/

[sage-support] Re: Help with SageTeX

2013-04-07 Thread Gabriel
Hello all, Any ideas on this problem of double questions marks "??" in LaTeX with SageTeX ? Thank you a lot in advance for all suggestions, All the best, Gabriel On Saturday, April 6, 2013 4:58:34 PM UTC+2, Gabriel wrote: > Hello, > > > > Thank you a lot for your reply! Yes, indeed, I

[sage-support] Re: Help with SageTeX

2013-04-06 Thread Gabriel
Hello, Thank you a lot for your reply! Yes, indeed, I did all that in my test file, there is %!TEX TS-program = sage \documentclass[12pt]{article} ... \usepackage{sagetex} and I use the sage.engine of TeXShop which looks like this: #!/bin/bash PATH=$PATH:/usr/texbin:/usr/local/bin filename=$

[sage-support] Re: Help with SageTeX

2013-04-06 Thread kcrisman
On Saturday, April 6, 2013 6:59:29 AM UTC-4, Gabriel wrote: > > 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/inde

[sage-support] Re: Help Reviewing

2012-10-30 Thread Andreas Paeffgen
On 2012-10-30 19:35:59 +, Andreas Paeffgen said: Sorry for answering in the wrong position. New program, new mistakes. This post should belong to post - notebook server on macos - preference file I have to appologise for posting a doublete Andreas Of course i like to help. 1. Did you mea

[sage-support] Re: Help needed

2012-05-29 Thread William Stein
On Tue, May 29, 2012 at 7:35 AM, Dr Avishek Adhikari wrote: > Dear Professor stein, >    I am an user of Sage. I was also a member of > "sage-support@googlegroups.com". But mistakenly, I made > "unsubscription to sage-support". I want to rejoin the group. Please > let me know what to do. You migh

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

2012-01-03 Thread William Stein
On Jan 3, 2012 3:51 PM, "Volker Braun" wrote: > > Lets face it, constructing a million 2d shapes is always going to be slow. If you create a PDF then it will be multiple megabytes and it will stress-test your PDF viewer. Might also be a challenge to print. Not impossible, but not very handy either

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

2012-01-03 Thread Eric Kangas
I will be printing it out on a plotter D size paper so it should be big enough. On Jan 3, 12:51 pm, Volker Braun wrote: > Lets face it, constructing a million 2d shapes is always going to be slow. > If you create a PDF then it will be multiple megabytes and it will > stress-test your PDF viewer.

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

2012-01-03 Thread Volker Braun
Lets face it, constructing a million 2d shapes is always going to be slow. If you create a PDF then it will be multiple megabytes and it will stress-test your PDF viewer. Might also be a challenge to print. Not impossible, but not very handy either. For example, here is a plot that contains abo

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

2012-01-03 Thread kcrisman
On Jan 3, 11:43 am, Eric Kangas wrote: > well I have 2 million data points, and would like to have each one of > them a different color. Wow, I have trouble getting this to show up in a reasonable amount of time. 2 million is a LOT. R = rainbow(10^6) also takes a long time. What I'd do is s

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

2012-01-03 Thread Eric Kangas
well I have 2 million data points, and would like to have each one of them a different color. On Jan 3, 8:39 am, kcrisman wrote: > On Jan 3, 11:19 am, Eric Kangas wrote: > > > Also I have been trying to get list_plot to create a rainbow effect, > > but I am not sure how to go about it. Looked fo

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

2012-01-03 Thread Eric Kangas
well I have 2 million data points, and would like to have each one of them a different color. On Jan 3, 8:39 am, kcrisman wrote: > On Jan 3, 11:19 am, Eric Kangas wrote: > > > Also I have been trying to get list_plot to create a rainbow effect, > > but I am not sure how to go about it. Looked fo

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

2012-01-03 Thread Eric Kangas
well I have 2 million data points, and would like to have each one of them a different color. On Jan 3, 8:39 am, kcrisman wrote: > On Jan 3, 11:19 am, Eric Kangas wrote: > > > Also I have been trying to get list_plot to create a rainbow effect, > > but I am not sure how to go about it. Looked fo

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

2012-01-03 Thread kcrisman
On Jan 3, 11:19 am, Eric Kangas wrote: > Also I have been trying to get list_plot to create a rainbow effect, > but I am not sure how to go about it. Looked for possible coding and > couldn't find any. > Can you be more specific about what you'd like? We do have the rainbow() function for a ra

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

2012-01-03 Thread Eric Kangas
Also I have been trying to get list_plot to create a rainbow effect, but I am not sure how to go about it. Looked for possible coding and couldn't find any. On Jan 2, 1:22 pm, Anton Sherwood wrote: > On 2012-1-02 09:24, Eric Kangas wrote: > > > l1 = [int(x) for x in p] > > l2 = [int(x) for x in d

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

2012-01-02 Thread D. S. McNeil
> Most of the time, filtering jobs like this can be accomplished by one- > liners using the right list combination and iteration tools: > > [c for c in enumerate(zip(l1,l2)) if c[1][0] ==c[1][1]] You can even avoid the [1][0] stuff by using some nifty unpacking: [(c,ai) for c, (ai,bi) in enumerat

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

2012-01-02 Thread Eric Kangas
never thought about using zip. seems like python is more compact in it's programing then mathematica. On Jan 2, 9:41 am, Nils Bruin wrote: > On Jan 2, 9:24 am, Eric Kangas wrote:> for x in > l1,l2: > >    if l1[x:x+1]==l2[x:x+1]; > > That semicolon gives you the syntax error, but correcting tha

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

2012-01-02 Thread Nils Bruin
On Jan 2, 9:24 am, Eric Kangas wrote: > for x in l1,l2: >if l1[x:x+1]==l2[x:x+1]; That semicolon gives you the syntax error, but correcting that only exposes a runtime error. You should look at what your x is in the loop. If you write "for x in range(len(l1))" you are a little closer already.

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

2012-01-02 Thread Volker Braun
if l1[x:x+Integer(1)]==l2[x:x+Integer(1)]; <== should be colon, not semicolon Why not be more Pythonic? l3 = [ x for x,y in zip(l1,l2) if x==y ] -- To post to this group, send email to sage-support@googlegroups.com To unsubscribe from this group, send email to sage-support+unsubscr...@goog

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

2011-12-26 Thread Jason Grout
On 12/24/11 12:27 PM, Sony 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." \documentclass{article} \usepac

[sage-support] Re: help needed with Classes

2011-09-21 Thread Ken Levasseur
Thanks for the prompt tips. They were perfect! Ken -- To post to this group, send email to sage-support@googlegroups.com To unsubscribe from this group, send email to sage-support+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/sage-support U

[sage-support] Re: help needed with Classes

2011-09-21 Thread Maarten Derickx
Note if you really want to do the things you want to do in the right way you have to learn about categories, parents, elements and the coercion model in sage. see http://www.sagemath.org/doc/reference/sage/categories/primer.html and http://www.sagemath.org/doc/reference/sage/structure/coerce.ht

[sage-support] Re: help needed with Classes

2011-09-21 Thread Maarten Derickx
z.domain() fails because [0,1] is not a function but a list try: z.domain z.operation() fails because operation expects two arguments but it gets none try: z.operation(4,3) display() fails because it calls failing functions -- To post to this group, send email to sage-support@googlegroups.com

[sage-support] Re: help : errors correcting codes(PFA)

2011-06-09 Thread David Joyner
On Thu, Jun 9, 2011 at 6:35 PM, zakaria ben hilal wrote: > hello, > I have a PFA about "errors correcting codes" ,and i need : hamming code > ,golay code ,BCH , Reed-Muller , Reed-Solomon... > and other codes ,wrrited in python langage . > i read your book "Python and Coding Theory" ,it's verry in

Re: [sage-support] Re: help needed with cube

2011-02-17 Thread Robert Bradshaw
On Sun, Jan 30, 2011 at 6:42 AM, Loïc wrote: > Do you think it's better to report it as a bug? Yes. http://trac.sagemath.org/sage_trac/ticket/10796 -- To post to this group, send email to sage-support@googlegroups.com To unsubscribe from this group, send email to sage-support+unsubscr...@googl

Re: [sage-support] Re: help needed with cube

2011-01-30 Thread Francois Maltey
Robert Bradshaw wrote : On Sun, Jan 30, 2011 at 2:55 AM, Loďc wrote: You're right, size affects the center too. Not very intuituive but now, I know it. I think this behaviour is quite surprising. For example, with sphere, size doesn't affect center I might go so far to call it a

[sage-support] Re: help needed with cube

2011-01-30 Thread Marshall Hampton
You can also doing this using the built-in cube in the polyhedra module. Polyhedra can be rescaled and translated; this does something close to what it looked like you were trying: sage: c = polytopes.n_cube(3) sage: c2 = c*2 sage: p = point((2/3,2/3,0),color='green',size=10) sage: c3 = (1/3)*c +

[sage-support] Re: help needed with cube

2011-01-30 Thread Loïc
Do you think it's better to report it as a bug? Loïc PS: A little program that draws Menger's sponge def menger(size,p,x,y,z,start): if(p>0): start+=1 newsize=size/3 graphic=menger(newsize,p-1,x+newsize,y+newsize,z,start) l=[(x+newsize,y-newsize,z),(x-newsize,

Re: [sage-support] Re: help needed with cube

2011-01-30 Thread Robert Bradshaw
On Sun, Jan 30, 2011 at 2:55 AM, Loïc wrote: > Thanks you very much for your reply > > You're right, size affects the center too. > Not very intuituive but now, I know it. > > I think this behaviour is quite surprising. > For example, with sphere, size doesn't affect center I might go so far

[sage-support] Re: help needed with cube

2011-01-30 Thread Loïc
Thanks you very much for your reply You're right, size affects the center too. Not very intuituive but now, I know it. I think this behaviour is quite surprising. For example, with sphere, size doesn't affect center On 29 jan, 20:04, Francois Maltey wrote: > Hello, > > > I was making som

Re: [sage-support] Re: Help

2010-12-30 Thread vijay sharma
Hello All Great for all your help. I am now able to get notebook. Actually the problem was: my Work Offline mode was on so I could not start things. I unchecked the work offline mode and now things are working. Thanks to everybody. Wishes for happy new year. Regards Vijay On Sun, Dec 26, 20

[sage-support] Re: Help

2010-12-25 Thread Dox
Hello Vijay: I got the same message some time ago. This was solved when I enable the ``work off-line'' mode of Firefox. Hope it'll work for you! On Dec 25, 8:22 am, vijay sharma wrote: > Dave > > Thanks for your reply and Merry Christmas. > I am running > > ./sage > > command only if you s

[sage-support] Re: Help

2010-12-25 Thread Keshav Kini
Connect instead to http://127.0.0.1:8080/ . Some computers don't have the domain "localhost" automatically set up to resolve to the loopback interface. Hope that helps, Keshav On Dec 25, 7:22 pm, vijay sharma wrote: > Dave > > Thanks for your reply and Merry Christmas. > I am running > > ./

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

2010-08-12 Thread Josh
Roland, Thanks for the suggestion; I'll go the VMplayer route. It's too bad, really. I try to use FOSS whenever possible. Any idea what causes this problem? Josh On Aug 11, 10:16 pm, Rolandb wrote: > On 11 aug, 22:36, Josh wrote: > > > > > This is probably completely noobish of me, but I re

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

2010-08-11 Thread Rolandb
On 11 aug, 22:36, Josh wrote: > 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 V

[sage-support] Re: help defining latex macros

2010-07-27 Thread John H Palmieri
On Jul 26, 4:42 pm, Mike Witt wrote: > On 07/26/2010 04:17:05 PM, John H Palmieri wrote: > > > > > > > On Jul 26, 3:45 pm, Mike Witt wrote: > > > On 07/26/2010 01:24:34 PM, John H Palmieri wrote: > > > > > On Jul 26, 12:59 pm, Mike Witt wrote: > > > > > sage: version() > > > > > 'Sage Version

Re: [sage-support] Re: help defining latex macros

2010-07-26 Thread Mike Witt
On 07/26/2010 04:17:05 PM, John H Palmieri wrote: On Jul 26, 3:45 pm, Mike Witt wrote: > On 07/26/2010 01:24:34 PM, John H Palmieri wrote: > > > > > > > On Jul 26, 12:59 pm, Mike Witt wrote: > > > sage: version() > > > 'Sage Version 4.5.1, Release Date: 2010-07-19' > > > > I'd like to to define

[sage-support] Re: help defining latex macros

2010-07-26 Thread John H Palmieri
On Jul 26, 3:45 pm, Mike Witt wrote: > On 07/26/2010 01:24:34 PM, John H Palmieri wrote: > > > > > > > On Jul 26, 12:59 pm, Mike Witt wrote: > > > 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

Re: [sage-support] Re: help defining latex macros

2010-07-26 Thread Mike Witt
On 07/26/2010 01:24:34 PM, John H Palmieri wrote: On Jul 26, 12:59 pm, Mike Witt wrote: > 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}$

[sage-support] Re: help defining latex macros

2010-07-26 Thread John H Palmieri
On Jul 26, 12:59 pm, Mike Witt wrote: > 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 n

[sage-support] Re: help with chanin dirivatives

2010-03-18 Thread Alec Mihailovs
On Mar 15, 8:58 am, wxu...@sohu.com wrote: > 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 > k^2*D[0,0](f)+2*del

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

2010-03-18 Thread Aleksej Saushev
Jeff Post writes: > On Wednesday 17 March 2010 20:28, Dr. David Kirkby wrote: >> >> I> don't know what started using carriage return and line feed (CR/LF), > > I believe it was CP/M, upon which DOS was based. Canonical line end predates CP/M by more than a decade. It is older than ANSI. -- HE

[sage-support] Re: help: ILLEGAL INSTRUCTION errors

2010-01-30 Thread Rado
I think your cpu is too old http://en.wikipedia.org/wiki/SSSE3 I would suggest you download the source code and build Sage. http://sagemath.com/download-source.html Just give it 2 hours or so. Rado On Jan 30, 9:27 pm, keripix wrote: > Ive already download sage for arch linux with gcc 4.4.3. How

[sage-support] Re: Help with R?

2009-11-23 Thread kcrisman
Thanks for all this feedback. In the event, the specific reason I wanted to have this was for a presentation where the idea would be one could "just use" R, which has a lot of undergraduate resources/texts available, not necessarily to plot my own histograms or use the new stats - since, if histor

[sage-support] Re: Help with R?

2009-11-23 Thread Jason Grout
Jason Grout wrote: > > So it looks like MASS is installed. Do you know a command I can check > it with? Indeed, it appears that it works and loads the MASS library: sage: import rpy2.rpy_classic as rpy sage: r=rpy.r sage: rpy.set_default_mode(rpy.BASIC_CONVERSION) sage: r.library('MASS') ['

[sage-support] Re: Help with R?

2009-11-23 Thread Jason Grout
kcrisman wrote: > > I opened a ticket for the bad doctest: > http://trac.sagemath.org/sage_trac/ticket/7521 > >>> Still not sure why this doesn't work; in fact, it's supposed to be >>> included in every *binary* shipped, obviously that doesn't apply >>> directly to Sage... >> The R spkg does not

[sage-support] Re: Help with R?

2009-11-23 Thread Jason Grout
William Stein wrote: > On Mon, Nov 23, 2009 at 1:52 PM, kcrisman 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 >> W

[sage-support] Re: Help with R?

2009-11-23 Thread kcrisman
I opened a ticket for the bad doctest: http://trac.sagemath.org/sage_trac/ticket/7521 > > > Still not sure why this doesn't work; in fact, it's supposed to be > > included in every *binary* shipped, obviously that doesn't apply > > directly to Sage... > > The R spkg does not compile the standar

[sage-support] Re: Help with R?

2009-11-23 Thread Jason Grout
kcrisman wrote: > Anyway, next up is the "standard" package that our speaker at the last > JMM couldn't get to load in the Sage version of R, so he just showed > slides instead :( > > sage: r.install_packages('MASS') > ** You are using OS X. Unfortunately, the R optional package system > current

[sage-support] Re: Help in Finite Fields using FFLAS-FFPACK

2009-11-11 Thread Christian
> Well, you don't need to master C++, for wrapping a C++ library we use Cython > which is a much smaller and easier language. Have a look at > http://www.cython.org > Note that Burcin worked on wrapping FFLAS-FFPACK > directly before (I am pinging him explicitly, so he knows about this threat) O

[sage-support] Re: Help in Finite Fields using FFLAS-FFPACK

2009-11-11 Thread Martin Albrecht
On Wednesday 11 November 2009, Christian wrote: > Thankx for your quick response!!! > > I wish I could help, I'm weak in programming... specially in c++, but > I'm trying to learn as fast as possible (~10 years according to Peter > Norvig)... > Anyway I will try a little bit. Well, you don't nee

[sage-support] Re: Help in Finite Fields using FFLAS-FFPACK

2009-11-10 Thread Christian
Thankx for your quick response!!! I wish I could help, I'm weak in programming... specially in c++, but I'm trying to learn as fast as possible (~10 years according to Peter Norvig)... Anyway I will try a little bit. About extension fields, do you mean GF(p^w) where p is prime? I though fflas-ff

[sage-support] Re: Help in Finite Fields using FFLAS-FFPACK

2009-11-10 Thread Martin Albrecht
On Wednesday 11 November 2009, Christian wrote: > Hi, > I read that the c++ library fflas-ffpack is included in Sage, I'm > trying to find the commands which use it, but so far I couldn't find > them. > > I want to implement the finite field 2^8 using fflas-ffpack. > > With the normal commands i

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

2009-11-04 Thread Robert Bradshaw
On Nov 4, 2009, at 7:43 PM, wxu...@sohu.com wrote: > > Hi, all > > > I just saw that if I defined a function: f=f(e^t), How did you define f? Perhaps > 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 dif

[sage-support] Re: Help with some calculus

2009-11-04 Thread ma...@mendelu.cz
[ma...@um-bc107 /opt/sage]$ ./sage -- | Sage Version 4.1.2, Release Date: 2009-10-13 | | Type notebook() for the GUI, and license() for information.| --

[sage-support] Re: help with plot3D

2009-10-07 Thread ma...@mendelu.cz
* Use plot3d * typo error mp2 versus m2 and mp1 versus m1 ? This works. var('t1 t2') m1 = 0.33; m2 = 0.39; sap = 1.2; saf = 0.4; H = 10; E(t1,t2)= -1*m1*H*sin(t1) - m2* H * sin(t2)+sap * cos(t2-t1)-saf * sin (t1) plot3d(E,(t1,-5,5),(t2,-5,5)) R.M. On 7 říj, 23:09, SG wrote: > Hi, > I am tryin

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

2009-09-25 Thread Marshall Hampton
You might also find some of the differential equation interact examples helpful, there are three that relate to Euler's method: http://wiki.sagemath.org/interact/diffeq -M. Hampton On Sep 24, 12:52 pm, Jaasiel Ornelas wrote: > wow, Iwas trying to figure out how to do exactly what you did, but

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

2009-09-24 Thread kcrisman
> > but I don't know why Sage will not evaluate the cos and > sin terms, so you end up with a long messy hybrid > symbolic/numberical expression. > Just FYI, this is changed in the new Pynac package (0.1.9) which will most likely end up in Sage 4.1.2. It's not clear to me when this changed -

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

2009-09-24 Thread Jaasiel Ornelas
wow, Iwas trying to figure out how to do exactly what you did, but I don't know how to program. Thx, now I have something to base myself off. On Sep 24, 11:43 am, David Joyner wrote: > You could try > > x,y = var("x,y") > dy_dxB(x,y) = cos(x) - sin(x) - y > eulers_method(dy_dxB,0,2,0.1,3) > > b

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

2009-09-24 Thread David Joyner
You could try x,y = var("x,y") dy_dxB(x,y) = cos(x) - sin(x) - y eulers_method(dy_dxB,0,2,0.1,3) but I don't know why Sage will not evaluate the cos and sin terms, so you end up with a long messy hybrid symbolic/numberical expression. If you use instead eulers_method(dy_dxB,0,2,0.1,3, method=

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

2009-09-23 Thread Francois Maltey
Many thanks Tim ! > If you simply copy-paste into the sage commandline, you will get that > error... > Last time I tried `sage.el`, there was a command to send input > directly to the comandline buffer... Perfect ! I pass the edited buffer to sage-mode in emacs, get then a new sage-send-region,

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

2009-09-23 Thread Tim Joseph Dumol
If you simply copy-paste into the sage commandline, you will get that error since after the `return(1)` line, indention goes back one level, like so: sage: def ff(n): :if n == 0: :return(1) :else: --- [Errors] Sin

[sage-support] Re: help with matrix

2009-09-22 Thread Afonso Henriques Silva Leite
Thanks, Jason!! On Mon, 2009-09-21 at 17:15 -0500, Jason Grout wrote: > Afonso Henriques Silva Leite wrote: > > 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

[sage-support] Re: help with matrix

2009-09-21 Thread Jason Grout
Afonso Henriques Silva Leite wrote: > 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... >

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

2009-08-22 Thread Jason Grout
arun wrote: > 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, > Ar

[sage-support] Re: 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-06-13 Thread Saj
Thanks Minh Nguyen. It worked great! On Jun 13, 5:17 pm, Minh Nguyen wrote: > Hi Saj, > > On Sat, Jun 13, 2009 at 9:32 PM, Saj wrote: > > > > First, you should create another copy of the main Sage library. This > is called "cloning". Here, I switch to the main Sage repository, then > clone it,

[sage-support] Re: 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-06-13 Thread Minh Nguyen
Hi Saj, On Sat, Jun 13, 2009 at 9:32 PM, Saj wrote: First, you should create another copy of the main Sage library. This is called "cloning". Here, I switch to the main Sage repository, then clone it, naming my clone "6139" to reflect the ticket number that I'm dealing with: {{{ [mv...@darksta

[sage-support] Re: 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-06-13 Thread Saj
sage: hg_sage.patch('sbox_call_and_rest.patch'); cd "/usr/local/bin/sage-3.4.2/devel/sage" && hg status cd "/usr/local/bin/sage-3.4.2/devel/sage" && hg status cd "/usr/local/bin/sage-3.4.2/devel/sage" && hg import "/usr/local/ bin/sbox_call_and_rest.patch" applying /usr/local/bin/sbox_call_and_r

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

2009-06-10 Thread Mike Hansen
On Tue, Jun 9, 2009 at 11:27 PM, wrote: > ... and my problem was that I expected (from the sage manual) that > these short .rst files are auto-generated! Aren't they? They're only auto-generated because I put code in builder.py to do so. For something that's not Sage, I don't know if I'd use bu

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

2009-06-09 Thread simon . king
Dear Mike, On Jun 9, 9:44 pm, Mike Hansen wrote: > The reference manual is not the most straightforward place to start > looking since there is some additional stuff that we do in > devel/doc/common/builder.py to make it easy to add Sage modules to the > reference manual. Actually this is what

  1   2   >