On Thursday 29 February 2024 at 11:15:21 UTC-8 Dima Pasechnik wrote:
How about using something like https://github.com/NeilGirdhar/extended_int ?
(Even better, do a PEP to have such a thing in Python proper...)
In old, totally duck-typed, Python this didn't really matter, but nowadays
it does mak
On Thu, Feb 29, 2024 at 4:34 PM Oscar Benjamin
wrote:
> I recently reviewed cases in the sympy polys code that handle the
> degree of a zero polynomial:
> https://github.com/sympy/sympy/pull/25784
>
> My conclusion is that it is sometimes useful that deg(0) < deg(p) for
> p != 0 but otherwise it
There may be case for leaving deg(0) undefined both for polynomials and
Laurent polynomials (and power series and Laurent series): it's at best a
shorthand (pace Nils' comment about dimensions) and needs to be handled
separately in code. So calling deg(0) could raise a ValueError or
ArithmeticErro
-1
For the most part, because this proposed policy cannot be reflected in the
GitHub user interface:
The list of selectable labels in the drop down menu cannot depend on
whether it's an Issue or a PR.
Matthias
On Tuesday, February 27, 2024 at 10:45:03 PM UTC-8 Kwankyu Lee wrote:
> Hi,
>
>
I recently reviewed cases in the sympy polys code that handle the
degree of a zero polynomial:
https://github.com/sympy/sympy/pull/25784
My conclusion is that it is sometimes useful that deg(0) < deg(p) for
p != 0 but otherwise it is not really possible to use the value of
deg(0) for anything mean
Ok, I will do the same.
On Thursday, February 29, 2024 at 12:11:56 AM UTC+5:30 Dima Pasechnik wrote:
> On Wed, Feb 28, 2024 at 5:42 PM 'Animesh Shree' via sage-devel <
> sage-...@googlegroups.com> wrote:
>
>> reason scipy factors only square sparse matrices
>>
>> Problem is basically in _superlu.
On Wednesday, February 28, 2024 at 1:45:03 AM UTC-5 Kwankyu Lee wrote:
Hi,
Here I withdraw the early premature "giving up" on my recent proposal,
since afterwards there were some positive comments. Hence I open a voting
for
Proposal:
1. Do not use "blocker" label for Issues, as "blocker"
There seem to be two things we could do here:
1. Have some form of vote / discussion on whether the degree of the zero
polynomial should *ever* be -1
2. Modify the degree calls for the LaurentSeries and LaurentPolynomialRing
(maybe other Laurent* which I am unfamiliar with) to have the zero
pol