mat Pow Mod M
Computes (A raised to c) mod m and puts the result in B. Works even if A = B.
Parameters
A
the matrix to raise to a power
B
the result of the exponentiation
m
the modulus
c
the exponent
Exactly like matPowModM(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 the exponentiation
m
the modulus
c
the exponent
Exactly like matPowModM(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 the exponentiation
m
the modulus
c
the exponent