Re: [sage-devel] On changing Bernoulli(1) to +½

2022-09-12 Thread davida...@gmail.com
David A. Le lundi 12 septembre 2022 à 12:41:49 UTC-4, oscar.j@gmail.com a écrit : > On Mon, 12 Sept 2022 at 16:24, davida...@gmail.com > wrote: > > > > > Why don't we create a B+ and a B-? > > > > This was one of the idea of the ticket > https://tr

Re: [sage-devel] On changing Bernoulli(1) to +½

2022-09-11 Thread davida...@gmail.com
When you open a trac ticket, post the link here, we will continue the discussion there. Le dimanche 11 septembre 2022 à 00:58:07 UTC-4, redde...@gmail.com a écrit : > Considering the subsequent replies to my proposal, I'm perfectly happy > with implementing B_1 = +½ in Sage with the 1-year depr

[sage-devel] Re: docstring of _element_constructor_

2022-09-09 Thread davida...@gmail.com
I believe that the functionalities given by the method _element_constructor_ should be at least mentioned in the main docstring of the Parent. For example, when typing: sage: QQ? Then, the ouput explains to the user how to construct a rational number. This is how I always used Sage. T

[sage-devel] Re: vscode pycodestyle linter

2022-08-24 Thread davida...@gmail.com
e section testenv:pycodestyle-minimal). > https://github.com/sagemath/sage/blob/develop/src/tox.ini#L92 > > If you want to work on this, could you open at ticket please? > > On Wednesday, August 24, 2022 at 1:41:40 PM UTC-7 davida...@gmail.com > wrote: > >> Hello everyb

[sage-devel] Re: boolean value of inequality

2022-08-11 Thread davida...@gmail.com
The "==" operator for symbolics creates a new symbolic expression: sage: hr=(x^2+2*x+1) sage: hl=(x+1)^2 sage: E = hr == hl sage: E x^2 + 2*x + 1 == (x + 1)^2 sage: type(E) To check if the two expressions are actually the same, I think you can use the "is" statement: sage: f = x + 1 sage: g =

Re: [sage-devel] Polling for pygments style for our future doc

2022-08-04 Thread davida...@gmail.com
+1 for sphinx Le jeudi 4 août 2022 à 10:14:54 UTC-4, dim...@gmail.com a écrit : > sphinx > > On Thu, 4 Aug 2022, 14:02 Kwankyu Lee, wrote: > >> For your informed decision, visit >> >> (1) tango: >> https://2505ea042169d8a179d4b1f28a0c0baeabdd421a--sagemath-tobias.netlify.app/tutorial/tour_linal

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

Re: [sage-devel] Question about factories, representations and multiple classes

2022-06-07 Thread davida...@gmail.com
Hello Antoine, I'm also relatively new to Sage development, but one thing I can think of is that you could create a constructor module for your implementation of Drinfeld module. In short, the way I see it is that you would have a new module named "constructor" with a class "constructor.FiniteD

[sage-devel] Re: Virtual SageDays June 1–3: Call for contributed presentations and activities

2022-05-21 Thread davida...@gmail.com
I investigated on the rational number 112.358 = 56179/500, and it turns out that the numerator 56179 is a prime number and a happy number . So we could say that this will be a *happy* virtual sage days... *okay I'm out* Le samedi 21 mai 2022 à 0

[sage-devel] Re: Finite dimensional algebra generated by matrices

2022-05-12 Thread davida...@gmail.com
Hello, Most of the SageMath developpment is explained in this guide: https://doc.sagemath.org/html/en/developer/index.html Also, I don't know exactly what is the scale of your code, but I would advise you to first upload your code to Github (if it isn't already done) as an external packa

[sage-devel] Re: difference between PermutationGroup.has_element and PermutationGroup.__contains__

2022-05-09 Thread davida...@gmail.com
As you noticed, the difference between these two methods is very thin. The special method "__contains__" is necessary because it is called whenever the keyword "in" is used. I think that the code could have been simplified to: {{{ def __contains__(self, item): """ Return whe

[sage-devel] Re: We need 1237 more functions to get to 99% coverage.

2022-04-27 Thread davida...@gmail.com
If you have a question you should ask it, because I don't think that simply posting the output of a command is useful here. Le mardi 26 avril 2022 à 22:02:42 UTC-4, hohoa...@gmail.com a écrit : > ~/sage-9.6/git/rc2$ sage.mod/sage --coverageall > __init__.py: 100.0% (1 of 1) > algebras/affine_nil

[sage-devel] Re: Kruskal's Algorithm using Priority Queues

2022-04-13 Thread davida...@gmail.com
Yes, you just need to change it back to "need review" so that it can be reviewed. Le mercredi 13 avril 2022 à 03:54:33 UTC-4, adarsh.k...@gmail.com a écrit : > Can I make these changes in https://trac.sagemath.org/ticket/33688 as > discussed? The ticket has not been closed yet > > On Wednesday,

[sage-devel] Re: PowerSeries element class appears in the TAB completion

2022-03-30 Thread davida...@gmail.com
uot; in >> the cc field). If you can also push a fix (the top-level imports will also >> need to be deprecated), that would be appreciated too. >> >> Best, >> Travis >> >> >> On Tuesday, March 29, 2022 at 10:12:57 PM UTC+9 davida...@gmail.com >&

[sage-devel] PowerSeries element class appears in the TAB completion

2022-03-29 Thread davida...@gmail.com
Hello everybody, During my normal uses of SageMath, I observed that the class "PowerSeries" appears in the TAB completion: sage: PowerSeries[TAB] PowerSeries PowerSeriesRing However this is the base class for the elem

[sage-devel] Re: https://wiki.sagemath.org/ReleaseTours/sage-9.5

2021-11-05 Thread davida...@gmail.com
Hello Matthias, As part of my GSoC 2021 project (#31560 ), there was some significant changes made to the ring of modular forms that are going to be part of Sage 9.5: - sage/modular/modform/find_generators.py was renamed into sage/modular/modform/

Re: [sage-devel] Small question: title capitalization

2021-09-03 Thread davida...@gmail.com
Thank you very much. It indeed makes a lot of sense to adopt Python's guidelines. I will open a ticket concerning the inconsistencies. Le vendredi 3 septembre 2021 à 14:46:01 UTC-4, wst...@gmail.com a écrit : > On Fri, Sep 3, 2021 at 10:05 AM davida...@gmail.com > wrote: &g

[sage-devel] Small question: title capitalization

2021-09-03 Thread davida...@gmail.com
Hello, I have a small question: What is the SageMath convention regarding title capitalization? It seems that there are some inconsistencies about title capitalization in the documentation: some titles are capitalized, and some are not (see for example: doc.sagemath.org/html/en/reference/numbe

[sage-devel] Re: GSoC 2021 - Introduction - BTerms project

2021-06-08 Thread davida...@gmail.com
Hello Thomas! I'm also participating in GSoC this summer. If you need help with any mathematical stuff you can ask me, I'll be glad to help you. I'm looking forward to learn more about your project. Best, David A. Le lundi 7 juin 2021 à 09:11:28 UTC-4, Thomas Hagelmayer a écrit : > Hello ev

[sage-devel] GSoC 2021 - Presentation - Quasimodular forms project

2021-05-27 Thread davida...@gmail.com
Hello everybody, My name is David Ayotte and I'm a PhD student in mathematics at Concordia University. I'm currently participating in the program Google Summer of Code 2021 for SageMath where I will be implementing the graded ring of quasimodular forms for the full modular group (mentored by Vi