Problem 46633. Montgomery Reduction Algorithm (REDC)
Given a matrix of input numbers T, R, and N such that gcd(R,N)=1 and 0 <= T < R*N, output the Montgomery reduction of T.
Solution Stats
Problem Comments
Solution Comments
Show commentsProblem Recent Solvers4
Suggested Problems
-
Replace NaNs with the number that appears to its left in the row.
2957 Solvers
-
Back to basics 19 - character types
261 Solvers
-
Return unique values without sorting
905 Solvers
-
119 Solvers
-
What gear ratio does the cyclist need?
111 Solvers
More from this Author55
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!