Created
June 20, 2016 11:39
-
-
Save isido/2ec0214157c2a9e9b6feaecf8512bd9e to your computer and use it in GitHub Desktop.
Misc. Julia functions
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# e element, m modulus | |
function print_multexp_table(e, m) | |
println("------------"); | |
for i = 0:(m-1) | |
@printf "%d\t%d\n" i ((i * e) % m) | |
end | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment