[sage-support] dividing polynomials without ending up in quotient field

2017-10-18 Thread Robin van der veer
Hello, If I have, say, R = PolynomialRing(QQ, 'x', 5) And I have two polynomials, one of which divides the other. Then I can do f/g but the result will be an element of the fraction field of R, even though it actually lives in R. I can write (f/g).numerator() to get back to R, but I feel that

Re: [sage-support] Computation just stops, no output or error message

2017-06-07 Thread Robin van der veer
Thank you! this oom-killer did indeed kill my processes. This solve my problem:) thanks again Op woensdag 7 juni 2017 17:49:13 UTC+2 schreef Jan Groenewald: > > Hi > > On 7 June 2017 at 17:33, Robin van der veer > wrote: > >> Hi, >> >> I'm running a wi

Re: [sage-support] Computation just stops, no output or error message

2017-06-07 Thread Robin van der veer
Dear John, I am already flushing after every file.write(), so this cannot be the problem. (this was the first thing I tried when I noticed the problem, and after another 2 hour wait I concluded that it did not solve my problem) Robin Op woensdag 7 juni 2017 17:37:32 UTC+2 schreef John Cremona

Re: [sage-support] Computation just stops, no output or error message

2017-06-07 Thread Robin van der veer
ng in the way I described? Op woensdag 7 juni 2017 17:30:37 UTC+2 schreef Jan Groenewald: > > Hi > > On 7 June 2017 at 17:24, Robin van der veer > wrote: > >> I'm running Sage on my local machine (so not the sage math cloud), and >> some of my computations just sto

[sage-support] Computation just stops, no output or error message

2017-06-07 Thread Robin van der veer
I'm running Sage on my local machine (so not the sage math cloud), and some of my computations just stop with no output or error message. My code looks essentially like this: @parallel def compute(revLex): long computations print some stuff write some stuff to files return r = co

[sage-support] Re: Join operation in arbitrary poset

2017-04-04 Thread Robin van der veer
I similar "problem": atoms() is not implemented for the MeetSemilattice, while it certainly makes sense there. Op maandag 3 april 2017 23:57:44 UTC+2 schreef Robin van der veer: > > Hello, > > I wonder if there is any way to use the join or meet operations in > arbi

Re: [sage-support] Join operation in arbitrary poset

2017-04-04 Thread Robin van der veer
017 06:01:48 UTC+2 schreef jori.ma...@uta.fi: > > On Mon, 3 Apr 2017, Robin van der veer wrote: > > > I wonder if there is any way to use the join or meet operations in > arbitrary > > posets? > > How fast that should be? The trivial implementation is just 4 lines

[sage-support] Join operation in arbitrary poset

2017-04-03 Thread Robin van der veer
Hello, I wonder if there is any way to use the join or meet operations in arbitrary posets? It seems that these methods are only exposed in the classes of join- resp. meet semilattices. However, it would be very convenient if these methods were available in general posets somehow, and would ju

[sage-support] integrate problem (bug?)

2017-02-22 Thread robin hankin
zero is misleading, I would expect either an error or to return 'infinity', or to report that the integral is divergent. best wishes Robin -- Robin Hankin Neutral theorist hankin.ro...@gmail.com -- You received this message because you are subscribed to the Google Groups "sage-

Re: [sage-support] Re: NameError: name 'Integer' is not defined

2016-04-25 Thread robin hankin
ersion was "SageMath Version 7.1, Release Date: 2016-03-20". Best wishes Robin On Fri, Apr 22, 2016 at 2:26 PM, kcrisman wrote: > Can you say exactly how you fired up the notebook? Was this a binary > download, or a build from scratch? > > Hi >> >> sage 7

[sage-support] NameError: name 'Integer' is not defined

2016-04-20 Thread robin hankin
ed Help! -- Robin Hankin Neutral theorist hankin.ro...@gmail.com -- 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...@googlegr

[sage-support] sage 7.0 crash report

2016-01-24 Thread robin hankin
report attached -- Robin Hankin Neutral theorist hankin.ro...@gmail.com -- 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-suppor

[sage-support] Re: caret interpreted as bitwise operator not power

2014-05-26 Thread robin
eople like me. best wishes [marked 'resolved'] Robin On Tuesday, 27 May 2014 12:41:23 UTC+12, leif wrote: > > robin wrote: > > > > > Can anyone advise? I am very very very reluctant to > > > adopt the ghastly "**" notation. &

[sage-support] Re: caret interpreted as bitwise operator not power

2014-05-26 Thread robin
the file with > 'sage'), simply rename your file to "f.sage". > > Similar holds for '.pyx' vs. '.spyx'; the latter first gets preparsed. > > > > thanks for this Leif. Where do I look for documentation of this issue? The help page for load(

[sage-support] caret interpreted as bitwise operator not power

2014-05-26 Thread robin hankin
ret is interpreted as expected: sage: o = 10^6 sage: o 100 sage: Is this a bug? Can anyone advise? I am very very very reluctant to adopt the ghastly "**" notation. best wishes Robin -- Robin Hankin Neutral theorist hankin.ro...@gmail.com -- You received this messa

[sage-support] equivalent to Maple's FunctionAdvisor()

2013-10-30 Thread robin hankin
conj(sin(x)), and so on. In sage I can type sin? or sin?? but these don't give me the whole corpus of known information. What is the sage equivalent to FunctionAdvisor()? -- Robin Hankin Neutral theorist hankin.ro...@gmail.com -- You received this message because you are subscribed to th

Re: [sage-support] Re: solve() free variable substitution

2013-06-12 Thread robin hankin
uot; gives me an unhelpful error message about indexing. What does this message mean and how can I mitigate it? (3) The docs say "For more details about solving a single equation, see the documentation for the single-expression solve()" Where can I find this documentation online?

[sage-support] solve() free variable substitution

2013-06-12 Thread robin hankin
name 'z38' is not defined sage: How do I make z38 equal to 3? thanks -- Robin Hankin Uncertainty Analyst hankin.ro...@gmail.com -- You received this message because you are subscribed to the Google Groups "sage-support" group. To unsubscribe from this group and stop recei

Re: [sage-support] sin(x)/cos(x)

2013-06-11 Thread robin hankin
== 2*pi*z270 + 1/9007199254740992*I + 1065/452] After the first, the solutions are not actually solutions of the equation. Is this reportable or have I misunderstood what solve() is supposed to do? Robin On Wed, Jun 12, 2013 at 1:03 PM, Michael Orlitzky wrote: > On 06/11/2013 07:26 P

Re: [sage-support] sin(x)/cos(x)

2013-06-11 Thread robin hankin
OK Michael, thanks for this. But my problem was solve(sin(x)/cos(x)==1,x,to_poly_solve="force") returns an empty solution set, implying that there are no solutions when in fact there are. Surely this is misleading? Worthy of a bug report? IDK best wishes Robin On Wed, Jun 1

[sage-support] sin(x)/cos(x)

2013-06-11 Thread robin hankin
#x27;force') [x == 1/4*pi + pi*z219] -- Robin Hankin Uncertainty Analyst hankin.ro...@gmail.com -- 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 e

[sage-support] multiple line commands

2013-02-04 Thread robin hankin
though only the first line is executed when I hit shift-return. This is almost repeatable for me; sometimes it works as expected but I can't see why. The only way I can execute all the lines reliably is to cut-and-paste them one at a time into successive cells. Can anyone advise? --

Re: [sage-support] Re: function problem

2013-01-21 Thread robin hankin
OK, thanks for this. It works! Where would I have found this distinction in the documentation? Thanks Robin On Mon, Jan 21, 2013 at 10:37 PM, P Purkayastha wrote: > On 01/21/2013 05:01 PM, robin hankin wrote: >> >> Hello. kubuntu linux, sage 5.5 >> >> I want to d

[sage-support] function problem

2013-01-21 Thread robin hankin
6)(11,27)(17,33)(18,34)(19,35) sage: f(u) --- TypeError -- Robin Hankin Uncertainty Analyst hankin.ro...@gmail.com -- You received this message because you are subscribed to the Google Groups "sage-support" group. To post to this group, send email to sage-suppor

Re: [sage-support] Re: high-res 3D graphics

2012-07-31 Thread robin hankin
Braun wrote: > The plot file format is determined by the file extension: > > sage: plot(ln).save('my-ln-plot.pdf') > > > On Tuesday, July 31, 2012 4:38:44 PM UTC-4, robin wrote: > >> How do I produce high-res graphics with sage? The best I can do is >>

[sage-support] high-res 3D graphics

2012-07-31 Thread robin hankin
zed output that can go in my paper. Can anyone advise? -- Robin Hankin Uncertainty Analyst hankin.ro...@gmail.com -- -- 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 opti

Re: [sage-support] random problem

2012-07-26 Thread robin hankin
thanks everyone, got it. As it happens I know the quantile function so this solution is fine for me. -- Robin Hankin Uncertainty Analyst hankin.ro...@gmail.com -- To post to this group, send email to sage-support@googlegroups.com To unsubscribe from this group, send email to sage-support+unsu

[sage-support] random problem

2012-07-26 Thread robin hankin
do I make sage do what I want? thanks -- Robin Hankin Uncertainty Analyst hankin.ro...@gmail.com -- 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 grou

Re: [sage-support] Re: Shift-enter doesn't work (and 'evaluate' doesn't show up)

2012-07-17 Thread robin hankin
users, so it might be good to document it somewhere. Best wishes Robin On Wed, Jul 18, 2012 at 3:33 PM, Dima Pasechnik wrote: > > > On Tuesday, 17 July 2012 10:20:16 UTC+8, robin wrote: >> >> I am using firefox 13.0.1 with sage 5.1 and have exactly the same problem >&

[sage-support] Re: Shift-enter doesn't work (and 'evaluate' doesn't show up)

2012-07-16 Thread robin
I am using firefox 13.0.1 with sage 5.1 and have exactly the same problem On Sunday, 8 May 2011 19:06:00 UTC+12, Keshav Kini wrote: > > This was discussed on the IRC channel yesterday. Harmor was using Firefox > 4, and when he tried it with Chromium it worked, apparently. I also thought > it s

Re: [sage-support] Evaluation of code on sagenb disabled because of user abuse

2012-06-15 Thread robin hankin
It's (my) incompetence, not evil, that's causing the problems. Robin On Sat, Jun 16, 2012 at 10:12 AM, William Stein wrote: > On Fri, Jun 15, 2012 at 3:01 PM, ulfarsson wrote: > > Hi, > > > > the front page of sagenb.org displays a message saying that evaluat

[sage-support] beta vs B help page

2012-05-31 Thread robin hankin
currently defined". Of course, B(.,.) is the beta function and "beta?" gives the help page. But it is potentially very confusing to be given an answer in terms of a function (B) which (apparently) is not documented. Couldn't sage somehow redirect the user to the help page

[sage-support] Re: Sage on the latest Ubuntu, _md5 ImportError

2012-02-07 Thread robin
I have the same problem on kubuntu 11.10. I fixed it with: sudo apt-get install libssl0.9.8 which worked for me. best wishes Robin On Jan 25, 9:35 pm, Ondřej Čertík wrote: > On Tue, Jan 24, 2012 at 9:58 PM, William Stein wrote: > > > On Tuesday, January 24, 2012, Ondřej Č

Re: [sage-support] Re: assumptions

2011-12-08 Thread robin hankin
wow, thank you. I would not have thought of using list comprehensions here. Is there a way to do [s for s in sol if ] thanks Robin On Fri, Dec 9, 2011 at 11:48 AM, achrzesz wrote: > > > On Dec 8, 9:36 pm, robin hankin wrote: >> hello >> >> I have been playing

[sage-support] assumptions

2011-12-08 Thread robin hankin
solution (viz a=b=1) is not consistent with my assumption()? -- Robin Hankin Uncertainty Analyst hankin.ro...@gmail.com -- 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

Re: [sage-support] Re: integral() error

2011-09-06 Thread robin hankin
Hello Justin thanks for this...I'm more familiar with the R help list, where there's a very heavy emphasis on not wasting bandwidth, and replies not much less terse than 'rtfm' are very common. So, I'm finding the more tolerant atmosphere in sage to take some getting use

Re: [sage-support] Re: integral() error

2011-09-04 Thread robin hankin
last) /Applications/Sage-4.7.1-OSX-64bit-10.6.app/Contents/Resources/sage/ in () TypeError: 'str' object is not callable I'm beginning to think I should reinstall from scratch (or indeed compile my own). best wishes Robin On Mon, Sep 5, 2011 at 9:40 AM, Justin C. Walker

Re: [sage-support] Re: integral() error

2011-09-04 Thread robin hankin
under the GNU Public License. See the file COPYING. Dedicated to the memory of William Schelter. The function bug_report() provides bug reporting information. (%i1) x.simplify() seems to hang too. Best wishes Robin On Sat, Sep 3, 2011 at 12:10 AM, kcrisman wrote: > > > On Sep 1, 11:19

[sage-support] integral() error

2011-09-01 Thread robin hankin
Hi. sage 4.7.1, macosx 10.6.8, firefox 5.0. When I use the sage notebook the following happens: var('x') integral(exp(x),x) Traceback (click to the left of this block for traceback) ... RuntimeError: ECL says: THROW: The catch MACSYMA-QUIT is undefined. What's the deal?

[sage-support] Re: psi function.

2011-07-13 Thread robin
t be an integer, with "small" being Good. This would make sense because the psi function is difficult to evaluate. Is this crazy enough for you? ;-) best wishes; keep me posted! Robin On Jul 14, 3:23 am, Michael Orlitzky wrote: > On 07/12/11 22:07, robin wrote: > > > Hi a

[sage-support] Re: psi function.

2011-07-12 Thread robin
following list of identities be added to sage's list, so that this simplification works nicely". best wishes Robin On Jul 13, 10:11 am, robin hankin wrote: > Hi. > > The psi function is defined over the entire complex plane. > > But sage doesn't seem to know a

[sage-support] psi function.

2011-07-12 Thread robin hankin
plify() [complicated expression deleted]. to give zero. How do I tell sage to simplify this expression? -- Robin Hankin Uncertainty Analyst hankin.ro...@gmail.com -- To post to this group, send email to sage-support@googlegroups.com To unsubscribe from this group, send email to sage-su

Re: [sage-support] Re: integrate() problem

2011-07-12 Thread robin hankin
OK so it's a bug in maxima. Quite a bad one, I'd say! The answer given by maxima is unequivocal, and wrong. What is the procedure for getting this fixed? Do I write to the maxima developers or is there a mechanism to upload such reports from the sage community? Robin On Tue, Jul 1

[sage-support] integrate() problem

2011-07-11 Thread robin hankin
Hi. What's going on here? y=(x^2)*exp(x)/(1+exp(x))^2 integrate(y,(x,-infinity,infinity)) 0 Sage gives me zero here. But 'y' is strictly positive everywhere, and I happen to know that the analytic answer is pi^2/3. What's going on here? -- Robin Hankin Uncertain

[sage-support] dirac delta function

2011-07-10 Thread robin hankin
Hi. When I type integrate(dirac_delta(x),x,-1,1) I expected to get 1, as the documentation clearly implies. But instead I get a symbolic answer. How do I make sage return 1? cheers Robin -- Robin Hankin Uncertainty Analyst hankin.ro...@gmail.com -- To post to this group, send email

Re: [sage-support] Re: simplify problem

2011-07-07 Thread robin hankin
it just annoy everyone? best wishes Robin On Thu, Jul 7, 2011 at 8:55 PM, John Cremona wrote: > With d=c-a, not even d.simplify_radical() gives 0. > > Simplifying "nested radicals" is a notoriously hard problem in > symbolic computer algebra.  As this example shows (u

Re: [sage-support] Re: sage simplify problem

2011-07-07 Thread robin hankin
ated 'c' to the simple 'a'? Suppose someone gave me 'c'. How can I instruct sage to simplify it until it gives me 'a'? One more question: I learned a lot from the pointer you gave me to the Sage reference manual. Is it available as a PDF somewhere? thank

Re: [sage-support] Re: sage simplify problem

2011-07-06 Thread robin hankin
Hi Jason thanks for this ( I did mean 'c' not 'y'; apologies). I didn't know about QQbar(). Why does QQbar(c) return what appears to be a numerical result, with a question mark after it? thanks again Robin On Thu, Jul 7, 2011 at 4:43 PM, Jason Grout wrote: > On

[sage-support] sage simplify problem

2011-07-06 Thread robin hankin
y.simplify_full() doesn't do what I want. How do I make sage recognize that a=c, other than using n()? -- Robin Hankin Uncertainty Analyst hankin.ro...@gmail.com -- To post to this group, send email to sage-support@googlegroups.com To unsubscribe from this group, send email to sage-s

[sage-support] simplify problem

2011-07-05 Thread robin hankin
do what I want. How do I make sage recognize that a=c, other than using n()? -- Robin Hankin Uncertainty Analyst hankin.ro...@gmail.com -- 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 Fo

Re: [sage-support] polynomials over QQ

2011-07-03 Thread robin hankin
Hi. thank you for this. OK, so it's "promoting" the coefficients to a more general set? Where would a sage newcomer like me find documentation for this? cheers Robin On Mon, Jul 4, 2011 at 3:25 PM, D. S. McNeil wrote: >> My understanding was that 'x' was the

[sage-support] polynomials over QQ

2011-07-03 Thread robin hankin
nomials over QQ, i.e. the rationals. So how come the polynomial has coefficients which are not rational? -- Robin Hankin Uncertainty Analyst hankin.ro...@gmail.com -- To post to this group, send email to sage-support@googlegroups.com To unsubscribe from this group, send email to s

Re: [sage-support] Re: installation problem

2010-09-17 Thread robin hankin
Hello Dan thanks for this. I suppose "dependency" isn't quite the right word here. The error message below is cut-and-pasted from the output of 'make'; at one point it asks me to email sage-devel, but perhaps this list is better for now! best wishes Robin Host sys

Re: [sage-support] Re: installation problem

2010-09-16 Thread robin hankin
forum than the sage-support mailing list? Thanks again Robin On Thu, Sep 16, 2010 at 7:17 PM, Marshall Hampton wrote: > Your error message looks exactly like the one reported here a few > months ago: > > http://groups.google.com/group/sage-support/browse_thread/thread

[sage-support] installation problem

2010-09-16 Thread robin hankin
sage/interfaces/gap.py in _start(self) 885 self._session_number = n 886 return --> 887 raise RuntimeError, msg 888 889 if self.__use_workspace_cache and self.__make_workspace: RuntimeError: Unable to start gap Error importing i

[sage-support] numerical evaluation

2010-08-23 Thread robin hankin
/3) - 10/3] sage: N(roots) but this returns an error ("too many values to unpack"). The best I can do is N(roots[1].rhs()) but this is just one at a time. How do I make N() operate on all of roots? Or is there a much neater way of accomplishing the same thing? cheers rksh

Re: [sage-support] Re: How can I make implicit_multiplication default?

2010-08-23 Thread robin hankin
f a way of working with sage that this option will break? I'm hoping to understand why you expert sage users chose the default as you did. best wishes Robin On Mon, Aug 23, 2010 at 12:07 PM, Simon King wrote: > Hi Robin, > > On 23 Aug., 12:58, robin hankin wrote: >> Bu

Re: [sage-support] Re: How can I make implicit_multiplication default?

2010-08-23 Thread robin hankin
y question: Now that I know implicit_multiplication() exists, I can search for it and get documentation about it. But, if I didn't know it existed, how could I possibly have found it? (give me a pointer to a FAQ!) best wishes rksh -- Robin Hankin Uncertainty Analyst hankin.ro...@gmail.co

Re: [sage-support] Re: solve() problem

2010-08-23 Thread robin hankin
& a == 0) || (a != 0 && x == b/a) best wishes rksh On Fri, Aug 20, 2010 at 1:14 AM, kcrisman wrote: > > > On Aug 19, 5:39 pm, robin hankin wrote: >> Hello Simon >> >> thanks for this. One problem >> with the solution you mention is that I can&#x

Re: [sage-support] Re: solve() problem

2010-08-19 Thread robin hankin
Hello Simon thanks for this. One problem with the solution you mention is that I can't do the general case. What I need is the sage equivalent of mathematica's Reduce[] function. Is there one? rksh On Thu, Aug 19, 2010 at 10:06 PM, Simon King wrote: > Hi! > > On 19

[sage-support] solve() problem

2010-08-19 Thread robin hankin
ird, yet solve() returns empty. What am I missing? -- Robin Hankin Uncertainty Analyst hankin.ro...@gmail.com -- 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, vi

Re: [sage-support] VM problem in windows 7

2010-07-10 Thread robin hankin
o a README for windows newbies). Thanks again Robin On Sat, Jul 10, 2010 at 7:16 AM, William Stein wrote: > On Sat, Jul 10, 2010 at 8:09 AM, robin hankin wrote: >> Hi >> >>  I am trying to install Sage on windows 7 >> and have installed Oracle VM Virtual Box; >>

[sage-support] VM problem in windows 7

2010-07-09 Thread robin hankin
chine using the VirtualBox software, wait for the virtual machine to boot up, then type notebook at the prompt. " However, the VM box gives me an error: "FATAL: No bootable medium found! System halted". I don't know how to fix this. Anyone got any suggestions? thanks in ad