Opened 15 months ago

Last modified 8 weeks ago

#31657 new enhancement

give example of "bad" solve_mod use

Reported by: kcrisman Owned by:
Priority: trivial Milestone: sage-9.7
Component: documentation Keywords:
Cc: Merged in:
Authors: Reviewers:
Report Upstream: N/A Work issues:
Branch: Commit:
Dependencies: Stopgaps:

Status badges

Description

While solve_mod explicitly states

Each equation must involve only polynomials in 1 or many variables.

it might be helpful to have a test for that particular error with, say, a discrete log thing like solve_mod(5^x==2,23) or the like. People often read the documentation too quickly, but if they then come back and find the error already in the doc, it can be useful, and point them to a better command, such as discrete_log(2,mod(5,23)), in that case, which will also detect when there is not a solution.

Change History (4)

comment:1 Changed 14 months ago by mkoeppe

  • Milestone changed from sage-9.3 to sage-9.4

Moving to 9.4, as 9.3 has been released.

comment:2 Changed 10 months ago by mkoeppe

  • Milestone changed from sage-9.4 to sage-9.5

comment:3 Changed 6 months ago by mkoeppe

  • Milestone changed from sage-9.5 to sage-9.6

comment:4 Changed 8 weeks ago by mkoeppe

  • Milestone changed from sage-9.6 to sage-9.7
Note: See TracTickets for help on using tickets.