modinv(x, N)

Computes multiplicative inverse of x modulo N

Vous suivez désormais cette soumission

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

Citation pour cette source

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

Remerciements

Inspiré par : nextperm, logmod

A inspiré : logmod, nextperm, egcd.m

Informations générales

Compatibilité avec les versions de MATLAB

  • Compatible avec toutes les versions

Plateformes compatibles

  • Windows
  • macOS
  • Linux
Version Publié le Notes de version Action
1.1.0.0

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

1.0.0.0