modulo calculation: inverse of a number
|
02-11-2016, 05:24 PM
Post: #2
|
|||
|
|||
RE: modulo calculation: inverse of a number
The class of x in Z/nZ is represented by x %% n, you can do arithmetic operations on these objects (including polynomials having them as coefficients).
a:=(3 %% 14)^-1 The class residue is represented with x between -n/2 and n/2. Use %% 0 to extract the integer (for example a %% 0 will return 5 here). |
|||
« Next Oldest | Next Newest »
|
Messages In This Thread |
modulo calculation: inverse of a number - StephanP - 02-11-2016, 12:32 PM
RE: modulo calculation: inverse of a number - parisse - 02-11-2016 05:24 PM
RE: modulo calculation: inverse of a number - Gerald H - 02-11-2016, 06:21 PM
RE: modulo calculation: inverse of a number - StephanP - 02-11-2016, 07:09 PM
RE: modulo calculation: inverse of a number - Gerald H - 02-11-2016, 07:52 PM
RE: modulo calculation: inverse of a number - Tim Wessman - 02-11-2016, 08:09 PM
RE: modulo calculation: inverse of a number - Gerald H - 02-11-2016, 08:26 PM
|
User(s) browsing this thread: 1 Guest(s)