Re: [sage-devel] Introduction to differentiable manifolds in SageMath

2022-06-23 Thread Niranjana K M
Very nice. Good work..

Best regards
Niranjana

On Thu, 23 Jun 2022, 8:08 pm Eric Gourgoulhon, 
wrote:

> Hi,
>
> Andrzej Chrzeszczyk (Jan Kochanowski University of Kielce, Poland) has
> prepared a series of notebooks introducing differentiable manifolds at the
> textbook level with many examples from Sage and nice figures:
> https://sagemanifolds.obspm.fr/intro_to_manifolds.html
>
> Best wishes,
>
> Eric.
>
> --
> You received this message because you are subscribed to the Google Groups
> "sage-devel" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to sage-devel+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/sage-devel/cd97217c-6d59-4f30-ae2e-ace681a46ed5n%40googlegroups.com
> 
> .
>

-- 
You received this message because you are subscribed to the Google Groups 
"sage-devel" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-devel+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/sage-devel/CAMcUJ1uWEWORdJzrBgrFAQofn08iiLh-NbMrqnvw-B9y%3DV-jcw%40mail.gmail.com.


[sage-devel] Introduction to differentiable manifolds in SageMath

2022-06-23 Thread Eric Gourgoulhon
Hi, 

Andrzej Chrzeszczyk (Jan Kochanowski University of Kielce, Poland) has 
prepared a series of notebooks introducing differentiable manifolds at the 
textbook level with many examples from Sage and nice figures: 
https://sagemanifolds.obspm.fr/intro_to_manifolds.html

Best wishes,

Eric. 

-- 
You received this message because you are subscribed to the Google Groups 
"sage-devel" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-devel+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/sage-devel/cd97217c-6d59-4f30-ae2e-ace681a46ed5n%40googlegroups.com.


[sage-devel] puzzling deprecation warning

2022-06-23 Thread John Cremona
Running one of my scripts with 9.6 I notice several warnings like this:

/home/jec/sage/local/var/lib/sage/venv-python3.10.3/lib/python3.10/site-packages/sage/schemes/elliptic_curves/period_lattice.py:238:
DeprecationWarni
ng: non-integer arguments to randrange() have been deprecated since
Python 3.10 and will be removed in a subsequent version
  self._ei = self.f2.roots(AA,multiplicities=False)

where f2 is a univariate polynomial over QQbar.   I am puzzled as to
why python highlights that line -- the is no call to randrange there.
Perhaps somewhere in the root-finding implementation over QQbar there
is such?  Though search_src("randrange") reveal nothing directly to do
with polynomials.

Anyway, this is something which will need to be fixed at some point.

John

-- 
You received this message because you are subscribed to the Google Groups 
"sage-devel" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-devel+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/sage-devel/CAD0p0K7LuLej7SVQShGNA3ujEqge512DiPNc%3Da27vej5Oac7%2Bg%40mail.gmail.com.


Re: [sage-devel] Where to put height function for polynomials

2022-06-23 Thread John Cremona
On Thu, 23 Jun 2022 at 05:24, Jing Guo  wrote:
>
> Hi,
>
> I am contributing to Sage via GSoC this summer. As part of my work, I am 
> implementing the (global) height on polynomials for number fields. After 
> looking into relevant functions, such as degrees and coefficients, my mentors 
> and I think the following three files can be the candidates:
>
> multi_polynomial_element.py
> multi_polynomial_libsingular.pyx
> polynomial_element.pyx
>
> So I was wondering which one of them would be the best place to put (global) 
> height function on polynomials for number fields?
>
> Thank you for your time.
>
> Relevant Trac ticket: https://trac.sagemath.org/ticket/33971

If there was a specific class for polynomials over number fields, it
would go there, but I don't think there is.  I suggest putting the
code into a new file in rings/number_field, but then adding a method
to the relevant polynomial classes which checks that the base ring is
a number field and calls the new function if so, raising an error if
not.

It is probably worth looking at the factor() method in
rings/polynomial/polynomial_element.pyx and reading the comments
there, for a model of a rather bad way to do this.

John

>
> Jing
>
> --
> You received this message because you are subscribed to the Google Groups 
> "sage-devel" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to sage-devel+unsubscr...@googlegroups.com.
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/sage-devel/a37e5961-e3f9-49d5-b251-2e7bd5573cf2n%40googlegroups.com.

-- 
You received this message because you are subscribed to the Google Groups 
"sage-devel" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-devel+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/sage-devel/CAD0p0K7UhVEK_StcrMSTBHj%2BgMsvCENyoEnyNsgdkGkE_-9A8g%40mail.gmail.com.