Re: [sage-support] smith form may be too slow

2023-12-13 Thread Enrique Artal
(yet?). It would require work to > get a better implementation specific for QQ['t']. This could be worthwhile > to do well. Summer of Code? > > > On Thursday 14 December 2023 at 04:05:47 UTC+13 Enrique Artal wrote: > >> It is over the ring of polynomials in one var

Re: [sage-support] smith form may be too slow

2023-12-13 Thread Enrique Artal
It is over the ring of polynomials in one variable over Q. El miércoles, 13 de diciembre de 2023 a las 15:05:00 UTC+1, Dima Pasechnik escribió: > On Wed, Dec 13, 2023 at 10:55 AM Enrique Artal > wrote: > > > > I have the toy example belowto compare the direct use of smi

[sage-support] smith form may be too slow

2023-12-13 Thread Enrique Artal
I have the toy example belowto compare the direct use of smith_form and the combination of hermite_form and smith_form. Last execution (there are random inputs) gave: CPU times: user 2.22 s, sys: 5.93 ms, total: 2.23 s Wall time: 2.23 s CPU times: user 454 ms, sys: 990 µs, total: 455 ms Wall ti

[sage-support] bug ih hom?

2020-12-22 Thread Enrique Artal
I am running sage in Fedora 33, x86_64 sage 9.3beta4 (though the bug appears also in ubuntu sage 9.1). This is a toy example: K=GF(2) V=K^2 B=V.basis() B1=[vector(K,[i,j]) for i,j in [(1,0),(1,1)]] V1=V.subspace_with_basis(B1) I considere a vector space V of dimension 2 over the field of two el

[sage-support] Re: optional packages and binder

2019-11-01 Thread Enrique Artal
Thanks for the help to Alexander and Vincent. It works now (branch sage); I have no excuses to avoid to add more comments to the notebook. Best, Enrique. El sábado, 2 de noviembre de 2019, 0:53:19 (UTC+1), Enrique Artal escribió: > > Yes: > https://github.com/enr

[sage-support] Re: optional packages and binder

2019-11-01 Thread Enrique Artal
gt; https://github.com/OpenDreamKit/demo-semigroup-representation-theory/blob/master/Dockerfile > > > Hope it may help. Is your setup somewhere on GitHub? > > Best wishes > Alex > > On Tuesday, October 29, 2019 at 12:13:34 PM UTC, Enrique Artal wrote: >> >> I w

Re: [sage-support] optional packages and binder

2019-10-31 Thread Enrique Artal
ub.docker.com/u/sagemath/sagemath > > Vincent > > Le 30/10/2019 à 09:11, Enrique Artal a écrit : > > Cher Vincent, > > > > I hope to add now enough additional info. I am using mybinder.org (I > did > > not find another address); my Dockerfile is adapted fro

Re: [sage-support] optional packages and binder

2019-10-30 Thread Enrique Artal
the failed build. And if you know how to do that, you can open > a trac ticket. > > Also, it would be nice to have docker images for Sage with most (if > not all) optional packages installed. > > Vincent > > Le 29/10/2019 à 05:13, Enrique Artal a écrit : > >

[sage-support] optional packages and binder

2019-10-29 Thread Enrique Artal
I want to make available some of my notebooks in binder. I found very useful sage-binder-env but I ran into problems in a case where I needed an optional package, namely gap_packages. As stated I installed make package using the Dockerfile but the installation stops with an error in make all-to

Re: [sage-support] Problem with factor in SymbolicRing

2019-08-07 Thread Enrique Artal
r^2*x^2*y^2 + r^2*y^4 - 2*r^2*x^2 + x^4 + 2*r^2*y^2 + 2*x^2*y^2 + y^4)^2 > > > Le 24/07/2019 à 13:31, Enrique Artal a écrit : > > I have encountered a problem with factor in SR which can be avoided but > it > > shows a problem. If I run this code: > > > > va

[sage-support] Re: Problem with factor in SymbolicRing

2019-07-24 Thread Enrique Artal
I forgot to add, it worked in 8.1 version and it does not work since 8.4 (at least). Adding the option dontfactor=[some variable not involved in h] it works but much slower. El miércoles, 24 de julio de 2019, 13:31:08 (UTC+2), Enrique Artal escribió: > > I have encountered a problem with

[sage-support] Problem with factor in SymbolicRing

2019-07-24 Thread Enrique Artal
I have encountered a problem with factor in SR which can be avoided but it shows a problem. If I run this code: var('t',domain='complex') var('r,x,y',domain='real') h= r^6+r^4*t^2 + 4*r^4*t*conjugate(t) + r^4*conjugate(t)^2 + r^2*t^2*conjugate(t)^2 - r^2*t^2 - r^2*conjugate(t)^2 + t^2*conjugate

Re: [sage-support] Erase a cell in sagenb

2019-03-29 Thread Enrique Artal
I agree, and I use them for personal use. We are trying to change sagenb to jupyter in our servers for teaching but meanwhile we need sagenb. El viernes, 29 de marzo de 2019, 0:28:47 (UTC+1), Dima Pasechnik escribió: > > On Thu, Mar 28, 2019 at 11:23 PM Enrique Artal > wrote: &g

[sage-support] Erase a cell in sagenb

2019-03-28 Thread Enrique Artal
In chrome one can erase a cell of a sagenb worksheet, making it empty and the backspace. It used to work in firefox but not any more (version 66 in my case, but may be in prior versions also). Is there a simple workaround? Best, Enrique. -- You received this message because you are subscribed

[sage-support] Re: maximal integrals

2019-02-18 Thread Enrique Artal
I'll do it, but anyway it is strange that the wrong result is not reproduce using sage -maxima. El martes, 19 de febrero de 2019, 1:34:21 (UTC+1), slelievre escribió: > > Mon 2019-02-18 18:55:56 UTC+1, Enrique Artal: > > > > The integral of functions like sqrt(a+b*sin(t)

[sage-support] maximal integrals

2019-02-18 Thread Enrique Artal
The integral of functions like sqrt(a+b*sin(t)^2) for most values of a,b produce wrong results in sage, using maxima algorithmI, but it is not the case if one uses maxima interface. Is there a way to try to debug the problem? Best, Enrique -- You received this message because you are subscri

[sage-support] Re: Loading heavy computations

2019-01-23 Thread Enrique Artal
I would be happy to be helpful, at least testing. El martes, 22 de enero de 2019, 20:03:29 (UTC+1), Nils Bruin escribió: > > See: > > https://trac.sagemath.org/ticket/27091 > > Balanced summing (which you are basically doing) already makes a bit of a > difference. If that's indeed the issue then

[sage-support] Re: Loading heavy computations

2019-01-22 Thread Enrique Artal
:09 (UTC+1), Nils Bruin escribió: > > On Thursday, January 17, 2019 at 3:37:36 PM UTC-8, Enrique Artal wrote: >> >> I made some computations, I skip the details for now, but the result was >> a rational function with rational coefficients and 13 indeterminates. The >>

[sage-support] Loading heavy computations

2019-01-17 Thread Enrique Artal
file, but I wonder which is the best strategy to save a heavy result and being able to load it using less time than the actual computation. Ideas would be appreciated. Thanks, Enrique Artal. -- You received this message because you are subscribed to the Google Groups "sage-support"

Re: [sage-support] plot3d doesn't work in jupyterlab / jupyter notebook

2018-11-18 Thread Enrique Artal
If I am not wrong it works from a terminal and also if one uses either sage -m jupyter or sage -n jupyterlab. It is possible to use it directly from jupyter or jupyter lab if the sagemath kernel is availabe to jupyter, e.g. at /usr/local/share/jupyter/kernels or .local/share/jupyter/kernels, an

Re: [sage-support] plot3d doesn't work in jupyterlab / jupyter notebook

2018-11-18 Thread Enrique Artal
If I am not wrong it works from a terminal and also if one uses either sage -m jupyter or sage -n jupyterlab. It is possible to use it directly from jupyter or jupyter lab if the sagemath kernel is availabe to jupyter, e.g. at /usr/local/share/jupyter/kernels or .local/share/jupyter/kernels, an

[sage-support] Possible mistake in ParametrizedSurface3d

2018-03-16 Thread Enrique Artal
2 + 1) + 1)/(u^4 + u^2), (2*u^2 + 1)/(u^2 + 1)^(3/2)), (-(2*u^2 + (2*u^2 + 1)*sqrt(u^2 + 1) + 1)/(u^4 + u^2), (2*u^2 + 1)/(u^2 + 1)^(3/2))] False #Check if they are eigenvalues for the left action [(j*dN-i*j).simplify_full() for i,j in U] Output: [(0, 0), (0, 0)] True Best, Enrique Artal. -

[sage-support] Re: integrals and algorithms

2017-11-13 Thread Enrique Artal
Thanks to you for your work! El lunes, 13 de noviembre de 2017, 15:06:13 (UTC+1), Ralf Stephan escribió: > > On Sunday, November 12, 2017 at 11:30:51 AM UTC+1, Enrique Artal wrote: >> >> It seems that fresnels is defined in sympy but not in sagemath, Is it >> possible

Re: [sage-support] integrals and algorithms

2017-11-12 Thread Enrique Artal
ve the command that leads you to the error. > > Concerning sympy, note that you can use it directly within Sage > > sage: import sympy > sage: x = sympy.Symbol('x') > sage: sympy.integrate(sympy.sin(x^2), x) > 3*sqrt(2)*sqrt(pi)*fresnels(sqrt(2)*x/sqrt(pi))*ga

Re: [sage-support] integrals and algorithms

2017-11-12 Thread Enrique Artal
ve the command that leads you to the error. > > Concerning sympy, note that you can use it directly within Sage > > sage: import sympy > sage: x = sympy.Symbol('x') > sage: sympy.integrate(sympy.sin(x^2), x) > 3*sqrt(2)*sqrt(pi)*fresnels(sqrt(2)*x/sqrt(pi))*ga

[sage-support] integrals and algorithms

2017-11-12 Thread Enrique Artal
I was prepairing some exercises and I got some errors using differente algorithms for integral, using version 8.0. Integrating with mathematica_free, I got this error: Traceback (most recent call last): File "", line 1, in File "_sage_input_4.py", line 10, in exec compile(u'open("___cod

[sage-support] jupyterhub and plot3d

2017-09-13 Thread Enrique Artal
Dear all, plot3d with threejs worked in 7.6 but it does not work in 8.0. Has anyone seen it? Enrique -- 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: Sage crashes on Arch Linux

2017-07-12 Thread Enrique Artal
Similar issue in fedora 26; sage -i -f openblas solved it El martes, 11 de julio de 2017, 14:58:54 (UTC+2), Kathlén Kohn escribió: > > I just installed sagemath 7.6-8 using pacman and it crashes right away. > The crash report is attached. > > It says "libgfortran.so.3: cannot open shared object f

[sage-support] Re: sage and fedora 26

2017-07-12 Thread Enrique Artal
17 at 2:59:39 PM UTC+1, Enrique Artal wrote: >> >> I have just updated my personal computer to fedora 26 and sagemath >> crashed. The problem is that libgfortran.so.3 does not exist any more >> (version 4); finally it worked forcing the reinstallation of openblas (sage &g

[sage-support] sage and fedora 26

2017-07-12 Thread Enrique Artal
I have just updated my personal computer to fedora 26 and sagemath crashed. The problem is that libgfortran.so.3 does not exist any more (version 4); finally it worked forcing the reinstallation of openblas (sage -i -f openblas). I do not know if there is an easiest work to solve the issue. --

[sage-support] Re: new sagenb pre-release, please test

2017-05-11 Thread Enrique Artal
Is there any particular change to test? El miércoles, 10 de mayo de 2017, 16:12:26 (UTC+2), Dima Pasechnik escribió: > > Please test ​https://github.com/sagemath/sagenb/tree/1.0.rc0 (copy of the > current master) before I go ahead with making a new Sage package. It works > for me following the i

[sage-support] Small problem with ParametrizedSurface3D

2017-03-03 Thread Enrique Artal
I have defined a ParametrizedSurface3D , named S. The output of show(S) gives the parametrization of S, while the output of S is: ) failed: TypeError: not all arguments converted during string formatting> The output of print S is: TypeError Traceback (most recent

[sage-support] Re: threejs, fedora and ubuntu

2017-02-14 Thread Enrique Artal
the template will generally require reinstallation, but > this happens to be a simple fix. > > > On Monday, February 13, 2017 at 9:45:50 AM UTC-8, Enrique Artal wrote: >> >> I inspected the page in the browser and it complained about insecure >> script i

[sage-support] Re: threejs, fedora and ubuntu

2017-02-13 Thread Enrique Artal
I inspected the page in the browser and it complained about insecure script in 'http://rawgit.com/mrdoob/three.js/r80/examples/js/controls/OrbitControls.js' not in https El lunes, 13 de febrero de 2017, 18:38:15 (UTC+1), Enrique Artal escribió: > > I have installed sag

[sage-support] threejs, fedora and ubuntu

2017-02-13 Thread Enrique Artal
I have installed sage 7.5 in several machines. When threejs works, it is quite awesome but I found several issues: - It does not work with ubuntu 16.04: no error, but no plot - In fedora 25 it works with both sagenb and jupyter - in fedora 25 it does not work if I use it using a personal

Re: [sage-support] Re: How to limit heavy computations

2017-02-12 Thread Enrique Artal
The final debugging process (IPhyton5.0 seems to be responsible) is described in sage-devel group El sábado, 4 de febrero de 2017, 23:07:43 (UTC+1), Enrique Artal escribió: > > I was wrong, but now I am quite sure that the issue seems to appear in > sage-7.4.beta0. > > El

Re: [sage-support] Re: How to limit heavy computations

2017-02-04 Thread Enrique Artal
I was wrong, but now I am quite sure that the issue seems to appear in sage-7.4.beta0. El miércoles, 1 de febrero de 2017, 23:27:35 (UTC+1), Enrique Artal escribió: > > If I am not wrong the problem is created in sage-7.3.beta3. I can try with > the different patches beta2->beta3

Re: [sage-support] Re: How to limit heavy computations

2017-02-01 Thread Enrique Artal
If I am not wrong the problem is created in sage-7.3.beta3. I can try with the different patches beta2->beta3. Can anyone guess a good order to do that? El sábado, 14 de enero de 2017, 19:18:32 (UTC+1), Enrique Artal escribió: > > I have installed 7.3, 7.4 and 7.5 and we use several

Re: [sage-support] simplifying radicals of trigonometric expressions

2017-01-15 Thread Enrique Artal
escribió: > > On 01/14/2017 03:42 AM, Enrique Artal wrote: > > This is true. The problem is that if not used, simple expressions keep > to > > be too much complicated. Is there any compromise? > > > > There is simplify_full() which should be safe for all

Re: [sage-support] Re: How to limit heavy computations

2017-01-14 Thread Enrique Artal
I have installed 7.3, 7.4 and 7.5 and we use several instances of sagenb (it is for teaching and we use different addresses for different studies). With 7.3, if a user reaches the limit of CPU time, his worksheet stops and all the data in memory is lost, but quitting and opening the worksheet a

Re: [sage-support] simplifying radicals of trigonometric expressions

2017-01-14 Thread Enrique Artal
This is true. The problem is that if not used, simple expressions keep to be too much complicated. Is there any compromise? El viernes, 13 de enero de 2017, 21:08:16 (UTC+1), Michael Orlitzky escribió: > > On 01/13/2017 05:12 AM, Enrique Artal wrote: > > I would like to know how to

Re: [sage-support] Re: How to limit heavy computations

2017-01-14 Thread Enrique Artal
sagenb El viernes, 13 de enero de 2017, 19:34:15 (UTC+1), Dima Pasechnik escribió: > > > > On Friday, January 13, 2017 at 5:30:04 PM UTC, Enrique Artal wrote: >> >> Putting limits in /etc/security/limits.conf (or in files in limits.d) >> works right up to Sage 7.3

Re: [sage-support] Re: How to limit heavy computations

2017-01-13 Thread Enrique Artal
reuse the notebook. With 7.4 and 7.5, when the limit is reached the notebook becomes unusable and the only possibility to work is to kill and restart it. Some change between 7.3 and 7.4 may cause it. El domingo, 27 de noviembre de 2016, 21:55:06 (UTC+1), Enrique Artal escribió: > > It seems t

[sage-support] simplifying radicals of trigonometric expressions

2017-01-13 Thread Enrique Artal
I would like to know how to handle with this issue. Consider a function f=sqrt(cos(x)^3 - 3*cos(x)^2 - cos(x) + 6). It is possible to deal with this function for standard procedures like numerical_integral in (-1,1). If one considers f.canonicalize_radical() it is presented as sqrt(cos(x)^2 - c

[sage-support] Re: Using extra gap packages

2016-12-24 Thread Enrique Artal
Thanks! El domingo, 25 de diciembre de 2016, 0:40:43 (UTC+1), Dima Pasechnik escribió: > > > > On Saturday, December 24, 2016 at 11:20:32 PM UTC, Dima Pasechnik wrote: >> >> >> >> On Saturday, December 24, 2016 at 3:38:43 PM UTC, Enrique Artal wrote: >>

[sage-support] Using extra gap packages

2016-12-24 Thread Enrique Artal
I need to use a gap package which is not installed by sage, namely nq. I have been able to install it using wiki instructions and I can use it in a gap session inside sage: e.g., LowerCentralFactors(FreeGroup(1),1); after the package has been loaded. In a sage session the following code works

Re: [sage-support] Re: How to limit heavy computations

2016-11-27 Thread Enrique Artal
Sunday, November 27, 2016 at 3:04:48 AM UTC-8, Enrique Artal wrote: >> >> Thanks, As you say, it would be better something more direct, but your >> approach is a strong improvement for my needs. >> By the way, I changed in our experimental notebook 7.4 -> 7.3 and t

Re: [sage-support] Re: How to limit heavy computations

2016-11-27 Thread Enrique Artal
de noviembre de 2016, 6:07:05 (UTC+1), jori.ma...@uta.fi escribió: > > On Sat, 26 Nov 2016, Enrique Artal wrote: > > > By the way, using server_pool, is there a way to know which user of the > > notebook is using a user of the server_pool? > > AFAIK not really. I can list f

Re: [sage-support] Re: Bug(?) in the division of polynomials with the TermOrder('neglex')

2016-11-26 Thread Enrique Artal
I think the problem was not in Singular but in the Sage code for division of polynomials. There is a ticket, https://trac.sagemath.org/ticket/17638. I may help but my skills are not enough to solve the problem. El martes, 22 de noviembre de 2016, 19:18:07 (UTC+1), Justin C. Walker escribió: > >

[sage-support] Re: How to limit heavy computations

2016-11-26 Thread Enrique Artal
By the way, using server_pool, is there a way to know which user of the notebook is using a user of the server_pool? El sábado, 26 de noviembre de 2016, 11:50:12 (UTC+1), Enrique Artal escribió: > > I forgot to mention we use server_pool (there is one master-server and the > ssh co

[sage-support] Re: How to limit heavy computations

2016-11-26 Thread Enrique Artal
to the computer and the only option is turn off and on; if we put, we do not loose access, but the notebook is stopped too soon. Enrique. El sábado, 26 de noviembre de 2016, 2:49:09 (UTC+1), Nils Bruin escribió: > > On Friday, November 25, 2016 at 2:24:49 PM UTC-8, Enrique Artal wrote: >&

[sage-support] How to limit heavy computations

2016-11-25 Thread Enrique Artal
gy to avoid this? The systems run Ubuntu 16.04 and Sagemath 7.3 Thanks, Enrique Artal. -- 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] Re: Bug(?) in the division of polynomials with the TermOrder('neglex')

2016-11-22 Thread Enrique Artal
This is an old bug affecting polynomials with local or semilocal orders. The problem is that at some point, the definition of the division by a polynomial checks first if the polynomial is a unit and in that case it identifies it with the constant term. This works for global orderings, but it c

[sage-support] Fraction field with local orderings

2015-01-14 Thread Enrique Artal
Hello, I have encountered a problem if we work with the fraction field of a polynomial ring with a local ordering. The following code is done in 6.4: sage: R2.=PolynomialRing(QQ,order='lex') sage: g=1+x sage: 1/g 1/(x + 1) sage: (1/g).parent() Fraction Field of Multivariate Polynomial Ring in x,

[sage-support] Re: gap packages and sage

2011-06-17 Thread Enrique Artal
King wrote: > Hi Dmitrii and Enrique, > > On 16 Jun., 17:17, Dima Pasechnik wrote: > > > On 16-Jun-2011, at 3:28 PM, Enrique Artal Bartolo wrote: > > > > Dear Dimitri, > > > I am not sure if your are the good correspondant for this mail. I am a > > >