And just for fun, a Jupyter notebook version (just curious if this would "just work", and it does):
https://cocalc.com/share/4a5f0542-5873-4eed-a85c-a18c706e8bcd/support/2018-05-02-nemo.ipynb?viewer=share On Wed, May 2, 2018 at 1:21 PM, Samuel Lelievre <samuel.lelie...@gmail.com> wrote: > For comparison, Nemo gives an error. > > $ julia > _ > _ _ _(_)_ | A fresh approach to technical computing > (_) | (_) (_) | Documentation: https://docs.julialang.org > _ _ _| |_ __ _ | Type "?help" for help. > | | | | | | |/ _` | | > | | |_| | | | (_| | | Version 0.6.2 (2017-12-13 18:08 UTC) > _/ |\__'_|_|_|\__'_| | Official http://julialang.org/ release > |__/ | x86_64-pc-linux-gnu > > julia> using Nemo > > Welcome to Nemo version 0.7.3 > > Nemo comes with absolutely no warranty whatsoever > > > julia> R = ResidueRing(ZZ, 6) > Integers modulo 6 > > julia> a = R(5) > 5 > > julia> b = R(4) > 4 > > julia> c = a * b > 2 > > julia> c / a > ERROR: MethodError: no method matching /(::Nemo.nmod, ::Nemo.nmod) > > julia> c / b > ERROR: MethodError: no method matching /(::Nemo.nmod, ::Nemo.nmod) > > julia> > > -- > You received this message because you are subscribed to the Google Groups > "sage-devel" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to sage-devel+unsubscr...@googlegroups.com. > To post to this group, send email to sage-devel@googlegroups.com. > Visit this group at https://groups.google.com/group/sage-devel. > For more options, visit https://groups.google.com/d/optout. -- William (http://wstein.org) -- You received this message because you are subscribed to the Google Groups "sage-devel" group. To unsubscribe from this group and stop receiving emails from it, send an email to sage-devel+unsubscr...@googlegroups.com. To post to this group, send email to sage-devel@googlegroups.com. Visit this group at https://groups.google.com/group/sage-devel. For more options, visit https://groups.google.com/d/optout.