Learn R Programming

gmp (version 0.1)

gmp.inv: Compute inverse of a modulo b.

Description

Compute inverse of a modulo b. If inverse does not exists, return 0.

Usage

gmp.inv(a, b)

Arguments

a
Integer or string from an integer
b
Integer or string from an integer

References

Gnu MP Library see http://swox.com/gmp

Examples

Run this code
gmp.inv(343,464)

Run the code above in your browser using DataLab