[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

[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 factor

[sage-support] PackageNotFoundError: cblas not found

2019-07-24 Thread John Robson
I'm using Manjaro Linux with packages: openblas-lapack (https://aur.archlinux.org/packages/openblas-lapack/) python-numpy-openblas (https://aur.archlinux.org/packages/python-numpy-openblas/) python-scipy-openblas (https://aur.archlinux.org/packages/python-scipy-openblas/) They work well in ot

[sage-support] Re: PackageNotFoundError: cblas not found

2019-07-24 Thread Antonio Rojas
El miércoles, 24 de julio de 2019, 15:33:02 (UTC+2), John Robson escribió: > > > How can I inform to sage to use the cblas from openblas-lapack? > > You need to provide a cblas.pc file in /usr/lib/pkgconfig/ so that pkgconfig can detect the library. Something like libdir=/usr/lib includedir=/us

[sage-support] compute regulator of quadratic field

2019-07-24 Thread Michael Beeson
SageMath has built-in functions to compute the regulator and the fundamental unit of a quadratic field. The regulator of a quadratic field is the log of the absolute value of the fundamental unit. So, the following code should print out the same number on each line. But, as you can check, it

[sage-support] Solve equation efficiently

2019-07-24 Thread chandra chowdhury
I have matrices B and C of size (m,n) over integer with m>n. I know there is matrix A of size (m,m) such that AB=C. How to find A efficiently in Sage? -- You received this message because you are subscribed to the Google Groups "sage-support" group. To unsubscribe from this group and stop receiv

[sage-support] Re: PackageNotFoundError: cblas not found

2019-07-24 Thread John Robson
WORKED Perfectly. Antonio, Thank You Very Much!!! On Wednesday, July 24, 2019 at 10:20:38 AM UTC-4, Antonio Rojas wrote: > > > > El miércoles, 24 de julio de 2019, 15:33:02 (UTC+2), John Robson escribió: >> >> >> How can I inform to sage to use the cblas from openblas-lapack? >> >> > You need to

[sage-support] use of animated plot on jupyter-sage in a docker installation

2019-07-24 Thread Francesco
I have installed sagemath in a docker container . I have made a simple sagemath code like this: sines = [plot(c*sin(x), (-2*pi,2*pi), color=Color(c,0,0), ymin=-1, ymax=1) for c in sxrange(0,1,.2)] a = animate(sines) a.show() instead of obtaining an animation in the browser ( like a sagemath i

[sage-support] Re: use of animated plot on jupyter-sage in a docker installation

2019-07-24 Thread Francesco
The code is for a jupyter notebook of course. Il giorno mercoledì 24 luglio 2019 18:40:56 UTC+2, Francesco ha scritto: > > I have installed sagemath in a docker container . I have made a simple > sagemath code like this: > sines = [plot(c*sin(x), (-2*pi,2*pi), color=Color(c,0,0), ymin=-1, ymax=1)

[sage-support] Re: compute regulator of quadratic field

2019-07-24 Thread Nils Bruin
On Wednesday, July 24, 2019 at 7:43:10 AM UTC-7, Michael Beeson wrote: > > SageMath has built-in functions to compute the regulator and the > fundamental unit of a quadratic field. The regulator of a quadratic field > is the log of the absolute value of the fundamental unit. > So, the follow