RubyGems Navigation menu

modular_inverse 1.0.0

Given two integers ‘a’ and ‘m’, find modular multiplicative inverse of ‘a’ under modulo ‘m’. The modular multiplicative inverse is an integer ‘x’ such that. a x ≡ 1 (mod m) and x belongs to [0,1,2, .. m-1]

Gemfile:
= Copy to clipboard Copied!

install:
=

Versions:

  1. 1.0.0 - December 02, 2016 (9 KB)

Runtime Dependencies (1):

engtagger >= 0

Development Dependencies (3):

bundler ~> 1.13
rake ~> 10.0
rspec ~> 3.0

Owners:

Authors:

  • Utkarsh

SHA 256 checksum:

9ac7fd02153b6b1d380e1f58721b953b10cb13c19fe2cf6fee1bddad1f68a85b

Total downloads 2,457

For this version 2,457

License:

MIT

Required Ruby Version: >= 0

Links: