Re: [sage-support] Re: make ignores "-j" option

2024-12-07 Thread 'Peter Mueller' via sage-support
No, export MAKE="make -j1" before doing a "make" didn't resolve the problem. The number of parallel processes kept rising from 4 until around 20. Not sure if this is a bug, or results from some misconfiguration of my machine. I didn't fiddle with the Sage source, just got it fresh from github.

Re: [sage-support] Re: make ignores "-j" option

2024-12-07 Thread 'Peter Mueller' via sage-support
OK, with export MAKE="make -j1" the number of parallel processes seems to be around 4 most of the time. So it does not paralyze the computer. wst...@gmail.com schrieb am Samstag, 7. Dezember 2024 um 15:58:31 UTC+1: [...] The following may still work: export MAKE="make -j1" -- You received t

[sage-support] Re: make ignores "-j" option

2024-12-07 Thread 'Peter Mueller' via sage-support
> As for parallel build, you need to use the SAGE_NUM_THREADS env variable > > El sábado, 7 de diciembre de 2024 a las 14:50:56 UTC+1, Peter Mueller > escribió: > >> Compiling SageMath 10.5 on an ArchLinux system seems to ignore the "-j" >> option to make. Ev

[sage-support] make ignores "-j" option

2024-12-07 Thread 'Peter Mueller' via sage-support
Compiling SageMath 10.5 on an ArchLinux system seems to ignore the "-j" option to make. Even if I do "make -j1", more than the number of cores (16 in my case) processes run in parallel, freezing the system for most of the time. -- Peter Mueller PS: ArchLinux actually pr

Re: [sage-support] Re: 1.0^x raises ValueError: power::eval(): division by zero

2024-11-25 Thread 'Peter Mueller' via sage-support
OK, it's https://github.com/sagemath/sage/issues/39035 now. -- Peter Mueller dim...@gmail.com schrieb am Montag, 25. November 2024 um 15:35:56 UTC+1: Opening an issue on GitHub will help. It shouldn't be harder than posting here. -- You received this message because you are sub

[sage-support] Re: 1.0^x raises ValueError: power::eval(): division by zero

2024-11-25 Thread 'Peter Mueller' via sage-support
I'm not familiar with the developing process. So I guess someone (maybe you?) should open a ticket? Or I could try to fill the "Issue: Bug Report" form on the github page if that's the right thing to do. -- Peter Mueller egourg...@gmail.com schrieb am Montag, 25. November

[sage-support] 1.0^x raises ValueError: power::eval(): division by zero

2024-11-24 Thread 'Peter Mueller' via sage-support
var('x'); 1.1^x works fine, but 1.0^x raises a ValueError: power::eval(): division by zero (also in the SageCell). Is this intended behavior? --Peter Mueller -- You received this message because you are subscribed to the Google Groups "sage-support" group. To unsubscribe

[sage-support] `solve_left` for sparse matrices extremely slow

2024-06-08 Thread 'Peter Mueller' via sage-support
to me that there is a highly inefficient handling of sparse matrices. -- Peter Mueller -- 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-s

[sage-support] Failure to compile Sage 10.3.rc0

2024-02-26 Thread 'Peter Mueller' via sage-support
Installation of Sage 10.3.rc0 from source on an up-to-date Arch Linux machine fails. I'm not sure if the following snippet of the log file hints to the problem: [sagelib-10.3.rc0] In file included from sage/symbolic/ginac/pseries.cpp:26: [sagelib-10.3.rc0] sage/symbolic/ginac/useries-fl

[sage-support] Counting of combinations

2024-01-04 Thread Peter Luschny
[[3]]] [[ ], [[1, 1, 1, 1]], [[2, 2], [2, 1, 1]], [[3, 1]], [[4]]] Peter P.S. Sage 10.1 -- 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-s

[sage-support] Build errors for sage_numerical_backends_[coin, gurobi]

2023-11-08 Thread 'Peter Mueller' via sage-support
(self): ^ sage_numerical_backends_coin/coin_backend.pyx:924:10: Signature not compatible with previous declaration -- Peter Mueller -- You received this message because you are subscribed to the Google Groups "sage-support" group. To unsubscribe

Re: [sage-support] Bug in GAP installation provided by SageMath?

2023-04-18 Thread 'Peter Mueller' via sage-support
Thanks, the following line resolves the issue in Sage 10.0.beta6 (but not in 9.8, but I don't care): `libgap.SetUserPreference("AtlasRep", "AtlasRepAccessRemoteFiles", true )` Dima Pasechnik schrieb am Dienstag, 18. April 2023 um 12:50:49 UTC+2: [...] So you can either go and edit the file abov

[sage-support] Bug in GAP installation provided by SageMath?

2023-04-18 Thread 'Peter Mueller' via sage-support
the problem persists. The same happens when starting GAP directly from a shell via `sage -gap` and calling `SimpleGroup("J3");`. It is not a GAP bug, for a a local installation of GAP (same version 4.12.2) just works fine. I have this problem in Sage versions 9.8 and 10.0.beta6. Th

Re: [sage-support] How to use Gap interface for permutation groups?

2023-03-31 Thread 'Peter Mueller' via sage-support
Dear Dima, thanks a lot! Indeed, one should have expected it like that ... Anyway, maybe I'm not the only one who got stuck there, and the answer is useful for others too. -- Peter Mueller Dima Pasechnik schrieb am Donnerstag, 30. März 2023 um 19:38:47 UTC+2: > > > On Thu, 30 M

[sage-support] How to use Gap interface for permutation groups?

2023-03-30 Thread 'Peter Mueller' via sage-support
. Stabilizer([1, 2], 'OnSets')` raises a GapError. Are these things documented somewhere? I couldn't find anything. -- Peter Mueller -- You received this message because you are subscribed to the Google Groups "sage-support" group. To unsubscribe from this group and stop

[sage-support] Set(L) == L and Set(L) != L are True at the same time?!

2023-02-23 Thread 'Peter Mueller' via sage-support
Secundum non datur ...: sage: L = {0} sage: L == Set(L) True sage: L != Set(L) True How can this happen?! With the python bulltin `set` instead of `Set` I get the expected behavior though. (I'm using Sage version 9.8.) -- Peter Mueller -- You received this message because you are subsc

[sage-support] Backends for SemidefiniteProgram()

2023-02-17 Thread 'Peter Mueller' via sage-support
In analogy to the` write_mps()` method for linear programs.) -- Peter Mueller -- 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..

[sage-support] Strange bug connected to GAP as a backend

2022-11-20 Thread 'Peter Mueller' via sage-support
) [...] GAPError: Error, no method found! Error, no 1st choice method found for `=' on 2 arguments I omit the full traceback, because it is very well reproducible in versions 9.7 and 9.8.beta3, and also on the SageCell. -- Peter Müller -- You received this message because you are subscribed to the G

Re: [sage-support] TypeError in SloaneEncyclopedia

2022-10-13 Thread Peter Luschny
> > Broken, indeed. Hardly any tests in sage/databases/sloane.py, no > wonder this happens. > See https://trac.sagemath.org/ticket/34655 > Does > oeis([1,2,3,4,5], 1) not do what you want? Thank you Dima! The Internet variant works. But my use case is not a single search, but a repeated sca

[sage-support] TypeError in SloaneEncyclopedia

2022-10-11 Thread Peter Luschny
y in load(self) 275 if len(L) == 0: 276 continue --> 277 m = entry.search(L) 278 if m: 279 seqnum = int(m.group('num')) TypeError: cannot use a string pattern on a bytes-like object Is there a workaround?

Re: [sage-support] Bug in qepcad?

2022-07-12 Thread 'Peter Mueller' via sage-support
kend if it fails due to low memory. (iii) Indeed, I know msolve and it looks very promising. The system I sent is not the one I actually wanted to study, it resulted from reducing a bigger system which shows the unexpected behavior. -- Peter Mueller dim...@gmail.com schrieb am Dienstag, 12. Juli

Re: [sage-support] Bug in qepcad?

2022-07-11 Thread 'Peter Mueller' via sage-support
g, 11. Juli 2022 um 19:11:08 UTC+2: > > > On Mon, 11 Jul 2022, 17:04 'Peter Mueller' via sage-support, < > sage-s...@googlegroups.com> wrote: > >> Thanks for the suggestion, I wasn't aware of this feature. However, here >> it results in "Error

Re: [sage-support] Bug in qepcad?

2022-07-11 Thread &#x27;Peter Mueller' via sage-support
e existing help page (at ~/local/sage/local/share/qepcad/qepcad.help) to the place where qepcad is looking for it. dim...@gmail.com schrieb am Montag, 11. Juli 2022 um 17:40:11 UTC+2: > > > On Mon, 11 Jul 2022, 16:33 'Peter Mueller' via sage-support, < > sage-s...@go

[sage-support] Bug in qepcad?

2022-07-11 Thread &#x27;Peter Mueller' via sage-support
hold even more if we remove the comment in # q1 = p1 above. However, doing that produces a correct solution {'p1': 1/2, 'p2': 0, 'p3': 0, 'q2': 3/4, 'q3': 5/8}. Am I doing something wrong? If it is a bug, then I don't know if comes from the inter

[sage-support] Re: Multivariate polynomial ring with total degree no larger than n

2022-03-12 Thread &#x27;Peter Mueller' via sage-support
I would do something like this (example for n=5): ``` n = 5 R = PolynomialRing(QQ, 'x', n) x0 = R.gen(0) # A shorter alternative is R.0 f = sum((i+1)*x0^i for i in range(n+1)) # sample polynomial p = 1 for xi in R.gens(): p *= f.substitute({x0:xi}) p = sum(coeff*mono for coeff, mono in list

[sage-support] Problem with simplify_hypergeometric().

2021-11-26 Thread Peter Luschny
Please consider def H(n,k): return hypergeometric([-k, -n + k], [-k], -1) def T(n,k): return int(H(n,k).n()) def S(n,k): return H(n,k).simplify_hypergeometric() for n in range(8): print([T(n, k) for k in range(n+1)]) print([S(n, k) for k in range(n+1)]) The re

[sage-support] hurwitz_zeta(0, x) = ?

2021-06-20 Thread Peter Luschny
Mathematica: HurwitzZeta[0, x] = 1/2 - x Maple: Zeta(0, 0, x) = -x + 1/2 Sage 9.2:hurwitz_zeta(0, x) = hurwitz_zeta(0, x) --- this is OK: Mathematica: HurwitzZeta[0, 1] = -1/2 Maple: Zeta(0, 0, 1) = -1/2 Sage 9.2:hurwitz_zeta(0, 1) = -1/2 -- You received this mess

[sage-support] memory leak in trivial calculation?

2021-05-27 Thread &#x27;Peter Mueller' via sage-support
The following trivial code eats up all the memory and crashes with an Unhandled SIGSEGV on my Linux machine and sage version 9.3. But it does not work either on the sage cell! var('z y') f = -(15*z/(17*y + 11) + 1)*(5*z/(4*y + 1) - 1)*(15*z/(3*y - 4) + 1) f(y=I) -- Peter Muelle

[sage-support] Compositional inverse of multivariate power series

2021-02-10 Thread Peter Luschny
The compositional inverse (with respect to x) of y(t, x) = x - t*(exp(x) - 1) is 1/(1-t)*y + t/(1-t)^3*y^2/2! + (t+2*t^2)/(1-t)^5*y^3/3! + (t+8*t^2+6*t^3)/(1-t)^7*y^4/4! + ... Apparently multivariate power series rings do not know how to reverse a series. Perhaps there is a wor

[sage-support] Re: Why is f.inverse() so slow?

2020-11-11 Thread Peter Luschny
> > Maybe try to alter that via: > f = prod((1 - x^n + O(x^size))^a(n) for n in (1..size)) > Yes, that is the solution. Thank you so much! -- You received this message because you are subscribed to the Google Groups "sage-support" group. To unsubscribe from this group and stop receiving emai

[sage-support] Why is f.inverse() so slow?

2020-11-10 Thread Peter Luschny
Hi all, I wanted to implement the Euler Transformation. https://oeis.org/wiki/Euler_transform My first attempt was: def EulerTransform(size, a): R. = ZZ[[]] f = prod((1 - x^n)^a(n) for n in (1..size)) + O(x^size) return f.inverse().list() print(EulerTransform(6, lambda n: factorial(

[sage-support] Subgroups of subgroups aren't subgroups?

2020-08-16 Thread &#x27;Peter Mueller' via sage-support
(2, 3)]);;') : gap.eval('V := Subgroup(G, [(1, 3), (2, 3)]);;') : gap.eval('Length(Set([U, V]))') : '1' -- Peter Mueller -- You received this message because you are subscribed to the Google Groups "sage-support" group. To unsubscribe from this grou

[sage-support] Weird bug in libgap?

2020-08-14 Thread &#x27;Peter Mueller' via sage-support
The following code yields a Traceback for no (to me) obvious reason. The same happens on sagecell too. It seems to be a minimal case. For instance removing the line "P = ..." or having less deeply nested loops does not display this problem: for A in PrimitiveGroups(3): for G in A.normal_sub

[sage-support] Bug in scalar products of characters coming from restrictions

2020-08-14 Thread &#x27;Peter Mueller' via sage-support
In the code below g1 and g2 are the same group, where g2 is produced as a subgroup of g1, and c is the principal character of g1. Still, when it comes to scalar products, somehow g1 is not considered as a subgroup of itself: sage: g1 = SymmetricGroup(2) : g2 = g1.conjugacy_classes_subgroups

[sage-support] Directly saving html file of Three.js graphic

2020-07-30 Thread &#x27;Peter Mueller' via sage-support
something like G.save('name.html', viewer='threejs') should work. However, it does not and I don't see if the intended task is implemented somehow. -- Peter Mueller -- You received this message because you are subscribed to the Google Groups "sage-support" g

Re: [sage-support] Optional package cunningham_tables unavailable (version 9.0)

2020-03-12 Thread &#x27;Peter Mueller' via sage-support
Locally compiled versions of Sage on two up-to-date Manjaro Linux machines, and the binary distribution on a Debian 9 machine. In all three cases Sage version 9.0. Am Donnerstag, 12. März 2020 16:53:48 UTC+1 schrieb vdelecroix: > > What is your setup? > > Le 12/03/2020 à 14:15, &#

[sage-support] Optional package cunningham_tables unavailable (version 9.0)

2020-03-12 Thread &#x27;Peter Mueller' via sage-support
ption `-p' instead of '-i'. This, in turn results in an error message. -- Peter Mueller -- 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] Bug in rational_parameterization?

2019-07-05 Thread &#x27;Peter Mueller' via sage-support
-> 929 raise ValueError("there must be %s polynomials"%target.ngens()) 930 try: 931 polys = [source_ring(poly) for poly in polys] ValueError: there must be 3 polynomials -- Peter Müller (Würzburg) P.S.: This happens for SageMath v

Re: [sage-support] The behavior of empty sums

2019-06-25 Thread Peter Luschny
Am Di., 25. Juni 2019 um 11:29 Uhr schrieb slelievre < samuel.lelie...@gmail.com>: > So, replace > > sum(binomial(m*n-1, m*k)*OmegaPolynomial(m,k) for k in (0..n-1)) > > by > > sum((binomial(m*n-1, m*k)*OmegaPolynomial(m, k) for k in (0 .. n-1)), > RR['x'].zero()) > Now, this is clever! Y

Re: [sage-support] The behavior of empty sums

2019-06-25 Thread Peter Luschny
Am Di., 25. Juni 2019 um 10:49 Uhr 'luisfe' : | When n =0, k ranges from 0 to -1 so there is no k and the list constructed in ib(n,m) | is just the empty list. Not an empty list of polynomials, just an empty list. Well, then the way 'sum' is implemented is possibly improvable? The type informat

Re: [sage-support] The behavior of empty sums

2019-06-25 Thread Peter Luschny
Am Montag, 17. Juni 2019 14:27:40 UTC+2 schrieb luisfe: > > On Mon, Jun 17, 2019 at 5:18 AM Peter Luschny wrote: >> >>> def ib(m, n): return sum(binomial(m*n-1, m*k)*OmegaPolynomial(m,k) for k >>> in (0..n-1)) >>> >>> The terms "b

Re: [sage-support] The behavior of empty sums

2019-06-17 Thread Peter Luschny
> Are you saying, the error message it spits out, >> > AttributeError: 'int' object has no attribute 'list', > is misleading? > As I see it the problem is that the sum runs over (0..n-1). Thus for n = 0 it returns by convention the integer 0 for the empty sum (is this correct?) which of course

Re: [sage-support] The behavior of empty sums

2019-06-17 Thread Peter Luschny
> > I don't know what OmegaPolynomial is. However, if you replace it by > cyclotomic_polynomial, > it seems to work as expected, doesn't it? > No, it does not. You missed the question. > > sage: *def* *ib*(m, n): *return* sum(binomial(m*n-*1*, > m*k)*cyclotomic_polynomial(m*(k+*1*)) *for* k

[sage-support] The behavior of empty sums

2019-06-17 Thread Peter Luschny
Hi, I think we should be confident that the sum of integers is again an integer, the sum of rational numbers a rational number and that the sum of polynomials is a polynomial. With Sage this is not the case. def ib(m, n): return sum(binomial(m*n-1, m*k)*OmegaPolynomial(m,k) for k in (0..n-1))

[sage-support] Re: True/False function about the solvability of linear programming

2019-04-28 Thread &#x27;Peter Mueller' via sage-support
You can use an exception, something as follows: def is_lp_solvable(P): try: P.solve() return True except: return False Am Sonntag, 28. April 2019 14:31:31 UTC+2 schrieb husi...@gmail.com: > > Hello everyone! I would like to ask a question about the solvability of a

Re: [sage-support] primes -- enhancement request

2019-03-12 Thread Peter Luschny
> > You need to add the option "pari_isprime": > Thank you! Since the documentation says "large", and "not too large" and "much larger" but does not say what "large" means I include a table which reflects my use case. On the other hand I have no idea whether or not these bounds depend on availa

Re: [sage-support] primes -- enhancement request

2019-03-12 Thread Peter Luschny
> > You did not say what command you were using. > Oh, I thought that was clear from the error message: prime_range. The function (implementing the factorial) is on GitHub

[sage-support] primes -- enhancement request

2019-03-12 Thread Peter Luschny
ValueError: Cannot compute primes beyond 436273290 I think SageMath should do better. Cheers, Peter /opt/sagemath-8.4/local/lib/python2.7/site-packages/sage/rings/fast_arith.pyx in sage.rings.fast_arith.prime_range (build/cythonized/sage/rings/fast_arith.c:3390)() 46 from

[sage-support] Re: taylor versus series

2018-12-30 Thread Peter Luschny
> In the mean time, you can accomplish your computations without using SR: > sage: R.=QQ[[]] > sage: (1 - x - sqrt(1 - 6*x + x^2))/(2*x) > 1 + 2*x + 6*x^2 + 22*x^3 + 90*x^4 + 394*x^5 + ... Does this only work in interactive mode? As soon as I try to capture it in a function it doesn't work anymore

[sage-support] Re: taylor versus series

2018-12-30 Thread Peter Luschny
Thank you Simon for your detailed explanations. I'm pretty sure it's a bug. Sage doesn't like little Schroeder either. LittleSchroeder = (1 + x - sqrt(1 - 6*x + x^2))/(4*x) -- You received this message because you are subscribed to the Google Groups "sage-support" group. To unsubscribe f

[sage-support] taylor versus series

2018-12-30 Thread Peter Luschny
Hi, I get with Maple: LargeSchroeder := (1 - x - sqrt(1 - 6*x + x^2))/(2*x); series(LargeSchroeder, x, 6); taylor(LargeSchroeder, x=0, 6); 1+2*x+6*x^2+22*x^3+90*x^4+394*x^5+O(x^6) 1+2*x+6*x^2+22*x^3+90*x^4+394*x^5+O(x^6) Both functions give the same result. Not so with Sage.

[sage-support] Matrix Multiplication

2018-12-13 Thread Peter Luschny
>From Sage Quick Reference: Linear Algebra, Robert A. Beezer: Matrix Multiplication u = vector(QQ, [1,2,3]), v = vector(QQ, [1,2]) A = matrix(QQ, [[1,2,3],[4,5,6]]) B = matrix(QQ, [[1,2],[3,4]]) u*A, A*v, B*A, B^6, B^(-3) all possible However u*A or A*v give: TypeError: unsu

Re: [sage-support] Quaternions, how to speed up computation

2018-11-19 Thread Peter Luschny
You say: "hijack vs shut up, which one is more serious? Accusing someone hijacking something is a very serious accusation." I certainly didn't mean it as a 'very serious accusation' like hijacking people or planes. I used the term "hijacked" as a technical term like it is defined in the urban d

Re: [sage-support] Quaternions, how to speed up computation

2018-11-19 Thread Peter Luschny
Kolen Cheung: > > And if anyone is dictating this, that one is surely not you, even if > you're the OP. Shut up. > You reconfirm the obvious, namely that you cannot behave. > On Monday, November 19, 2018 at 4:43:44 AM UTC-8, Peter Luschny wrote: >> >> > Hi

Re: [sage-support] Quaternions, how to speed up computation

2018-11-19 Thread Peter Luschny
> Hi, I’m trying to translate this Sage syntax to Python syntax (i.e. using sage as a Python library.) But I got stuck even on the first command. Why do you hijack this thread with a completely different topic? I'm sure that your question and the answers of the experts are of interest to many,

Re: [sage-support] Quaternions, how to speed up computation

2018-09-14 Thread Peter Luschny
merci beaucoup! Peter -- 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 to this group, send ema

[sage-support] Quaternions, how to speed up computation

2018-09-14 Thread Peter Luschny
, 1] [2] [-2, 2, 1] [3] [-8, -6, 3, 1] [4] [-8, -32, -12, 4, 1] [5] [16, -40, -80, -20, 5, 1] [6] [64, 96, -120, -160, -30, 6, 1] ... With Mathematica this takes 6 sec, with Sage it takes hours, (in fact I interrupted after n=15). Thanks, Peter -- You received this mess

[sage-support] Do several sage processes in background interact and disturb each other?

2018-06-16 Thread &#x27;Peter Mueller' via sage-support
seconds, and not more than an hour! -- Peter Mueller -- 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 po

[sage-support] Bug in polynomial ring over quotient ring of multivariate polynomial ring?

2017-11-30 Thread &#x27;Peter Mueller' via sage-support
cal/lib/python2.7/site-packages/sage/rings/quotient_ring.pyc in characteristic(self) 757 NotImplementedError 758 """ --> 759 raise NotImplementedError 760 761 def defining_ideal(self): NotImplementedError: sage: -- Peter Mueller

[sage-support] Powers of polynomials in positive characteristic extremely slow

2017-11-28 Thread &#x27;Peter Mueller' via sage-support
2.04 s. While the latter time is still ridiculous, it seems that for larger exponents some better (yet very poor) algorithm is used. -- Peter Mueller -- You received this message because you are subscribed to the Google Groups "sage-support" group. To unsubscribe from this grou

Re: [sage-support] phc interface not working in Sage version 8.0

2017-07-26 Thread &#x27;Peter Mueller' via sage-support
Thanks, that solved the problem. (I wasn't aware that the actual phc binary isn't included in sage while the interface to it is.) Am Mittwoch, 26. Juli 2017 19:19:10 UTC+2 schrieb vdelecroix: > > Do you have phc installed on your computer? The error message says that > there is no 'phc' command

[sage-support] phc interface not working in Sage version 8.0

2017-07-26 Thread &#x27;Peter Mueller' via sage-support
Trying the example from the doc of phc results in: sage: from sage.interfaces.phc import phc sage: R. = PolynomialRing(CDF,2) sage: testsys = [x^2 + 1, x*y - 1] sage: phc.mixed_volume(testsys) --- ExceptionPexpect

[sage-support] Bounds in coding theory are still a mess

2017-05-08 Thread &#x27;Peter Mueller' via sage-support
. Looking into the source code reveals that codesize_upper_bound erroneously uses the Griesmer bound, which works for linear codes only. I'm not sure how to fix the mess in (1) without breaking compatibility. Maybe a solution could be to enhance these functions with keyword arguments. --

[sage-support] Sage fails to install on OSX 10.11.6

2016-12-17 Thread Peter Gacs
The terminal comes up with the error message below. After that, trying to start a notebook or a Sage terminal just returns error messages complaining about change of folder (I did not change anything). Any help? /Applications/SageMath-7.4.app/Contents/Resources/sage/sage' --notebook=sagenb Fat

Re: [sage-support] Re: Possible bug in numerical integration

2016-06-07 Thread Peter Luschny
> > > on SMC terminal > > $ sage-develop > > > > gives you 7.3.beta2 > > Now how can I use this kernel in my yupyter notebook? > Ahh, it's there also! Is this new? Anyway thanks for this hint! > This was perhaps not a good idea. It's been long since I got so many ugly error messages. /pro

Re: [sage-support] Re: Possible bug in numerical integration

2016-06-07 Thread Peter Luschny
> on SMC terminal > $ sage-develop > > gives you 7.3.beta2 Now how can I use this kernel in my yupyter notebook? Ahh, it's there also! Is this new? Anyway thanks for this hint! Peter -- You received this message because you are subscribed to the Google Groups "s

Re: [sage-support] Re: Possible bug in numerical integration

2016-06-07 Thread Peter Luschny
> Your Sage is too old, this Pynac bug (existing for years) was fixed > months ago and should be in 7.2. Thanks Ralf! As I said I work on SMC. So I have to wait until William updates the cloud. Peter -- You received this message because you are subscribed to the Google Groups "s

[sage-support] Re: Coming SageMathCell upgrade - please test!

2016-06-06 Thread Peter Luschny
--- ImportError Traceback (most recent call last) in () > 1 load('http://') 2 load('http://') 3 /home/sc_serv/sage/src/sage/structure/sage_object.pyx in sage.structure.s

Re: [sage-support] Re: Possible bug in numerical integration

2016-06-03 Thread Peter Luschny
eal_part(v))* e^(imag_part(v)*real_part(t) + imag_part(t)*real_part(v))* tanh(cos(real_part(t))*e^(-imag_part(t)))/(tan(e^(-imag_part(t))* sin(real_part(t)))^2*tanh(cos(real_part(t))*e^(-imag_part(t)))^2 + 1) Cheers, Peter -- You received this message because you are subscribed to the Google Groups

[sage-support] Re: Possible bug in numerical integration

2016-05-31 Thread Peter Luschny
Further investigation shows that things work with the integrand defined as: def f(t): return exp(x*exp(i*t)-v*i*t)*(exp(exp(i*t))/cosh(exp(i*t))-1) So the source of the trouble seems to be related to the identity (exp(exp(I*t))/cosh(exp(I*t))-1) = tanh(exp(I*t)) Peter -- You received

[sage-support] Possible bug in numerical integration

2016-05-31 Thread Peter Luschny
..9); Peter -- 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 to this group, send email to sage-support@goo

[sage-support] Bug in g.character_table()

2016-04-27 Thread &#x27;Peter Mueller' via sage-support
er to Sage cyclotomic integer. -- Peter Mueller -- 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 to this

[sage-support] Display methods of gap object

2016-01-03 Thread Peter Mueller
. In particular, it does not work in 6.9 and 6.10 anymore: sage: 'Factors' in dir(n) False This is particularly annoying when looking up the grouptheoretic methods from Gap for sage groups g converted to gap groups gap(g). -- Peter Mueller -- You received this message becau

[sage-support] Re: text3d and latex

2015-11-25 Thread Peter Mueller
The last activity of this thread is almost 6 years ago. So I'm wondering if in the meantime it is possible to use latex code in text annotations for 3d graphics. I don't care about toys like jmol -- it would be fine to simply produce a png file, say. -- Peter Mueller P.S.: I checke

[sage-support] Showing/saving of graphics objects consisting of many graphics primitives takes forever

2015-11-09 Thread Peter Mueller
es, or are there better ways handling them? -- Peter Mueller -- 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.

[sage-support] Re: Parent of polynomial coefficients

2015-04-24 Thread Peter Mueller
oup elements ... sage: x = SymmetricGroup(5).random_element() sage: 'numerical_approx' in dir(x) True ... and this is not the only method offered for x which doesn't make any sense at all. -- Peter Mueller -- You received this message because you are subscribed to the

[sage-support] Re: Parent of polynomial coefficients

2015-04-24 Thread Peter Mueller
Am Mittwoch, 22. April 2015 20:25:22 UTC+2 schrieb Nils Bruin: > > On Wednesday, April 22, 2015 at 9:06:16 AM UTC-7, Peter Mueller wrote: >> >> While that is what the doc of .coefficient tells, is there any *sane* >> reason why the parent of a coefficient isn&

[sage-support] Parent of polynomial coefficients

2015-04-22 Thread Peter Mueller
erm_order? should point to R.change_ring. -- Peter Mueller P.S.: I'm sad to say that while I'm using Sage quite a bit, the lousy documentation and numerous inconsistencies (like permutation group actions, with left notation for right action!!!) prevents me and many colleagues from usin

[sage-support] I.variety() and polynomial order

2015-04-20 Thread Peter Mueller
d tell so. And if it does not, then using the method should raise an error rather than returning an unreliable answer. Best wishes, Peter Mueller -- You received this message because you are subscribed to the Google Groups "sage-support" group. To unsubscribe from this group and stop

[sage-support] Re: Wrong NumberField.composite_field when embeddings are complex-conjugate roots of the same polynomial

2015-04-17 Thread Peter Bruin
Field in z with defining polynomial x^8 - 3*x^7 + 61/3*x^6 - >> 9*x^5 + 298*x^4 + 458*x^3 + 1875*x^2 + 4293*x + 3099 >> Defn: z |--> z, >> +Infinity)] >> >> I couldn't find a bug on trac for it. I think there should be one filed. > > Indeed, this looks like

[sage-support] Re: Wrong NumberField.composite_field when embeddings are complex-conjugate roots of the same polynomial

2015-04-17 Thread Peter Bruin
gt; +Infinity)] > > I couldn't find a bug on trac for it. I think there should be one filed. Indeed, this looks like a bug. It might be because the polynomials do not have integral coefficients. I will open a ticket. Peter -- You received this message because you are subscribed to the Goog

[sage-support] Re: What is right multiplication of vector spaces by matrices?

2015-01-31 Thread Peter Bruin
Hello, >> The bug is caused by FreeModule_generic._mul_(): > > Cool! You got the bug. Did you opened a ticket? If you do so, please cc'me. This is now http://trac.sagemath.org/ticket/17705 Pete -- You received this message because you are subscribed to the Google Groups "sage-support" group.

[sage-support] Re: What is right multiplication of vector spaces by matrices?

2015-01-30 Thread Peter Bruin
exactly the wrong way around. Peter > Indeed > > sage: V.subspace([x*v]) == V.subspace([v])*x > True > > Sage matrices are allow indifferently on vectors from left to right. > But of course, the action is not the same but there is no row vectors > vs column vectors. > >

[sage-support] What is right multiplication of vector spaces by matrices?

2015-01-30 Thread Peter Mueller
It seems that right multiplication by x actually multiplies by the *transpose* of x? Is there any reason for that? That is even worse than the completely silly and error prone notation for permutation groups, where a *right action* is written from the left, so g(h(x)) isn't (g*h)(x). --

Re: [sage-support] Failed to compute canonical height

2014-11-26 Thread Peter Bruin
digits displayed) gp > ellheight(F, Q) %7 = 242.47010035195076100129810400142304776375572634483556206582073967312482167584 Peter -- 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] Failed to compute canonical height

2014-11-26 Thread Peter Bruin
I reported this bug to the PARI developers. -- 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 to this group, sen

[sage-support] Re: Failed to compute canonical height

2014-11-26 Thread Peter Bruin
Q = ellchangepoint(P, urst); gp > ellheight(F, Q) *** at top-level: ellheight(F,Q) *** ^-- *** at top-level: ellheight(F,Q) *** ^-- *** ellheight: unknown type 64. Strangely, the error is slightly different (unknown type 0 in

[sage-support] Re: simple 'solve' error, possibly related to ecl and maxima installation

2014-11-21 Thread Peter Bruin
Op vrijdag 21 november 2014 04:34:44 UTC+1 schreef Nils Bruin: > > On Thursday, November 20, 2014 7:10:15 PM UTC-8, Bozh wrote: >> >> Are these warnings signs that maxima is still compiling itself every time >> I started? >> > It looks like Peter correctly identif

[sage-support] Re: simple 'solve' error, possibly related to ecl and maxima installation

2014-11-20 Thread Peter Bruin
Op donderdag 20 november 2014 21:07:55 UTC+1 schreef Nils Bruin: > > On Thursday, November 20, 2014 4:36:52 AM UTC-8, Peter Bruin wrote: >> >> It could be caused by the following lines in the Maxima source code (in >> src/commac.lisp): >> >> (defparameter t

[sage-support] Re: simple 'solve' error, possibly related to ecl and maxima installation

2014-11-20 Thread Peter Bruin
g Maxima: ;;; Loading #P"/home/bruinpj/src/sage/local/lib/ecl/cmp.fas" ;;; OPTIMIZE levels: Safety=2, Space=0, Speed=3, Debug=0 ;;; ;;; End of Pass 1. ;;; Internal error: ;;; ** LOAD: Could not load file #P"/tmp/ecl001kpMN0E.fas" (Error: "/tmp/ecl001kpMN0E.fas: failed to map

[sage-support] PDF docs unavailable on Sage site

2014-11-18 Thread Peter Mueller
The pdf files on http://www.sagemath.org/help.html#SageStandardDoc aren't accessible, due to wrong permissions. (Forbidden. You don't have permission to access ...) -- Peter Mueller -- You received this message because you are subscribed to the Google Groups "sage-sup

[sage-support] Re: Bug in symbolic integral

2014-11-14 Thread Peter Bruin
/ticket/17328 for a PARI example showing very different incomplete Gamma function outputs in the two different PARI versions.) Peter Op woensdag 12 november 2014 22:14:29 UTC+1 schreef kcrisman: > > Hmm, I can't reproduce this problem. I am working w/ Maxima 5.34.1. >> >

[sage-support] Re: Memory leaks with LP Solvers are back

2014-11-12 Thread Peter Mueller
Dear Simon, Thanks for looking into this issue. I opened a ticket, it is ticket 17320 <http://trac.sagemath.org/ticket/17320#ticket>. (As a naive end user of Sage, I unfortunately cannot contribute anything to resolve the problem.) Best wishes, Peter Am Mittwoch, 12. November 2014 10

[sage-support] Re: Memory leaks with LP Solvers are back

2014-11-12 Thread Peter Mueller
Dear Simon, Thanks for looking into this issue. I opened a ticket, it is ticket 11917 <http://trac.sagemath.org/ticket/11917>. (As a naive end user of Sage, I unfortunately cannot contribute anything to resolve the problem.) Best wishes, Peter Am Mittwoch, 12. November 2014 10:57:05

[sage-support] Re: Memory leaks with LP Solvers are back

2014-11-11 Thread Peter Mueller
> > You mention Coin twice here. Do you mean to say Gurobi once, and Coin once? > Sorry, yes. The problem arises with gurobi and cbc (=Coin), but not with glpk. -- Peter -- You received this message because you are subscribed to the Google Groups "sage-support" group.

[sage-support] Re: Memory leaks with LP Solvers are back

2014-11-11 Thread Peter Mueller
kage first? Which? > indeed, you have to install cbc-2.8.1.p0 first (if you have sage version 6.3). It takes some time to compile. Best wishes, Peter -- You received this message because you are subscribed to the Google Groups "sage-support" group. To unsubscribe from this group a

[sage-support] Re: Memory leaks with LP Solvers are back

2014-11-11 Thread Peter Mueller
6 GB of memory. Best wishes, Peter Am Dienstag, 11. November 2014 18:27:53 UTC+1 schrieb Simon King: > > Hi Peter, > > On 2014-11-11, Peter Mueller > wrote: > > A tentative solution seems to be to put a `collect()' inside the loop > (and > > a `from gc

[sage-support] Re: Memory leaks with LP Solvers are back

2014-11-11 Thread Peter Mueller
A tentative solution seems to be to put a `collect()' inside the loop (and a `from gc import collect' at the beginning of the program). Still, I believe that this issue deserves attention. -- Peter M. Am Dienstag, 11. November 2014 12:20:30 UTC+1 schrieb Peter Mueller: > > 3 ye

[sage-support] Memory leaks with LP Solvers are back

2014-11-11 Thread Peter Mueller
ound? Doing a `del P' doesn't help. Best wishes, Peter -- 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.c

[sage-support] Re: simplifying an expression involving complex domain

2014-10-03 Thread Peter Bruin
se. See the file COPYING. Dedicated to the memory of William Schelter. The function bug_report() provides bug reporting information. (%i1) display2d: false$ domain: complex$ (%i3) conjugate(x); (%o3) x (%i4) declare(x, complex)$ (%i5) conjugate(x); (%o5) conjugate(x) We should make sure that "de

  1   2   >