Share via


BigInteger.ModInverse(BigInteger) Method

Definition

Returns a BigInteger whose value is (this<sup>-1</sup> mod m).

[Android.Runtime.Register("modInverse", "(Ljava/math/BigInteger;)Ljava/math/BigInteger;", "GetModInverse_Ljava_math_BigInteger_Handler")]
public virtual Java.Math.BigInteger ModInverse (Java.Math.BigInteger m);
[<Android.Runtime.Register("modInverse", "(Ljava/math/BigInteger;)Ljava/math/BigInteger;", "GetModInverse_Ljava_math_BigInteger_Handler")>]
abstract member ModInverse : Java.Math.BigInteger -> Java.Math.BigInteger
override this.ModInverse : Java.Math.BigInteger -> Java.Math.BigInteger

Parameters

m
BigInteger

the modulus.

Returns

this<sup>-1</sup> mod m.

Attributes

Exceptions

if m == null

if m if this is not relatively prime to m

Remarks

Java documentation for java.math.BigInteger.modInverse(java.math.BigInteger).

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to