[sage-devel] Re: SageMath 9.7.beta3: hecke_series takes forever

2022-06-19 Thread davida...@gmail.com
This is now #34025 . David A. Le dimanche 19 juin 2022 à 17:38:55 UTC-4, GMS a écrit : > > As suggested by Vincent Delecrois, this is due to #33876. David Ayotte is > taking care of it. > > Guillermo > > On Sun, 19 Jun 2022 at 22:46, G. M.-S. wrote: >

[sage-devel] Working directory of github actions in Build & Test badge

2022-06-19 Thread Kwankyu Lee
Hi, If you look at the report of doctest failures there, you see for instance sage -t --warn-long 68.6 --random-seed=... sage/structure/dynamic_class.py Then if you copy this into your sage root directory, it doesn't work since "src/" prefix is missing in the path of the source file. It

[sage-devel] Re: SageMath 9.7.beta3: hecke_series takes forever

2022-06-19 Thread G. M.-S.
As suggested by Vincent Delecrois, this is due to #33876. David Ayotte is taking care of it. Guillermo On Sun, 19 Jun 2022 at 22:46, G. M.-S. wrote: > > After waiting for more than an hour of CPU time (1 core at 100%), here are > the results of interrupting. > > *macOS 11.6.7* (Big Sur) with

[sage-devel] Re: SageMath 9.7.beta3: hecke_series takes forever

2022-06-19 Thread G. M.-S.
After waiting for more than an hour of CPU time (1 core at 100%), here are the results of interrupting. *macOS 11.6.7* (Big Sur) with Xcode 13.2.1: $ ./sage ┌┐ │ SageMath version 9.7.beta3, Release Date: 2022-06-19

Re: [sage-devel] Developing in Sage for high school math education

2022-06-19 Thread Furkan Semih Dündar
I may be late to the discussion but as regards the Venn Diagrams there is an early stage software you might find useful: https://penrose.cs.cmu.edu/ https://github.com/penrose It might be incorporated in to Sage (maybe?). Just wanted to add a quick note. Best regards, Furkan Semih. On Sat, Jun

[sage-devel] Re: Length of vectors in `plot_vector_field3d()`

2022-06-19 Thread Eric Gourgoulhon
Le dimanche 19 juin 2022 à 19:11:24 UTC+2, niran...@gmail.com a écrit : > > For plot() in sage manifold Reference says: > **extra_options – extra options for the arrow plot, like linestyle, width > or arrowsize (see arrow2d() >

[sage-devel] SageMath 9.7.beta3: hecke_series takes forever

2022-06-19 Thread G. M.-S.
I am not sure if I should open a ticket or add to a ticket. This is on SageMath 9.7.beta3 built from source on Apple Silicon (both macOS 11.6.7 and macOS 12.4). This test, taken from src/sage/modular/overconvergent/hecke_series.py takes forever: sage: hecke_series(*5*, *7*, *1*, *5*,

Re: [sage-devel] Developing in Sage for high school math education

2022-06-19 Thread Tanmay Kulkarni
Hello TB, Thank you so much for the quick reply! - I will definitely look through the Developer's Guide and find small bugs I can work on. - I think I will attempt to write some tutorials on my own website and embed SageMathCell cells into it - for formatting, I will look into

[sage-devel] Re: Length of vectors in `plot_vector_field3d()`

2022-06-19 Thread Niranjana K M
@Eric That's very nice. Thanks for pointing towards sage manifold. I am also on 9.6. It seems E.vector_field().plot() method is much slower than plot_vector_field3d(). Check once with time(). Internally plot_vector_field3d() uses a plot() function, may be different from this from sage

Re: [sage-devel] Re: Length of vectors in `plot_vector_field3d()`

2022-06-19 Thread Niranjana K M
@Vincent On Sunday, June 19, 2022 at 5:52:28 PM UTC+5:30 vdelecroix wrote: > Nice catch indeed. I am not sure that "scaled=True/False" is the most > flexible design. You might just want to apply *some* scale, not > necessarily the one making the max length being one. I imagine that it >

[sage-devel] Re: Length of vectors in `plot_vector_field3d()`

2022-06-19 Thread Eric Gourgoulhon
Hi, There is no such length issue if you use vector fields on the Euclidean 3-space, instead of plot_vector_field3d with a tuple of components. For instance: sage: E. = EuclideanSpace() sage: v1 = E.vector_field(1, 0, 0) sage: v2 = E.vector_field(2, 0, 0) sage: v1.plot() sage: v2.plot()

Re: [sage-devel] Re: Length of vectors in `plot_vector_field3d()`

2022-06-19 Thread Vincent Delecroix
Nice catch indeed. I am not sure that "scaled=True/False" is the most flexible design. You might just want to apply *some* scale, not necessarily the one making the max length being one. I imagine that it would be nice to allow "scaled" to be a positive floating point number. In other words if

[sage-devel] Re: Length of vectors in `plot_vector_field3d()`

2022-06-19 Thread Niranjana K M
Dear all, I figured it out. It has to do with scaled_vectors = [v/max_len for v in vectors] line 141 of $SAGE_ROOT/local/var/lib/sage/venv-python3.9/lib/python3.9/site-packages/sage/plot/plot3d/plot_field3d.py Can we have scaling optional in sage? I just propose it, with a new keyword

[sage-devel] Length of vectors in `plot_vector_field3d()`

2022-06-19 Thread Niranjana K M
Dear all, I tried to plot constant vector fields. plot_vector_field3d((1,0,0), (x,-2,2), (y,-2,2), (z,-2,2)) and plot_vector_field3d((2,0,0), (x,-2,2), (y,-2,2), (z,-2,2)) Length of the arrows of first one are equal to the second one. I expect that the length of arrows in second to be