Re: [sage-support] Re: plot3d using real-valued real-parameter functions but involving complex numbers as intermediates

2013-04-26 Thread Gary McConnell
at, Apr 20, 2013 at 6:00 PM, P Purkayastha wrote: > On 04/18/2013 03:13 AM, Gary McConnell wrote: > >> I am very keen to help - my problem is utter incompetence at following >> the high-level instructions in the manual for developers. Also I am on >> the VM and I cannot acces

Re: [sage-support] Re: plot3d using real-valued real-parameter functions but involving complex numbers as intermediates

2013-04-21 Thread Gary McConnell
Dear @ppurka thanks so much - i am now finally back at home with my trusty Macs and hopefully will be able to do the above, eventually :) For me this is entering an exciting new phase! Thanks again. Best regards Gary On Sat, Apr 20, 2013 at 6:00 PM, P Purkayastha wrote: > On 04

Re: [sage-support] Re: plot3d using real-valued real-parameter functions but involving complex numbers as intermediates

2013-04-17 Thread Gary McConnell
! On Wed, Apr 17, 2013 at 3:42 PM, P Purkayastha wrote: > On 04/17/2013 07:16 PM, Gary McConnell wrote: > >> Ah I see now that this is implicit in the docs example ... thank you ... >> should we perhaps point that out explicitly, since the very same >> function takes two rath

Re: [sage-support] Re: plot3d using real-valued real-parameter functions but involving complex numbers as intermediates

2013-04-17 Thread Gary McConnell
On 04/17/2013 07:05 PM, Gary McConnell wrote: > >> OK I have now uncovered another weird sage-python problem. I think I >> should be the go-to guy to wreck otherwise perfectly healthy code :). >> >> If you try to use the function minimize() with the python function >>

Re: [sage-support] Re: plot3d using real-valued real-parameter functions but involving complex numbers as intermediates

2013-04-17 Thread Gary McConnell
above error; whereas: vars = var('x y') gg = sin(x) + cos(y) minimize(gg,[0,0]) works fine I cannot see anywhere in the reference manual where the syntax for minimize() for python functions, should be different from that for SAGE functions right?! Kind regards Gary PS using SAGE 5.7 o

Re: [sage-support] Re: plot3d using real-valued real-parameter functions but involving complex numbers as intermediates

2013-04-17 Thread Gary McConnell
Sorry - at ease ... If I name the plot PP or something then put just 'PP' in a different cell from its definition, it shows up fine. Thanks again for the help Kind regards Gary On Wed, Apr 17, 2013 at 10:39 AM, GaryMak wrote: > Hi @ppurka - thank you very much as I would never

Re: [sage-support] Simultaneous embedding of CyclotomicField(n) and sqrt(n)

2013-04-15 Thread Gary McConnell
y needs to restart the program entirely or else, as you say, define L anew ... ) best regards Gary On Mon, Apr 15, 2013 at 10:16 PM, John Cremona wrote: > Add this line after your code: > > sage: CC.register_coercion(L.embeddings(CC)[0]) > > (note that L.embeddings(CC) is a list of a

Re: [sage-support] Re: Saving sws files in VirtualBox lab situation

2013-04-06 Thread Gary McConnell
putting into this but please don't worry any further - I'll wait a week or two until I'm "back with my Macs" and then hopefully do it the easy way Thanks a lot Kind regards Gary On Sat, Apr 6, 2013 at 6:16 PM, Volker Braun wrote: > Strange, you do see the s

Re: [sage-support] Re: Generating variables using indexing

2013-04-02 Thread Gary McConnell
yes, thanks! On Sun, Mar 31, 2013 at 12:47 AM, Jason Grout wrote: > On 3/30/13 4:09 PM, Gary McConnell wrote: > >> So I understand something of what is going on, could you please tell me >> why the tuple thing is necessary for the "used" set but the vectors are >

Re: [sage-support] Re: Generating variables using indexing

2013-04-01 Thread Gary McConnell
ard all "dead-end" information as we go along*. Would it perhaps help for me to post a simplified meta-code version of this algorithm? The unnecessary details buried in the actual code are very distracting ... On Mon, Apr 1, 2013 at 10:42 AM, Gary McConnell wrote: > Hi ag

Re: [sage-support] Re: Generating variables using indexing

2013-04-01 Thread Gary McConnell
pair of bases {X,Y} contains only entries from S_d; if so, then XRY. My "code" consists of nothing more than setting up S_d and checking these conditions in a very obvious way. Thanks again for the marvellous help so far. Best regards Gary On Sun, Mar 31, 2013 at 3:16 AM, Jason Grout

Re: [sage-support] Re: Generating variables using indexing

2013-03-30 Thread Gary McConnell
d search through the remaining orthogonal sets exhaustively. Otherwise I cannot get at the bases which may share a vector with another basis but have different "xRy" properties. I am trying to program this now - please feel free to tell me a better way!! Thanks and regards Gary On Sat,

Re: [sage-support] Re: Generating variables using indexing

2013-03-30 Thread Gary McConnell
but the vectors are necessary for the "bases": ie why can we not use a vector structure for "used"? On Sat, Mar 30, 2013 at 7:22 PM, Jason Grout wrote: > On 3/30/13 1:43 PM, Gary McConnell wrote: > >> OK now I'm back in a familiar nightmare - if I set the vecto

Re: [sage-support] Re: Generating variables using indexing

2013-03-30 Thread Gary McConnell
Mar 30, 2013 at 5:23 PM, Gary McConnell wrote: > Brilliant - thanks Jason - sorry for delay > > > On Sat, Mar 30, 2013 at 2:04 PM, Jason Grout > wrote: > >> On 3/30/13 8:39 AM, Gary McConnell wrote: >> >>> One more thing Jason: the code you wrote, as far as I

Re: [sage-support] Re: Generating variables using indexing

2013-03-30 Thread Gary McConnell
Brilliant - thanks Jason - sorry for delay On Sat, Mar 30, 2013 at 2:04 PM, Jason Grout wrote: > On 3/30/13 8:39 AM, Gary McConnell wrote: > >> One more thing Jason: the code you wrote, as far as I can see, does not >> take account of "N", which I guess is you

Re: [sage-support] Re: Generating variables using indexing

2013-03-30 Thread Gary McConnell
way that it will not let me copy it; or is there another way to get that type of assignment "N=set(N1)" to work? On Sat, Mar 30, 2013 at 1:17 PM, Gary McConnell wrote: > yes indeed that is a problem in the general case but in fact in my > experience with the particular thing

Re: [sage-support] Re: Generating variables using indexing

2013-03-30 Thread Gary McConnell
ns in my code) - then suddenly they would "telescope" out into a new range of d variables for the next level of the search. On Sat, Mar 30, 2013 at 1:10 PM, Jason Grout wrote: > On 3/30/13 7:58 AM, Gary McConnell wrote: > >> Am I to deduce from this that what I was

Re: [sage-support] Re: Generating variables using indexing

2013-03-30 Thread Gary McConnell
, Jason Grout wrote: > On 3/30/13 7:49 AM, Gary McConnell wrote: > >> in fact the construction of N1 precludes isotropic vectors - I should >> have mentioned that. The xRy function effectively forces separate sets >> of vectors to be mutually exclusive also. I have learnt a

Re: [sage-support] Re: Generating variables using indexing

2013-03-30 Thread Gary McConnell
Hi again - thanks for that excellent new function - it's amazingly compact and I think it may well do what I need - I am about to try modifying it to work in my context, and will let you know. Am I to deduce from this that what I was originally trying to do (ie telescoping recursive variables) is

Re: [sage-support] Re: Generating variables using indexing

2013-03-30 Thread Gary McConnell
zdsY/rqeXHjusPxsJ!! and so I exit upon finding one complete set ... On Sat, Mar 30, 2013 at 12:12 PM, Jason Grout wrote: > On 3/30/13 6:34 AM, Gary McConnell wrote: > >> Hi Jason - thanks a lot - I have attached a text file which is just a >> cleaned-up version of my code, wit

Re: [sage-support] Re: Generating variables using indexing

2013-03-30 Thread Gary McConnell
Hi Jason - thanks a lot - I have attached a text file which is just a cleaned-up version of my code, with some explanations at the top for functions whose details are not relevant to the question. Apologies - you'll see it's a "neat mess", so to speak Kind regards G

Re: [sage-support] Re: Generating variables using indexing

2013-03-30 Thread Gary McConnell
ted commas because I hadn't figured out yet how to do >1 level of recursion inside your code still .... I hope that clarifies somewhat what I am trying to do - thanks a lot Gary On Sat, Mar 30, 2013 at 9:41 AM, Jason Grout wrote: > On 3/29/13 6:38 PM, GaryMak wrote: > >> d = 5

Re: [sage-support] Re: Generating variables using indexing

2013-03-30 Thread Gary McConnell
t read carefully enough... that third line just doesn't > make much sense. > > On Fri, Mar 29, 2013 at 4:49 PM, Tom Boothby > wrote: > > Gary, > > > > The third line > > > > for a[ii] in range(0,d): > > > > should read > > > >

[sage-support] How to remove user accounts on my school server?

2012-08-23 Thread Gary Church
ook interface from my account (sage.smccd.edu/home/admin)? I'm trying to do this from my Mac laptop while at home. Thanks for any sage advice you can offer :-) Gary Church Professor of Mathematics College of San Mateo San Mateo, CA, 95636 -- You received this message because you are subsc

Re: [sage-support] How to evaluate integral(sin(x^2),x,0,2) as a real number?

2011-10-22 Thread Gary Church
William, Is that "integrate_numerical" or "numerical_integral"? Thanks, Gary On Oct 21, 2011, at 9:44 PM, William Stein wrote: > > > On Friday, October 21, 2011, Gary Church wrote: > > Hello all, > > > > How can I evaluate > > > > i

[sage-support] How to evaluate integral(sin(x^2),x,0,2) as a real number?

2011-10-21 Thread Gary Church
Hello all, How can I evaluate integral(sin(x^2),x,0,2) to get a real value instead of the nasty expression involving erf() and I that it spits out at me? Thanks much, Gary -- To post to this group, send email to sage-support@googlegroups.com To unsubscribe from this group, send email to

[sage-support] How to "simplify" a sum of fractions?

2011-09-27 Thread Gary Church
Hello, I'm trying to simplify the list [pi/4..3*pi], which gives [(1/4)*pi, (1/4)*pi + 1, (1/4)*pi + 2, …] so that I get [pi/4, 5*pi/4, 9*pi/4, …]. Is there an easy way to do this? Thanks much, Gary -- To post to this group, send email to sage-support@googlegroups.com To unsubscribe

[sage-support] Re: graphics broken in 10.6?

2009-11-20 Thread Gary
Well, I didn't get around to trying the patch. But I just downloaded and tried 4.2.1. Now I get exactly what Ivan Andrus is seeing here: http://groups.google.com/group/sage-devel/browse_thread/thread/d11b3c29f052c830 -- To post to this group, send email to sage-support@googlegroups.com To unsubsc

[sage-support] Re: graphics broken in 10.6?

2009-10-01 Thread Gary
Super awesome, I'll give this a try soon. Thanks for all the attention, William! I see in reading ticket 7022 that now there is a .p2 version of the spkg, so I presume: ./sage -i http://sage.math.washington.edu/home/wstein/patches/matplotlib-0.99.1.p2.spkg

[sage-support] Re: graphics broken in 10.6?

2009-09-17 Thread Gary
ng Leopard. Gary --~--~-~--~~~---~--~~ 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/sa

[sage-support] build failure on andLinux / Ubuntu

2009-05-29 Thread gary
** You must compile Sage first using 'make' in the Sage root directory. (If you have already compiled Sage, you must set the SAGE_ROOT variable in the file '/home/gap/sage-3.4.2/sage'). ***

[sage-support] jsmath directory confusion.

2008-11-26 Thread Gary Church
do I install the updated jsmath folder? Thanks much, Gary Gary Church [EMAIL PROTECTED] --~--~-~--~~~---~--~~ To post to this group, send email to sage-support@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options,

[sage-support] Re: sage notebook %latex cells fail to work properly; please help.

2008-11-25 Thread Gary Church
these nifty extensions. For those that are familiar with LaTeX, this is SO much nicer (IMHO) than the rather clunky means of writing "traditional" notation in Mathematica---and it looks SO much nicer too! Take care, Gary On Nov 25, 2008, at 5:43 PM, Robert Bradshaw wrote: > >

[sage-support] sage notebook %latex cells fail to work properly; please help.

2008-11-25 Thread Gary Church
ot;). Not wanting to bore you with the whole output, below you'll find the parts that I think are relevant to help troubleshoot the problem; the snippets from the full output listing are between the "*"'s Thanks for any h

[sage-support] Re: Mathematica 7 coming

2008-11-14 Thread Gary Church
, protein data, and > current and historical weather data > > Additionally, Mathematica 7 brings many productive and fun > features, including automated business-style charting, Speak[ ], > enhanced point-and-click palettes providing ergonomic shortcuts > to key functions, etc. &g

[sage-support] tan(pi/2) unevaluated?

2008-11-07 Thread Gary
e and what do I need to do to get this to evaluate to the correct value of (4*pi - 3*sqrt(3))*a^2/6? Thanks much, Gary sage input: *** var('a r theta') assume(a > 0) integral(integral(r, r, a*csc(the

[sage-support] Re: 3 == pi

2008-06-05 Thread Gary Furnish
I don't see any concrete reason why is_true(x) and is_false(!x) must be identical... we've already lost a sane definition of equality in many ways if floating point numbers are involved, so keeping it this way isn't going to make it any worse. On Thu, Jun 5, 2008 at 5:28 PM, Kyle Schalm <[EMAIL P

[sage-support] Re: 3 == pi

2008-06-04 Thread Gary Furnish
gt; On Jun 4, 2008, at 5:05 PM, Gary Furnish wrote: > >> Errors should not under any circumstances be thrown if bool(x==y) is >> inconclusive. It would break half of the code that depends on >> symbolics, and would require try blocks around every if statement. > > Can you

[sage-support] Re: 3 == pi

2008-06-04 Thread Gary Furnish
+1 to "Rigerous" testing of equality, but being able to rigorously show if something is not equal is hard (and in many nontrivial cases not possible). bool() should return true "if it can be shown to be equal" On Wed, Jun 4, 2008 at 6:23 PM, Jason Grout <[EMAIL PROTECTED]> wrote: > > Robert Brad

[sage-support] Re: 3 == pi

2008-06-04 Thread Gary Furnish
Errors should not under any circumstances be thrown if bool(x==y) is inconclusive. It would break half of the code that depends on symbolics, and would require try blocks around every if statement. On Wed, Jun 4, 2008 at 5:57 PM, Carl Witty <[EMAIL PROTECTED]> wrote: > > On Jun 4, 4:16 pm, Rober

[sage-support] Re: 3 == pi

2008-05-16 Thread Gary Furnish
+1 to this. Sage Enhancement Proposal: Change comparisons that involve elements of the symbolic ring to return True or False if both sides of the symbolic comparison are constants and the comparison can be definitely determined. [...] There would be a discussion on sage-devel, probably some voti

[sage-support] Re: Complex Number Manipulations in Functions of Symbolic Variables?

2008-05-06 Thread Gary Furnish
yes On Tue, May 6, 2008 at 4:48 AM, David Joyner <[EMAIL PROTECTED]> wrote: > > > On Sat, May 3, 2008 at 10:27 PM, William Stein <[EMAIL PROTECTED]> wrote: > > > > On Sat, May 3, 2008 at 6:53 PM, dvase <[EMAIL PROTECTED]> wrote: > > > > > > Hello, > > > It seems as though I am missing

[sage-support] Re: Newbie: jmol black screen

2008-04-21 Thread gary
On Apr 20, 10:15 pm, gary <[EMAIL PROTECTED]> wrote: > > Here's something: > the Java console reports an error: > -- > Init Jmol > language=en_US > Jmol ap

[sage-support] Re: Newbie: jmol black screen

2008-04-20 Thread gary
On Apr 20, 9:20 pm, gary <[EMAIL PROTECTED]> wrote: > On Apr 20, 9:02 pm, "William Stein" <[EMAIL PROTECTED]> wrote: > > > > > On Sun, Apr 20, 2008 at 5:58 PM, gary <[EMAIL PROTECTED]> wrote: > > > > On Apr 20, 8:52 pm, gary <[E

[sage-support] Re: Newbie: jmol black screen

2008-04-20 Thread gary
On Apr 20, 9:02 pm, "William Stein" <[EMAIL PROTECTED]> wrote: > On Sun, Apr 20, 2008 at 5:58 PM, gary <[EMAIL PROTECTED]> wrote: > > > On Apr 20, 8:52 pm, gary <[EMAIL PROTECTED]> wrote: > > > On Apr 20, 8:20 pm, "William Stein" <

[sage-support] Re: Newbie: jmol black screen

2008-04-20 Thread gary
On Apr 20, 8:52 pm, gary <[EMAIL PROTECTED]> wrote: > On Apr 20, 8:20 pm, "William Stein" <[EMAIL PROTECTED]> wrote: > > > > > On Sun, Apr 20, 2008 at 4:59 PM, gary <[EMAIL PROTECTED]> wrote: > > > > I've installed sage 2.11 on Kubun

[sage-support] Re: Newbie: jmol black screen

2008-04-20 Thread gary
On Apr 20, 8:20 pm, "William Stein" <[EMAIL PROTECTED]> wrote: > On Sun, Apr 20, 2008 at 4:59 PM, gary <[EMAIL PROTECTED]> wrote: > > > I've installed sage 2.11 on Kubuntu 7.10, and I'm poking around. > > > In the tutorial, sec 2.9.2 (?) th

[sage-support] Re: Newbie: jmol black screen

2008-04-20 Thread gary
On Apr 20, 7:59 pm, gary <[EMAIL PROTECTED]> wrote: > I've installed sage 2.11 on Kubuntu 7.10, and I'm poking around. > > In the tutorial, sec 2.9.2 (?) there are 3D graphics examples using > jmol. When I run these (adding show(P) to the scripts) jmol reports >

[sage-support] Newbie: jmol black screen

2008-04-20 Thread gary
l" in the lower right corner. I've got a newly installed java: 1.6.0_05, I think. I *can* see the demos on the jmol website. Also, I've installed the vmware version on the same machine (dual boot) and everything there seems t

[sage-support] Hyper newbie needs a pointer ...

2007-09-04 Thread gary
note book. Here's how to set a variable >>> a=1 Now we'll print the variable >>> print a 1 There! It works! Thanks, gary. PS, You might consider starting your tutorial with something like this rather than a discussion of

[sage-support] generic arithmetic in python and sage

2007-04-16 Thread Gary Bunting
polynomials and differential operators and would like to use it from sage. Cheers, Gary --~--~-~--~~~---~--~~ To post to this group, send email to sage-support@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit th