It is just a wrapper function to call
modlin. This function is intended to be used
internally. The MLE (\(a * x = b \ mod \ n\)) does not always have a
solution. If the MLE has no solution the function will return the value
-1. Also, if \(a * x = b \ mod \ n\) has solution x = 0, then function
'modeq' will return -1.
