modinv(x, N)

Computes multiplicative inverse of x modulo N

Al momento, stai seguendo questo contributo

Using variable precision integers, computes y such that
mod(x*y, N) == 1 is TRUE.

Cita come

Steven Gregory (2026). modinv(x, N) (https://it.mathworks.com/matlabcentral/fileexchange/23802-modinv-x-n), MATLAB Central File Exchange. Recuperato .

Riconoscimenti

Ispirato da: nextperm, logmod

Ispirato: logmod, nextperm, egcd.m

Informazioni generali

Compatibilità della release di MATLAB

  • Compatibile con qualsiasi release

Compatibilità della piattaforma

  • Windows
  • macOS
  • Linux
Versione Pubblicato Note della release Action
1.1.0.0

Rewrote the code to exploit (the new) VPIs matrix-related functions.

1.0.0.0