matMatModM

Computes (A times B) mod m and puts the result in C. Works even if A = C, B = C or A = B = C.

Parameters

A

the first factor of the multiplication

B

the second factor of the multiplication

C

the result of the multiplication

m

the modulus


Exactly like matMatModM(double[][],double[][],double[][],double) using double, but with int instead of double.

Parameters

A

the first factor of the multiplication

B

the second factor of the multiplication

C

the result of the multiplication

m

the modulus


Exactly like matMatModM(double[][],double[][],double[][],double) using double, but with long instead of double.

Parameters

A

the first factor of the multiplication

B

the second factor of the multiplication

C

the result of the multiplication

m

the modulus