Description Usage Arguments Value Examples
View source: R/exponentialMod.R
Creates a function that raises a number to a power modulus another number. Is a fix for information loss due to extremely large numbers. It takes the modulus for every multiplication
| 1 | exponentialMod(a,N)
 | 
| a | random number that is used as input to Shor's algorithm | 
| N | Number that Shor's algorithm is to factor | 
A function that takes argument x and returns a^x modulus N
| 1 2 |  exponentialMod(8,21)
 exponentialMod(2,15)
 | 
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.