linbox icon indicating copy to clipboard operation
linbox copied to clipboard

Discard rank deficient systems in Chinese remaindering

Open ClementPernet opened this issue 6 years ago • 1 comments

As a follow up on #148: in the setting of a CRT solve, if the matrix mod p is not full rank, the system can be either

  • inconsistent: then an exception will be raised and the CRT progress method should catch it and discard the current prime
  • consistent: the CRT should also discard this prime as the solution is not unique and will likely cause the CRT to fail. This means the CRT should know about the consistency of the mod p system, which is not currently accessible.

ClementPernet avatar Nov 30 '18 16:11 ClementPernet

Nicely put. One way to communicate this is for solve() to put in the method object whether it found the matrix to be nonsingular or singular. The caller can check this side return info or not according to it's needs.

On Fri, Nov 30, 2018 at 11:46 AM Clément Pernet [email protected] wrote:

As a follow up on #148 https://github.com/linbox-team/linbox/issues/148: in the setting of a CRT solve, if the matrix mod p is not full rank, the system can be either

  • inconsistent: then an exception will be raised and the CRT progress method should catch it and discard the current prime
  • consistent: the CRT should also discard this prime as the solution is not unique and will likely cause the CRT to fail. This means the CRT should know about the consistency of the mod p system, which is not currently accessible.

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/linbox-team/linbox/issues/149, or mute the thread https://github.com/notifications/unsubscribe-auth/ADk6I8qvs_6jodMYZIojfy-qhIEJp4trks5u0WDZgaJpZM4Y8A_u .

bdsaunders avatar Dec 02 '18 03:12 bdsaunders