[sage-support] Re: install sage on Windows 10 using new ubuntu bash shell?

2016-09-29 Thread leif
ws without using a virtual > machine or anything? That would be sweet... > > I though I'd ask before trying it. There's been some related discussion on sage-devel in July [1]. Partially deviating from the topic, but perhaps still interesting. -leif [1] http://groups.google.co

[sage-support] Re: sage crash report

2016-09-27 Thread leif
dition only rarely answer questions from replies, of which a couple weren't necessary with proper generated system information either. -leif -- You received this message because you are subscribed to the Google Groups "sage-support" group. To unsubscribe from this group an

[sage-support] Re: Cosine function erro

2016-09-12 Thread leif
mes. Which version? (Works for me in 7.3.) -leif -- 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 p

[sage-support] Re: Interface to lie broken in sage 7.3?

2016-09-12 Thread leif
$SAGE_LOCAL"/lib/lie # clean up old versions Someone^TM borked it in May, apparently. Presumably simpler to just edit the broken script in $SAGE_ROOT/local/bin than to patch and reinstall LiE... (The real executable apparently is somewhere below $SAGE_ROOT/local/lib/LiE/.) -leif

[sage-support] Re: Computation has been running for a very long time...

2016-09-12 Thread leif
PID). I guess sage: macaulay2.pid() gives you the PID. There are certainly smarter ways on SMC. -leif > > Here is the code I ran: > > | > reset() > macaulay2.eval(""" > K = toField(QQ[zet]/(zet^8 - zet^6 + zet^4 - zet^2 + 1)) > needsPackage "Invar

[sage-support] Re: Sage Crash Report

2016-09-11 Thread leif
leif wrote: > Fabio Di Cosmo wrote: >> IPython post-mortem report >> >> {'commit_hash': u'b630b41', >> 'commit_source': 'installation', >> 'default_encoding': 'UTF-8', >> 'ipython

[sage-support] Re: Sage Crash Report

2016-09-11 Thread leif
: > _ZN5GiNaC8constantC1ENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEPFNS_2exEjP7_objectERKS6_j > > *** GiNaC::constant::constant(std::__cxx11::basic_string, std::allocator >, GiNaC::ex (*)(unsigned int,

[sage-support] Re: adding all gap packages

2016-09-10 Thread leif
also be possible to even automatically blacklist packages (completely, or just for use with libGAP). -leif > This probably can be fixed, or libGAP can be made compatible with them > (although the latter is perpetuating what is basically a GAP fork). > > Dima -- You received

[sage-support] Re: Easy way to combine fractions in Sage?

2016-09-10 Thread leif
Thanks! Well, not sure what you want to do with the result, but there's for example sage: (A/3 + B/2).numerator_denominator() (2*A + 3*B, 6) If you just want to *see* the common "denominator" and factors, simply taking the reciprocal 1/(A/3 + B/2) (aka ~(...) in Sage) might be

[sage-support] Re: adding all gap packages

2016-09-10 Thread leif
arting Sage, then calling gap_reset_workspace() again. If I'm not mistaken, you could afterwards load the GAP packages you want, before calling gap_reset_workspace() once again, in order to make them part of your saved workspace. HTH, -leif > I think these days diskspace isn't mu

[sage-support] Re: Sage always crashes

2016-09-07 Thread leif
n't it sufficient to just have all *scripts* and templates on GitHub, rather than the generated content (and the actual files themselves that get mirrored)? -leif > On Wed, Sep 7, 2016 at 4:47 PM, Dima Pasechnik wrote: >> I'd try the following: >> >> * get a

[sage-support] Re: Support for digraph6 format?

2016-09-06 Thread leif
def from_dig6(G, dig6_string): if n == -1: n = len(dig6_string) ss = dig6_string[:n] -n, s = length_and_string_from_graph6(ss) +n, s = length_and_string_from_graph6(ss[1:] if ss[0]=='&' else ss) m = binary_string_from_dig6(s, n) expected = n**2 if len(

[sage-support] Re: Sage always crashes

2016-09-03 Thread leif
leif wrote: > John Cremona wrote: >> On 2 September 2016 at 16:36, leif > <mailto:not.rea...@online.de>> wrote: >> >> John Cremona wrote: >> > Since I had never tried downloading and running a binary, I thought I >> > would. For a la

[sage-support] Re: Sage always crashes

2016-09-02 Thread leif
John Cremona wrote: > On 2 September 2016 at 16:36, leif <mailto:not.rea...@online.de>> wrote: > > John Cremona wrote: > > Since I had never tried downloading and running a binary, I thought I > > would. For a laptop running ubuntu 14.04 I looked at t

[sage-support] Re: Sage always crashes

2016-09-02 Thread leif
with some separate script / program from Volker, such that they "patch" themselves upon installation / first attempt to run 'sage'. Loads of (absolute) paths in scripts but also binaries and libraries thereby get (again) hardcoded to the actual installation folder. -leif

[sage-support] Re: Sage always crashes

2016-09-01 Thread leif
7.3 it should be "ipython-4.2.1/"; probably there's also "ipython_genutils-0.1.0/".) But to be honest, I have no idea whether that's also immediately true for the binary distributions during installation. Just look for ".sage/" in your home folder; you m

[sage-support] Re: Sage Crash Report

2016-08-31 Thread leif
local/lib/libntl.so.25) Smells like you downloaded the wrong Sage binary, in other words, your distro is too old for the one you had chosen. The version tag 3.4.21 is from GCC 5.x, your GCC is presumably 4.8 or 4.9 (from Debian 7 or 8, respectively, I think). HTH, -leif -- You received this m

[sage-support] Re: huge virtual memory size when launching 7.3

2016-08-30 Thread leif
leif wrote: > William Stein wrote: >> On Tue, Aug 30, 2016 at 9:56 AM, Thierry Dumont >> wrote: >>> I have two computers, and sage installed on both: >>> >>> 1) Ubuntu 12.04 , sage-7.3 on an nfs mount,y >>> >>> 2) Ubuntu 16.04, sage

[sage-support] Re: huge virtual memory size when launching 7.3

2016-08-30 Thread leif
it more complicated to see how much memory a Sage process actually *uses*. > I think this is a hack that is used by PARI/GP, due to their > "interesting" primitive (but fast!) memory design. And GAP / libgap. In this recent case I guess the latter is (once again) to blame. I was

[sage-support] Re: Problem compiling 7.3 from source

2016-08-25 Thread leif
Luis Finotti wrote: > On Wednesday, August 24, 2016 at 5:41:37 PM UTC-4, leif wrote: > > Luis Finotti wrote: > > I can't compile 7.3 using Debian Unstable. > > Do you intentionally (try to) build Sage's GCC? (I have to admit I > haven&#x

[sage-support] Re: Using sage for student quizzes

2016-08-25 Thread leif
, but no doubt my > university would not like it either. I'll have a look and see if it is > manageable. The real issue is writing the content from scratch. Perhaps also ask on sage-education; there doesn't seem to be much traffic, but one never knows... (There in addition is a Fre

[sage-support] Re: Problem compiling 7.3 from source

2016-08-25 Thread leif
leif wrote: > Dima Pasechnik wrote: >> Do we support gcc 6.1.1 now? > > Sure. (Modulo building Sage's GCC 4.9.3 with it... ;-) ) The only thing we missed in Sage 7.3 is Givaro's testsuite, which currently only builds when manually passing '-std=c++98' in C

[sage-support] Re: Problem compiling 7.3 from source

2016-08-25 Thread leif
Dima Pasechnik wrote: > Do we support gcc 6.1.1 now? Sure. (Modulo building Sage's GCC 4.9.3 with it... ;-) ) (6.2 has just been released, but that's a bugfix release in the 6.x series.) -leif > This is what is used during the build. -- You received this message because yo

[sage-support] Re: Problem compiling 7.3 from source

2016-08-24 Thread leif
look at config.log, which should tell you /why/ Sage attempts to build and use its own GCC. Presumably your system lacks g++ and/or gfortran; if you install these from your distro, Sage won't have to build them. -leif > Here is some info on the system: > > | > System: Host:fino

[sage-support] Re: The server of Sage 7.3 for Mac OS 10.11.6 (the app version) will not start!

2016-08-24 Thread leif
is *may* include your version of Xcode, but I don't really know. -leif [1] http://ask.sagemath.org/question/8531/install-problem-app-on-mac-os-x/ [2] http://ask.sagemath.org/question/34548/sage-on-macbookair/ > Here is the e

[sage-support] Re: Using sage for student quizzes

2016-08-24 Thread leif
minated in some way in case they do]. But it's probably already too difficult to in legal sense correctly formulate such documents -- especially when it comes to "cloud" services... ;-) (How proper "anonymization" would perhaps in addition have to happen is just anothe

[sage-support] Re: Using sage for student quizzes

2016-08-24 Thread leif
; wouldn't allow to store the student's personal information on servers in > the USA. OT, but if I'm not mistaken, that's actually current law in the EU. (Which doesn't imply everybody cares...) -leif -- You received this message because you are subscribed to the Google Gr

[sage-support] Re: Problem with git and trac server

2016-08-21 Thread leif
the trac server. > How can I correct this problem ? See the following thread on sage-devel: http://permalink.gmane.org/gmane.comp.mathematics.sage.devel/88529 So I think you can simply retry pushing your changes. -leif -- You received this message because you are subscribed to the Goog

[sage-support] Re: Sage crash report

2016-08-15 Thread leif
Volker Braun wrote: > Missing dependency on gsl on arch? Don't think so, as libgsl.so must have been there during link of the extension module. Either ldconfig has messed up the links, or probably some RUN_PATH issue. (Or he really took some [incomplete] binary built elsewhere.)

[sage-support] Re: Sage crash report

2016-08-14 Thread leif
Dima Pasechnik wrote: > it is also ipython 5.0, which, as we know, is problematic. But -- perhaps surprisingly, the error /here/ is unrelated to IPython. I guess it's Sage 7.4.beta0 though. -leif -- You received this message because you are subscribed to the Google Groups "

[sage-support] Re: Sage crash report

2016-08-14 Thread leif
t; 89 base_field, > 90 basis, > 91 category, > 92 charpoly, > 93 characteristic_polynomial, > 94 coerce, > 95 cyclotomic_polynomial, > 96

[sage-support] Re: Lambda functions vs. defining functions

2016-08-11 Thread leif
, hence from Python's point of view has a value assigned such that f(x) can be evaluated before calling diff(). I.e., diff(g(y),y) won't work unless you also define y to be a symbolic variable (no matter what formal parameter name you use in the Python function g). -leif > def

[sage-support] Re: Installing the optional python3 package seems to break Sage

2016-08-11 Thread leif
I will not install all packages for, say, Ubuntu Linux, but > Sage has not that many available. As mentioned on the ticket Dima created, the python3 package should still have type "experimental" at this point. -leif -- You received this message because you are subscribed to

[sage-support] Re: Installing the optional python3 package seems to break Sage

2016-08-10 Thread leif
Dima Pasechnik wrote: > On Wednesday, August 10, 2016 at 10:39:44 AM UTC+1, leif wrote: > > Dima Pasechnik wrote: > > this is now https://trac.sagemath.org/ticket/21199 > <https://trac.sagemath.org/ticket/21199> > > Is it at all supposed to be use

[sage-support] Re: Installing the optional python3 package seems to break Sage

2016-08-10 Thread leif
's presumably confusing and dangerous. -leif > On Wednesday, August 10, 2016 at 9:34:59 AM UTC+1, Dima Pasechnik wrote: > > > > On Wednesday, August 10, 2016 at 9:22:46 AM UTC+1, Dima Pasechnik wrote: > > > > On Wednesday, August

[sage-support] Re: Installation problems under Mac OS X El Capitan v10.11.6

2016-08-09 Thread leif
send email to sage-rele...@googlegroups.com >> <mailto:sage-rele...@googlegroups.com>. >> Visit this group at https://groups.google.com/group/sage-release. >> For more options, visit https://groups.google.com/d/optout. -leif -- You received this message because you are

[sage-support] Re: "Could not import extension sage_autodoc"

2016-08-09 Thread leif
html/en/reference/tensor is empty. > > Any idea what's going on? You've presumably downgraded your Sage version by checking out some older, pre-#20545 one. You have to run 'make' after doing so (or in this case, './sage -b' might be sufficient, but running &

[sage-support] Re: Installation problems under Mac OS X El Capitan v10.11.6

2016-08-05 Thread leif
neral the latest version available for your OS version. (The binaries we publish can be produced from such a build, with some restrictions on build options, but that's a further step.) See [3] for instructions on how to build from source. -leif [1] http://www.sagemath.org/download-sourc

[sage-support] Re: Seaborn in sage

2016-07-27 Thread leif
answers. Oh, interesting. (I thought you were running MacOS X 10.9.) Which version actually is it? Yosemite (10.10) or already El Capitan (10.11)? -leif > Le mercredi 27 juillet 2016 20:46:40 UTC+2, Laurent Decreusefond a écrit : > > I will try this one since I'm already wo

[sage-support] Re: Seaborn in sage

2016-07-27 Thread leif
time). But you /may/ run into similar problems ("No such instruction: ...") when for example building NTL, since Apple's old GAS doesn't support AVX, BMI etc. Then you can try what I suggested, or see #20779 (and #21064 especially for NTL). -leif > Le mercredi 27 ju

[sage-support] Re: Seaborn in sage

2016-07-27 Thread leif
ith movd vs. movq. (The suggestion in my other reply should still work as well, I think.) > A quicker solution might be to make sure you installed the version of Sage > from > > http://mirrors.mit.edu/sage/osx/intel/index.html > > whose label matches your version of OS X. Yep, t

[sage-support] Re: Seaborn in sage

2016-07-27 Thread leif
per script $SAGE_LOCAL/bin/as which calls the assembler with '-q' added to the options; see the following trac tickets for more details: https://trac.sagemath.org/ticket/20779 https://trac.sagemath.org/ticket/20563 (same issue, i.e. with movq) (Both a bit stalled at the moment, but give

[sage-support] Re: trac mails are back on

2016-07-03 Thread leif
leif wrote: > Huh, we do no longer get notifications when a ticket gets closed?! > > (I mean for the post on the ticket closing it, not other posts afterwards.) Hmmm, after trying to "change" my preferences (notifications explicitly to the allegedly default ones), I'

[sage-support] Re: trac mails are back on

2016-07-03 Thread leif
Dima Pasechnik wrote: > Trac emails should work now (going via sendgrid.net). Please shout if > something is not working. Huh, we do no longer get notifications when a ticket gets closed?! (I mean for the post on the ticket closing it, not other posts afterwards.) -leif -- You receive

[sage-support] Re: trac mails are back on

2016-06-22 Thread leif
Dima Pasechnik wrote: > Trac emails should work now Yes, thanks. > (going via sendgrid.net). Why that? I'm getting ugly HTML mails with obfuscated links (and of course phishing attempt alerts). > Please shout if > something is not working. I won't click on them... B

[sage-support] Re: Fwd: help regarding sage instalation

2014-06-20 Thread leif
leif wrote: William Stein wrote: -- Forwarded message -- From: "Pramod Shukla" mailto:pkshu...@to.infn.it>> Date: Jun 19, 2014 7:25 AM Subject: help regarding sage instalation While installing sage in my computer I came across some problem which unfortunately I

[sage-support] Re: Fwd: help regarding sage instalation

2014-06-19 Thread leif
ding the documentation with less threads, in case you were using more than one.) -leif -- () The ASCII Ribbon Campaign /\ Help Cure HTML E-Mail -- You received this message because you are subscribed to the Google Groups "sage-support" group. To unsubscribe from this group and st

[sage-support] Re: tutoriatutorial() tries to start wine under gnome-3.12

2014-06-19 Thread leif
torial() ? (notebook() will also pop up your default browser, and then open Sage notebooks in it). By the way, you can set Sage's default browser by exporting SAGE_BROWSER=... in the shell before running 'sage'... -leif -- () The ASCII Ribbon Campaign /\ Help Cure HTML E

[sage-support] Re: Segmentation fault in singular multi-polynomial factor() function

2014-06-19 Thread leif
u*v^3*w^2 + 348*u^3*w^3 + 1652*u^2*v*w^3 + 1136*u*v^2*w^3 + 740*u^2*w^4 + 1140*u*v*w^4 + 296*u*w^5 - 52*u^3*w^2 - 256*u^2*v*w^2 - 184*u*v^2*w^2 - 256*u^2*w^3 - 412*u*v*w^3 - 184*u*w^4 + 36*u^2*w^2 + 60*u*v*w^2 + 60*u*w^3 - 8*u*w^2 print "Factor f : ",f.factor() This is now fixed in

[sage-support] Re: Error Building sage-6.2: Error installing package mpir-2.6.0.p4

2014-06-17 Thread leif
ng the error is below. I'm trying to make sage in redhat version 5.7 Tikanga. The system is 64Bit, CPU is an Intel Xeon processor. Any help would be greatly appreciated. Many thanks! Hmmm, could you perhaps upload the full MPIR build log (logs/pkgs/mpir-2.6.0.p4.log) somewhere? -leif --

[sage-support] Re: Options for the Sage expand function

2014-06-14 Thread leif
jeanbigbo...@gmail.com wrote: Excuse the top-posting, the google groups UI is not as convenient for excerpting as emacs and a good Usenet server... A couple of Sage groups (including this) are available on/through gmane.org as well (gmane.comp.mathematics.sage.*). -leif -- () The ASCII

[sage-support] Re: How to inspect the existence and install a python package in the cloud

2014-06-11 Thread leif
erested in /Sage/ packages, but "plain" Python packages. In that case, you could use pkg_resources, e.g. import pkg_resources pkg_resources.get_distribution("foo") # may raise DistributionNotFound pkg_resources.get_distribution("foo").version or simpl

[sage-support] Re: Sage not finding Gambit's command line tools

2014-06-11 Thread leif
ared in 'SAGE_ROOT/local/bin` but when I try to use them within sage I get the error `'module' object has no attribute 'nash'` for example. Is there something I've forgotten to do? Well, hard to tell without looking at your package. Is it available somewhere? Tr

[sage-support] Re: Segmentation fault in singular multi-polynomial factor() function

2014-06-09 Thread leif
leif wrote: leif wrote: If somebody^TM opens a ticket (or has already done so), please cc me or post the ticket # here. I'll otherwise probably do so, and check whether the patch applies clean to our version (and is sufficient for it). /Of course/^TM the patch from the pull request

[sage-support] Re: Segmentation fault in singular multi-polynomial factor() function

2014-06-09 Thread leif
leif wrote: Volker Braun wrote: Reported at http://www.singular.uni-kl.de:8002/trac/ticket/621 Fix committed upstream: https://github.com/Singular/Sources/commit/28f4fe9464722511718050dfab7cd61d29898968 If somebody^TM opens a ticket (or has already done so), please cc me or post the ticket

[sage-support] Re: Sage posts "PowmInsecureWarning: Not using mpz_powm_sec." when launched

2014-06-08 Thread leif
(MPIR is not going to implement special functions safe w.r.t. side-channel attacks.) -leif On Sunday, June 8, 2014 5:16:47 PM UTC+1, leif wrote: Volker Braun wrote: > Neat, but the flask openid shouldn't and doesn't implement SSL using > pycrytpo. Looking at the

[sage-support] Re: Sage posts "PowmInsecureWarning: Not using mpz_powm_sec." when launched

2014-06-08 Thread leif
we somehow silence the warning (probably by patching our pycrypto package further)? The easiest solution is of course to simply report this upstream... ;-) (MPIR 2.7.0.alpha4 still lacks mpz_powm_sec().) -leif On Sunday, June 8, 2014 11:21:20 AM UTC+1, Martin Albrecht wrote: On Satur

[sage-support] Re: Segmentation fault in singular multi-polynomial factor() function

2014-06-06 Thread leif
. I'll otherwise probably do so, and check whether the patch applies clean to our version (and is sufficient for it). -leif -- () The ASCII Ribbon Campaign /\ Help Cure HTML E-Mail -- You received this message because you are subscribed to the Google Groups "sage-support" group.

[sage-support] Re: Segmentation fault in singular multi-polynomial factor() function

2014-06-05 Thread leif
leif wrote: Dominique Laurain wrote: Thanks leif for your help.. Since some weeks, I have a strange ("final destination") feeling falling too much into deep software traps at office or at home... Work-around: Works in Sage 6.2 if you define f (i.e., u, v and w) "the right wa

[sage-support] Re: Segmentation fault in singular multi-polynomial factor() function

2014-06-05 Thread leif
Dominique Laurain wrote: Thanks leif for your help.. Since some weeks, I have a strange ("final destination") feeling falling too much into deep software traps at office or at home... Work-around: Works in Sage 6.2 if you define f (i.e., u, v and w) "the right way": s

[sage-support] Re: Segmentation fault in singular multi-polynomial factor() function

2014-06-05 Thread leif
leif wrote: leif wrote: Dominique Laurain wrote: I usually factor "small" polynomials...but this time I got a "Segmentation fault" for a bigger one...is it ok to get that error (no control of enough memory or processor task force to get the result) ? Maybe I want t m

[sage-support] Re: Segmentation fault in singular multi-polynomial factor() function

2014-06-04 Thread leif
leif wrote: Dominique Laurain wrote: I usually factor "small" polynomials...but this time I got a "Segmentation fault" for a bigger one...is it ok to get that error (no control of enough memory or processor task force to get the result) ? Maybe I want t much :-

[sage-support] Re: Segmentation fault in singular multi-polynomial factor() function

2014-06-04 Thread leif
+ 18*v^3*w + 52*v^2*w^2 + 19*v*w^3 - 6*u^3 - 47*u^2*v - 48*u^2*w - 48*u*v^2 - 137*u*v*w - 47*u*w^2 + 13*u^2 - 6*v^3 - 47*v^2*w - 48*v*w^2 + 37*u*w + 13*v^2 - 6*w^3 + 37*u*v + 37*v*w + 13*w^2 - 9*u - 9*v - 9*w + 2)*u*w^2 -leif Project-id: 6429970e-5a78-4aee-a6b1-af1e80542481 Location:

[sage-support] Re: Error in "warning" directive when installing

2014-06-02 Thread leif
Jose Guzman wrote: On 01/06/14 17:59, leif wrote: Jose Guzman wrote: When trying to install Sage 6.2 from sources I got the following error: File "/home/jguzman/sage-6.2/src/doc/common/builder.py", line 1477, in getattr(get_builder(name), type)() File "/home/jguzm

[sage-support] Re: In Sage Notebook how to run a process in the background

2014-06-02 Thread leif
cell. Using Python's multiprocessing should also work. Not sure whether Sage's @parallel decorators play well in the notebook (and the master process/computation won't return until the children have finished AFAIK, so it's not asynchronous to the evaluation of other cells).

[sage-support] Re: In Sage Notebook R outputs only show up at the end of the processing

2014-06-01 Thread leif
William Stein wrote: On Sun, Jun 1, 2014 at 6:06 PM, Fred Gruber wrote: Thanks William If I could just run an R command in the background and then just do sink [sync?] to sink() is an R command. -leif redirect the outputs to a log file then I would be able to check the log whenever I

[sage-support] Re: Error in "warning" directive when installing

2014-06-01 Thread leif
re). My impression is that docbuilding with Python's multiprocessing doesn't work reliably, but so far failed to really track this down. -leif -- () The ASCII Ribbon Campaign /\ Help Cure HTML E-Mail -- You received this message because you are subscribed to the Google Groups &qu

[sage-support] Re: How do you convert a string reprsentation of a polynomial back to a polynomial in a polynomial ring

2014-05-30 Thread leif
leif wrote: Stephen Kauffman wrote: I'm trying to become cognizant of your caveats about conversion. What I've tried to write is a recursive function to convert polynomials (statements) in the Free BooleanPolynomialRing() to corresponding probability polynomials (statements) over QQ.

[sage-support] Re: How do you convert a string reprsentation of a polynomial back to a polynomial in a polynomial ring

2014-05-30 Thread leif
#x27;sage.rings.polynomial.multi_polynomial_libsingular.MPolynomial_libsingular' object has no attribute 'ring' > [BIG SNIP] You can use foo.parent() or parent(foo) instead. -leif -- () The ASCII Ribbon Campaign /\ Help Cure HTML E-Mail -- You received this message becaus

[sage-support] Re: Bivariate polynomial Euclid's division algorithm support

2014-05-30 Thread leif
uotiented ring P: sage: I.reduce(f).lift() y^5 + x - y - 1 Best regards, Simon Simon, that is a fantastic mini-tutorial and should be kept somewhere for posterity! (assuming the the original questioner likes it too, of course). Yes, indeed (and it's just one of a couple). htt

[sage-support] Re: How do you convert a string reprsentation of a polynomial back to a polynomial in a polynomial ring

2014-05-30 Thread leif
2010 -0700 Date: Sun Apr 4 16:47:15 2010 +0200 Date: Wed Mar 10 15:39:58 2010 -0800 Date: Mon Mar 8 14:09:13 2010 -0800 So at least a few developers are aware of it. -leif And, this one still mentions Mercurial for the development among other things!!! I have opened a ticket to change t

Re: [sage-support] Re: What is /path/to/file.sage when stored in cloud folder under project? For load('file.sage') ?

2014-05-29 Thread leif
't get how this question wasn't SMC-specific. In contrast, if he'd asked "how do I get the current working directory" we probably would have sent him to #python, stackoverflow, or whatever. -leif On Wednesday, May 28, 2014 9:17:23 AM UTC-4, Dima Pasechnik wrote: On Wednesd

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

2014-05-26 Thread leif
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() discusses file

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

2014-05-26 Thread leif
**" notation. If you want your file to get preparsed (such that the Sage preparser replaces '^' by '**' "internally" when you load or run the file with 'sage'), simply rename your file to "f.sage". Similar holds for '.pyx' vs. &

[sage-support] Re: Memory Leak in mutipolynomial evaluation

2014-05-25 Thread leif
xrange(100): : a=f(1,0,0) : sage: get_memory_usage() 338.19921875 sage: gc.collect() 11 sage: get_memory_usage() 338.19921875 (Sage 6.2, MacOS X 10.6 x86_64) -leif -- () The ASCII Ribbon Campaign /\ Help Cure HTML E-Mail -- You received this message because you are subscribed to th

[sage-support] Re: Method to invert the birational map from degree 3 curve to its Weierstrass form?

2014-05-24 Thread leif
d by: 2*x^3 + 3*x*y^2 - 2*x^2*z - 2*x*y*z - y^2*z + y*z^2 Defn: Defined on coordinates by sending (x : y : z) to (-12*x*z - 4*y*z : 32*x*z : x^2 - 28*x*z - 4*y*z) sage: e.inverse().defining_polynomials() [-12*x*z - 4*y*z, 32*x*z, x^2 - 28*x*z - 4*y*z] -leif On Saturday, May 24,

[sage-support] Re: I can't create a matrix in "Sage Version 6.1.1, Release Date: 2014-02-04"

2014-05-22 Thread leif
─┘ sage: A = matrix(4,4, range(16)) sage: A [ 0 1 2 3] [ 4 5 6 7] [ 8 9 10 11] [12 13 14 15] sage: Looks like your installation was broken somehow^TM^. -leif --- AttributeError

[sage-support] Re: sage 6.2

2014-05-19 Thread leif
emath.org/doc/installation/binary.html#microsoft-windows which further indirectly points you to http://wiki.sagemath.org/SageAppliance (and http://www.sagemath.org/download-windows.html but the mirrors haven't synced yet, so wait a while or take the fresh 6.2 ova pointed to at the top of this m

[sage-support] Re: splitting_field

2014-05-18 Thread leif
leif wrote: John Cremona wrote: You need 6.2. The splitting field functionality was only added since 6.1.1: ? sage: sage: R. = PolynomialRing(QQ) sage: sage: K. = NumberField(x^3 + 2) sage: sage: S. = PolynomialRing(K) sage: sage: L. = (t^2 - a).splitting_field() sage: sage: L Number Field

[sage-support] Re: splitting_field

2014-05-18 Thread leif
#x27; sage: Or did I just "mess it up" somehow? -leif -- () The ASCII Ribbon Campaign /\ Help Cure HTML E-Mail -- You received this message because you are subscribed to the Google Groups "sage-support" group. To unsubscribe from this group and stop receiving emails f

[sage-support] Re: splitting_field

2014-05-18 Thread leif
age:L ImportError: No module named splitting_field Where is the problem? No idea. Works for me. Do I need to install a package? No. -leif -- () The ASCII Ribbon Campaign /\ Help Cure HTML E-Mail -- You received this message because you are subscribed to the Google Groups "sage-support&

[sage-support] Re: error message

2014-05-18 Thread leif
LAS. (In the folder local/var/lib/sage/installed/, you can see which packages *have been* successfully installed so far.) You can also just issue 'make' again, and see whether the build error persists; if so, at some point what's causing it will pop up near the end of the outp

[sage-support] Re: Fwd: KASH Sage Package with Windows

2014-05-16 Thread leif
virtual machine, see [2]. -leif [1] http://page.math.tu-berlin.de/~kant/download.html [2] http://sagemath.org/doc/installation/binary.html#microsoft-windows -- () The ASCII Ribbon Campaign /\ Help Cure HTML E-Mail -- You received this message because you are subscribed to the Google Groups

[sage-support] Re: possible bug in DiscreteHiddenMarkovModel - NaN produced in output matrices

2014-05-09 Thread leif
terwards starts Sage, such that you can check the effects of your changes. But before starting to modify the code, you should create a branch for your work such that you can always easily switch back to a "clean" version of Sage. See [1]. -leif P.S.: Thanks for your ve

[sage-support] Re: Optional GAP packages in Sage 6.2

2014-05-09 Thread leif
gap_packages sage -f database_gap and you'll get the "new style" 4.7.4 versions. (After that, 'sage --optional' will correctly report that they're installed.) -leif -- () The ASCII Ribbon Campaign /\ Help Cure HTML E-Mail -- You received this message because

[sage-support] Re: Error installing package singular-3.1.5.p9

2014-05-04 Thread leif
that Sage 6.2.rc2 has been released today, so you might also try that [1], or wait hopefully at most a few days until 6.2 gets released. -leif [1] http://boxen.math.washington.edu/home/release/sage-6.2.rc2/sage-6.2.rc2.tar.gz -- () The ASCII Ribbon Campaign /\ Help Cure HTML E-Mail -- You

[sage-support] Re: Want all real solutions to a Simple trig equation

2014-05-03 Thread leif
('z50' and 'z48' indicate arbitrary integers.) assume() doesn't seem to have an impact here, and passing further relations to solve() doesn't seem to give useful results either. -leif -- () The ASCII Ribbon Campaign /\ Help Cure HTML E-Mail -- You received t

[sage-support] Re: Want all real solutions to a Simple trig equation

2014-05-03 Thread leif
would be difficult to get them all Not difficult, but would take infinitely long to get them all... Note that one could use assume() to get a finite subset. -leif -- () The ASCII Ribbon Campaign /\ Help Cure HTML E-Mail -- You received this message because you are subscribed to the Google

[sage-support] Re: M.right_eigenvectors() brings old error

2014-05-02 Thread leif
Nils Bruin wrote: On Friday, May 2, 2014 8:38:16 AM UTC-7, leif wrote: >> return self.transpose().eigenvectors_left(extend) def eigenvectors_right(self, extend=True): So 'extend' is defined where the call happens... Stylistically it seems to be a

[sage-support] Re: M.right_eigenvectors() brings old error

2014-05-02 Thread leif
leif wrote: Dima Pasechnik wrote: On 2014-05-02, leif wrote: Dima Pasechnik wrote: On 2014-05-02, Michał Migacz wrote: Hello It happens on sagenb.org which runs Sage 5.11, for which http://trac.sagemath.org/ticket/10346 is already closed. Do you mean some other trac ticket? Indeed

[sage-support] Re: M.right_eigenvectors() brings old error

2014-05-02 Thread leif
Dima Pasechnik wrote: On 2014-05-02, leif wrote: Dima Pasechnik wrote: On 2014-05-02, Michał Migacz wrote: Hello It happens on sagenb.org which runs Sage 5.11, for which http://trac.sagemath.org/ticket/10346 is already closed. Do you mean some other trac ticket? Indeed, even on 6.2.rc1

[sage-support] Re: M.right_eigenvectors() brings old error

2014-05-02 Thread leif
ite-packages/sage/matrix/matrix2.so in sage.matrix.matrix2.Matrix.eigenvectors_right (sage/matrix/matrix2.c:31134)() TypeError: eigenvectors_left() takes no keyword arguments AFAICS we just have to replace it by return self.transpose().eigenvectors_left(extend) -leif Wh

[sage-support] Re: Solving Trigonometric Equations

2014-04-26 Thread leif
.pdf&ei=rlhbU6_-BMXgOvLlgcgP&usg=AFQjCNHgkg8ryusZlGzg19QM7ogKmufo4A&sig2=tYRBajv8jhJmWVbA9_6R0A Read: http://www.csulb.edu/~woollett/mbe4solve.pdf ;-) -leif quote chapter 4.1.1: " Maxima's ability to solve equations is limited, but progress is being made in this ar

[sage-support] Re: Installing Python module in Sage (Ubuntu)

2014-04-24 Thread leif
mply doing $ sage -i /path/to/python_package.tar{,.gz,.bz2} Don't know whether that still works. (And IIRC, the name of the tarball had to match the top-level folder in it, but that's /usually/ the case. If not, simply renaming the tarball should be sufficient.) -leif -- () The A

[sage-support] Re: Computational geometry in the plane: in Sage?

2014-04-22 Thread leif
_ATLAS_LIB=/path/to/system/atlas/libs ./sage -f atlas $ env SAGE_UPGRADING=yes make build (Note sure whether some Cython extension modules need to get rebuilt/relinked as well, and if so, whether the dependencies are complete in that the above would automatically rebuild them.) -leif -- ()

[sage-support] Re: Random Primitive

2014-04-19 Thread leif
#sage.rings.finite_rings.finite_field_base.FiniteField.multiplicative_generator -leif -- () The ASCII Ribbon Campaign /\ Help Cure HTML E-Mail -- 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

[sage-support] Re: SAGE CPLEX

2014-04-18 Thread leif
0--14540277 : "You need to link the frameworks CoreFoundation and IOKit for the academic version of the product since the license enforcement tools depend on them. The relevant linker command line arguments are "-framework CoreFoundation -framework IOKit"." -leif

[sage-support] Re: find Nth prime with Sage

2014-04-16 Thread leif
rt to include the open source libraries primesieve and primecount in Sage which would provide a much faster Primes iterator, prime_range, prime_pi, and nth_prime, however so far these haven't made it in. And I just noticed that http://trac.sagemath.org/ticket/11475 is still bit-rottening.

[sage-support] Re: Zero power zero

2014-04-16 Thread leif
ckets, and IIRC we also had endless discussions a couple of times on sage-devel.) Tertium tamen datur, -leif -- () The ASCII Ribbon Campaign /\ Help Cure HTML E-Mail -- You received this message because you are subscribed to the Google Groups "sage-support" group. To unsubscribe

[sage-support] Re: How to install latest sage version on window 7 + Question following the online sage tutorial guide

2014-04-15 Thread leif
leif wrote: leun...@gene.com wrote: Q2: I tried to follow the online sage tutorial (http://www.sagemath.org/doc/tutorial/tour_algebra.html). The session of using maxima to do laplace transform. I copied the exact command de1 = maxima("2*diff(x(t),t, 2) + 6*x(t) - 2*y(t)") ld

  1   2   >