mat Two Pow Mod M
Computes (A raised to (2 to e)) mod m and puts the result in B. B = A^{2^e} Works even if A = B.
Parameters
A
the matrix to raise to a power
B
the result of exponentiation
m
the modulus
e
the log_2 of the exponent
Exactly like matTwoPowModM(double[][],double[][],double,int) using double, but with int instead of double.
Parameters
A
the matrix to raise to a power
B
the result of exponentiation
m
the modulus
e
the log_2 of the exponent
Exactly like matTwoPowModM(double[][],double[][],double,int) using double, but with long instead of double.
Parameters
A
the matrix to raise to a power
B
the result of exponentiation
m
the modulus
e
the log_2 of the exponent