[sage-devel] Re: Example of an UFD in Sage for which is_unit is significantly slower than is_one

2024-12-12 Thread Nils Bruin
On Thursday, 12 December 2024 at 12:39:46 UTC-8 axio...@yahoo.de wrote: Great, thank you! This - almost - provides a performance test: Yes, you would need to convince sage that this is indeed a euclidean ring (I think for this one the usual norm actually is a euclidean norm). I don't think tha

Re: [sage-devel] jmol doesn't start in 10.5

2024-12-12 Thread Richard Quint
That was it. I missed that jmol was optional now. Thanks On Thursday, December 12, 2024 at 12:40:03 PM UTC-8 dim...@gmail.com wrote: > This most probably just means that jmol package is not installed. It's > now optional, you need to explicitly say you want it installed. > The quickest way woul

Re: [sage-devel] jmol doesn't start in 10.5

2024-12-12 Thread Dima Pasechnik
This most probably just means that jmol package is not installed. It's now optional, you need to explicitly say you want it installed. The quickest way would by just make jmol from the directory you built Sage from. Then try running your test again On Thu, Dec 12, 2024 at 12:24 PM Richard Quint

[sage-devel] Re: Example of an UFD in Sage for which is_unit is significantly slower than is_one

2024-12-12 Thread 'Martin R' via sage-devel
Great, thank you! This - almost - provides a performance test: ``` sage: K.=NumberField(x^2-3) sage: O=K.ring_of_integers() sage: b=O(a-2) sage: R. = O[] sage: f = O(2*a + 4)*z^2 sage: f.gcd(f+1) ... NotImplementedError: Maximal Order generated by a in Number Field in a with defining polyno

[sage-devel] jmol doesn't start in 10.5

2024-12-12 Thread Richard Quint
I have built Sage from source (sage-10.4.tar.gz and sage-10.5.tar.gz) on four machines with different architectures and different derivatives of Debian.  On all machines the jmol viewer for 3d plots works under 10.4 but not under 10.5.  The RuntimeError Traceback is identical on all machines. 

[sage-devel] Re: Example of an UFD in Sage for which is_unit is significantly slower than is_one

2024-12-12 Thread Nils Bruin
Quadratic rings perhaps? A fair number of those are UFD: sage: K.=NumberField(x^2-3) sage: O=K.ring_of_integers() sage: b=O(a-2) sage: %timeit b.is_unit() 664 ns ± 4.24 ns per loop (mean ± std. dev. of 7 runs, 1,000,000 loops each) sage: %timeit b.is_one() 55.8 ns ± 0.214 ns per loop (mean ± std.

[sage-devel] Re: Example of an UFD in Sage for which is_unit is significantly slower than is_one

2024-12-12 Thread Marc Mezzarobba
Marc Mezzarobba wrote: >> for testing purposes I am in need of an UFD in Sage for which is_unit >> is significantly slower than is_one. > > Matrices? Woops, I read “a ring” insteand of “an ufd”... -- Marc -- You received this message because you are subscribed to the Google Groups "sage-deve

[sage-devel] Re: Example of an UFD in Sage for which is_unit is significantly slower than is_one

2024-12-12 Thread Marc Mezzarobba
'Martin R' via sage-devel wrote: > for testing purposes I am in need of an UFD in Sage for which is_unit > is significantly slower than is_one. Matrices? -- Marc -- You received this message because you are subscribed to the Google Groups "sage-devel" group. To unsubscribe from this group and

[sage-devel] Example of an UFD in Sage for which is_unit is significantly slower than is_one

2024-12-12 Thread 'Martin R' via sage-devel
Dear all, for testing purposes I am in need of an UFD in Sage for which is_unit is significantly slower than is_one. Note that, unfortunately, quotient rings do not seem supported currently. Background: my pull request https://github.com/sagemath/sage/pull/38924 provides a critical speedup fo

Re: [sage-devel] Installing 32-bit Linux on an old laptop

2024-12-12 Thread John Cremona
Thanks for all the suggestions. I made a boot disk USB for debian and am trying that right now. I will report back. John On Thursday, 12 December 2024 at 08:18:09 UTC Emil Widmann wrote: > MX Linux is pretty solid and debian based > There is a 32 bit build for MX Linux XFCE, > https://mxlinu

Re: [sage-devel] Installing 32-bit Linux on an old laptop

2024-12-12 Thread Emil Widmann
MX Linux is pretty solid and debian based There is a 32 bit build for MX Linux XFCE, https://mxlinux.org/download-links/ https://distrowatch.com/table.php?distribution=MX fluxbox version should be even lighter dim...@gmail.com schrieb am Mittwoch, 11. Dezember 2024 um 18:52:05 UTC+1: > Debian