Re: [sage-support] algorithme

2019-01-19 Thread Anton Sherwood
me to get started. -- *\\* Anton Sherwood *\\* www.bendwavy.org -- 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 sage-support+unsubscr...@google

[sage-support] Piecewise polynomials in general

2018-01-25 Thread Anton Sherwood
Speaking of piecewise functions, does anyone happen to know of a piecewise polynomial object for Python? I tried writing one (based on numpy.poly1d) but its integration method seems to have a bug. It surprises me that I haven't found one on the fertile Web. -- *\\* Anton Sherwood

Re: [sage-support] Re: this circuit used to work but it doesn't anymore ?

2017-02-06 Thread Anton Sherwood
m the reader, unless you click on the topic about OpenBlas and see this:... Please make sure to post such things separately, not inside an irrelevant thread... -- *\\* Anton Sherwood *\\* www.bendwavy.org -- You received this message because you are subscribed to the Google Groups

Re: [sage-support] Comparing many lists to each other

2016-10-01 Thread Anton Sherwood
): if mytaylors[j][n] == mytaylors[k][n]: continue matchcounter[n] += 1 break else: matchcounter[20] += 1 -- *\\* Anton Sherwood *\\* www.bendwavy.org

Re: [sage-support] Re: logged out

2016-09-12 Thread Anton Sherwood
On Monday, September 12, 2016 at 5:59:42 AM UTC, Anton Sherwood wrote: Oh heck. I used my local Sage "server" yesterday, and (thinking nothing of it) signed out before shutting it down; and now it wants me to sign in. I don't remember ever signing in before, and have no idea what it

[sage-support] logged out

2016-09-12 Thread Anton Sherwood
Oh heck. I used my local Sage "server" yesterday, and (thinking nothing of it) signed out before shutting it down; and now it wants me to sign in. I don't remember ever signing in before, and have no idea what it thinks my username is! -- *\\* Anton Sherwood *\\* www.bendwavy.o

[sage-support] linear solutions

2016-09-10 Thread Anton Sherwood
I haven't guessed the right keywords. How do I solve a set of linear equations in which the coefficients are symbolic expressions like a^2-sqrt(b)? -- *\\* Anton Sherwood *\\* www.bendwavy.org -- You received this message because you are subscribed to the Google Groups "sage-su

Re: [sage-support] Re: Series expansion is incorrect?

2016-05-24 Thread Anton Sherwood
wolfram alpha output looks like an unreadable URL I guess your mail-reader, like mine, thinks "^" is not valid in a URL; but pasting works. -- *\\* Anton Sherwood *\\* www.bendwavy.org -- You received this message because you are subscribed to the Google Groups "sage

Re: [sage-support] Partial differentiation on Sage

2016-03-01 Thread Anton Sherwood
d ignore r. -- *\\* Anton Sherwood *\\* www.bendwavy.org -- 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 sage-support+unsubscr...@googlegroups.com. To post

Re: [sage-support] Partial differentiation on Sage

2016-02-29 Thread Anton Sherwood
partial derivatives with respect to theta, which of course assumes constant r. -- *\\* Anton Sherwood *\\* www.bendwavy.org -- You received this message because you are subscribed to the Google Groups "sage-support" group. To unsubscribe from this group and stop receiving emails fro

Re: [sage-support] Sage error HELP

2015-08-13 Thread Anton Sherwood
On 2015-8-13 04:22, Luis Molina wrote: def slopeline(x=(-5,5)): p=plot(x^n, (n,0,6), ymin=-5^4, ymax= 5^4) show(p) What is (-5,5)^n supposed to be? -- *\\* Anton Sherwood *\\* www.bendwavy.org -- You received this message because you are subscribed to the Google Groups sage-support

Re: [sage-support] bug in == operator?

2015-07-13 Thread Anton Sherwood
if m == m1: print equal -- *\\* Anton Sherwood *\\* www.bendwavy.org -- 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 sage-support+unsubscr...@googlegroups.com

Re: [sage-support] Sage 5.9

2015-05-22 Thread Anton Sherwood
this week, do you mean you've been seeing this message for days? -- *\\* Anton Sherwood *\\* www.bendwavy.org -- 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 sage

Re: [sage-support] Appending to lists

2015-05-16 Thread Anton Sherwood
coordinate and change its other coordinate. ''' I think this is closer to what you want: c = [] for (x,y) in b: x.append( [4,5,6] ) c.append( (x,y+1) ) b = c Or: b = [ (x+[[4,5,6]],y+1) for (x,y) in b ] -- *\\* Anton Sherwood

Re: [sage-support] Re: Appending to lists

2015-05-15 Thread Anton Sherwood
Phoenix: no, x.append() *operates on* x but does not *return* the new x as a value (as you might expect in C); the value of x.append() is None. -- *\\* Anton Sherwood *\\* www.bendwavy.org -- You received this message because you are subscribed to the Google Groups sage-support group

Re: [sage-support] Can someone help understand this error ? (that is generated for large inputs)

2015-05-14 Thread Anton Sherwood
Is it only because I'm old that I see something inelegant about a post that re-quotes (without commenting on any but the newest) eight generations of quoted matter, including ninety blank lines and four copies of You received this message because? -- *\\* Anton Sherwood

Re: [sage-support] What does izip do as compared to zip ?

2015-05-12 Thread Anton Sherwood
, but one by one as needed (see yield), never saving them; the speed advantage is in the absence of memory management. You can do some listlike things with the output of izip(), but not all; you can't concatenate it or sort it, for example. -- *\\* Anton Sherwood *\\* www.bendwavy.org -- You

Re: [sage-support] What does izip do as compared to zip ?

2015-05-12 Thread Anton Sherwood
On 2015-5-12 18:42, Phoenix wrote: I mean after doing either a izip or a zip to create the list k can I run a loop through k like this ? for (a,b) in k Yes, that's what izip is for. -- *\\* Anton Sherwood *\\* www.bendwavy.org -- You received this message because you are subscribed

Re: [sage-support] What does izip do as compared to zip ?

2015-05-12 Thread Anton Sherwood
On 2015-5-12 17:30, Phoenix wrote: So what is the way to display the result of the izip ? I changed print izip(A,X) to for j in izip(A,X): print j -- *\\* Anton Sherwood *\\* www.bendwavy.org -- You received this message because you are subscribed

Re: [sage-support] What does izip do as compared to zip ?

2015-05-12 Thread Anton Sherwood
,repeat = len (A)): k = zip(A,X) show(k) [THE ABOVE zip VERSION WORKS] Can someone help? -- *\\* Anton Sherwood *\\* www.bendwavy.org -- You received this message because you are subscribed to the Google Groups sage-support group. To unsubscribe from this group and stop receiving

Re: [sage-support] Decimal Answers

2015-05-11 Thread Anton Sherwood
! It was used in Fortran about twenty years before that. (For double precision numbers the E became D, iirc.) -- *\\* Anton Sherwood *\\* www.bendwavy.org -- You received this message because you are subscribed to the Google Groups sage-support group. To unsubscribe from this group and stop

Re: [sage-support] extension de corps

2014-03-20 Thread Anton Sherwood
: quel espèce d'extension, à partir de quel corps? De quelle version de Sage servez-vous? -- *\\* Anton Sherwood *\\* www.bendwavy.org -- 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

Re: [sage-support] extension de corps

2014-03-19 Thread Anton Sherwood
only two extensions. -- *\\* Anton Sherwood *\\* www.bendwavy.org -- 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 sage-support+unsubscr...@googlegroups.com

Re: [sage-support] Random sum of functions

2013-07-17 Thread Anton Sherwood
On 2013-7-17 02:07, Laurent Decreusefond wrote: For any tuple of integer (a_1,a_2, ..., a_k), [...] I want to form the function z - sum_{i=1}^k |f(a_i, z)|^2 Won't this work? def ff(atuple,z): return sum([ abs(f(n,z))**2 for n in atuple ]) -- *\\* Anton Sherwood

Re: [sage-support] Connection among the vertices on a plane or hyperplane

2013-03-06 Thread Anton Sherwood
), assuming that it provides all the elements (edges etc.) and not only the bounding hyperplanes (which you already have!). -- *\\* Anton Sherwood *\\* www.bendwavy.org -- You received this message because you are subscribed to the Google Groups sage-support group. To unsubscribe from this group

Re: [sage-support] Connection among the vertices on a plane or hyperplane

2013-03-05 Thread Anton Sherwood
and edges of what? Seems to me you need either a graph or a convex hull for the question to have any meaning! How does the problem arise? -- *\\* Anton Sherwood *\\* www.bendwavy.org -- You received this message because you are subscribed to the Google Groups sage-support group. To unsubscribe

Re: [sage-support] Connection among the vertices on a plane or hyperplane

2013-03-05 Thread Anton Sherwood
(a simplex) is convex, any piece sliced from it (by a planar cut) will also be convex. -- *\\* Anton Sherwood *\\* www.bendwavy.org -- 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

[sage-support] polychoral symmetry groups

2012-12-20 Thread Anton Sherwood
) -- or, as long as I'm wishing, a list of the 14400 isometry matrices of the [5,3,3] group. -- *\\* Anton Sherwood *\\* www.bendwavy.org -- You received this message because you are subscribed to the Google Groups sage-support group. To post to this group, send email to sage-support@googlegroups.com

Re: [sage-support] Re: polychoral symmetry groups

2012-12-20 Thread Anton Sherwood
Okay, sage.groups.matrix_gps.matrix_group.MatrixGroup() appears to be what I need. Thanks for the keyword! -- *\\* Anton Sherwood *\\* www.bendwavy.org -- You received this message because you are subscribed to the Google Groups sage-support group. To post to this group, send email to sage

Re: [sage-support] How do you stop sage in the middle of a block?

2012-11-20 Thread Anton Sherwood
... ... raise IWantOut ... except IWantOut: respond to that condition -- *\\* Anton Sherwood *\\* www.bendwavy.org -- You received this message because you are subscribed to the Google Groups sage-support group. To post to this group, send email to sage-support

Re: [sage-support] Re: Using mpi4py in sage 'online' notebook (atsagenb.org)

2012-03-19 Thread Anton Sherwood
On 2012-3-18 22:57, Simon King wrote: Why has the original post been marked as spam? Possibly the phrase I just started using and am loving it! is a red flag. (I didn't see it marked as spam.) -- Anton Sherwood *\\* www.bendwavy.org *\\* www.zazzle.com/tamfang -- To post

Re: [sage-support] Polyhedron.radius() bug?

2012-02-10 Thread Anton Sherwood
On 2012-2-10 05:27, rickhg12hs wrote: Return the maximal distance from the center to a vertex. Shouldn't this be translation invariant? Could 'center' here mean 'origin'? It's not obviously unreasonable to assume that a polyhedron is defined so that they coincide. -- Anton

Re: [sage-support] functions

2012-02-08 Thread Anton Sherwood
, but I don't like Python's function syntax. -- Anton Sherwood *\\* www.bendwavy.org *\\* www.zazzle.com/tamfang -- 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

Re: [sage-support] functions

2012-02-07 Thread Anton Sherwood
return None # ought to be a numeric value x=0 for y1 in range(1,3): for y2 in range(1,y1+1): x += chap(y1,y2) print x -- Anton Sherwood *\\* www.bendwavy.org *\\* www.zazzle.com/tamfang -- To post to this group, send email to sage-support@googlegroups.com

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

2012-01-02 Thread Anton Sherwood
] == l2[x]: l3.append((x,l1[x])) print l3 -- Anton Sherwood *\\* www.bendwavy.org *\\* www.zazzle.com/tamfang -- 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

Re: [sage-support] Re: Power series expansion

2011-12-03 Thread Anton Sherwood
+0.08838*(0.248244^y) [...] Since this is not a polynomial in p and y, what does it mean to obtain the coefficients of p^j y^k *if not* those of something very similar to a Taylor series? -- Anton Sherwood *\\* www.bendwavy.org *\\* www.zazzle.com/tamfang -- To post to this group, send email

Re: [sage-support] Re: Installing latest sage

2011-11-28 Thread Anton Sherwood
On 2011-11-28 03:02, Dima Pasechnik wrote: Indeed. That tablet runs Pentium M, which is kind of old nowadays. Has the instruction set changed in recent years? I assumed it had stabilized awhile back. -- Anton Sherwood *\\* www.bendwavy.org *\\* www.zazzle.com/tamfang -- To post

Re: [sage-support] complex parts

2011-09-15 Thread Anton Sherwood
parametric_plot((f(t-0.5j).real, f(t-0.5j).imag), (t,tmin,tmax)) parametric_plot(ReIm(f(t-0.5j)), (t,tmin,tmax)) -- Anton Sherwood *\\* www.bendwavy.org *\\* www.zazzle.com/tamfang -- To post to this group, send email to sage-support@googlegroups.com To unsubscribe from this group, send email

[sage-support] cleaner?

2011-09-11 Thread Anton Sherwood
Whenever I shut down my computer, I find that python ~/sage/local/bin/sage-cleaner is still running. Does it ever end? -- Anton Sherwood *\\* www.bendwavy.org *\\* www.zazzle.com/tamfang -- To post to this group, send email to sage-support@googlegroups.com To unsubscribe from

Re: [sage-support] noob q: working directory

2011-09-03 Thread Anton Sherwood
curious about the default, tho. In MacOS might it be somewhere within /Applications/Sage-4.7.1-OSX-64bit-10.6.app/ ? or ~/Library/Application Support/ ? -- Anton Sherwood *\\* www.bendwavy.org *\\* www.zazzle.com/tamfang -- To post to this group, send email to sage-support@googlegroups.com

[sage-support] noob q: working directory

2011-09-02 Thread Anton Sherwood
is the base directory? ... Also: ARGH. Google Groups won't let me register with my preferred address (bro...@pobox.com). -- Anton Sherwood *\\* www.bendwavy.org *\\* www.zazzle.com/tamfang -- To post to this group, send email to sage-support@googlegroups.com To unsubscribe from this group, send