Solves a linear modular equation.
x = number_solvelinmod ( a , b , n )
a 1x1 matrix of floating point integers, must be positive
a 1x1 matrix of floating point integers, must be positive
a 1x1 matrix of floating point integers, must be positive
a 1x1 matrix of floating point integers
Returns the row vector of all x such that
number_solvelinmod ( 14 , 30 , 100 ) // [95 45] number_solvelinmod ( 3 , 4 , 5 ) // 3 number_solvelinmod ( 3 , 5 , 6 ) // [] number_solvelinmod ( 3 , 6 , 9 ) // [2 5 8]
"Introduction to algorithms", Cormen, Leiserson, Rivest, Stein, 2nd edition