sagemath / sage

Main repository of SageMath
https://www.sagemath.org
Other
1.45k stars 480 forks source link

method to compute all quotients #25278

Open videlec opened 6 years ago

videlec commented 6 years ago

In Zmod(6) division is sometimes not well defined. Though, we might still want to compute one quotient or all quotients as

sage: R = Zmod(6)
sage: a = R(4)
sage: b = R(2)
sage: [c for c in R if c*b == a]
[2, 5]

This ticket stands for introducing one or two methods to achieve this computation for Zmod(n) rings.

Component: basic arithmetic

Issue created by migration from https://trac.sagemath.org/ticket/25278

slel commented 6 years ago
comment:1

What is the relation with #25277?

videlec commented 6 years ago
comment:2

Replying to @slel:

What is the relation with #25277?

+1? (or -1 depending how you see things)

videlec commented 6 years ago
comment:3

update milestone 8.3 -> 8.4