Re: [sage-devel] Re: Matrix Inverse for Arbitrary Rings

2019-07-13 Thread Vincent Delecroix
https://trac.sagemath.org/ticket/28189 Le 13/07/2019 à 15:51, Michael Jung a écrit : Yes, I see. (And of course I meant "R in Fields()" and "except AttributeError".) Does anybody open a ticket about this issue? I'd like to follow. Off-Topic question: Is Sage capable of checking *whether *a mul

[sage-devel] Re: Matrix Inverse for Arbitrary Rings

2019-07-13 Thread Michael Jung
Yes, I see. (And of course I meant "R in Fields()" and "except AttributeError".) Does anybody open a ticket about this issue? I'd like to follow. Off-Topic question: Is Sage capable of checking *whether *a multivariable (differentiable) function has a zero in a given domain? Best, Michael Am

[sage-devel] Re: Matrix Inverse for Arbitrary Rings

2019-07-13 Thread Simon King
Hi Michael, On 2019-07-13, Michael Jung wrote: > You could try something like > try: > is_field = R.is_field() > except TypeError: > is_field = (R in Rings()) > as a compromise? Would that make the code faster? I think today the preferred way to test if something is a ring or integral do