matVecModM

Computes the result of (A times s) mod m and puts the result in v. Where s and v are both column vectors. This method works even if s = v.

Parameters

A

the multiplication matrix

s

the multiplied vector

v

the result of the multiplication

m

the modulus


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

Parameters

A

the multiplication matrix

s

the multiplied vector

v

the result of the multiplication

m

the modulus


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

Parameters

A

the multiplication matrix

s

the multiplied vector

v

the result of the multiplication

m

the modulus