There is abs() function which behaves likes Norm of Mathematica. I think that the function names of sage are more appropriate.
Rishi On Apr 26, 3:26 pm, John Cremona <john.crem...@gmail.com> wrote: > In number theory it is very useful to have this norm-alisation, as > well as the square root one also called abs. It's a special case of > the algebraic concept of norm(a) = product of conjugates of a. > > If this was really a problem to non-number-theorists, we could > possibly live with it (possibly by defining a new function for this). > > Other opinions may differ... > > John > > On 26 April 2010 20:21, Jason Grout <jason-s...@creativetrax.com> wrote: > > > > > > > Why does Sage say the norm of a complex number a+b*I is a^2+b^2? > > > sage: norm(1+2*I) > > 5 > > > In MMA: > > > In[1]:= Norm[1+2*I] > > > Out[1]= Sqrt[5] > > > Wikipedia and mathworld both agree that the norm should be sqrt(5) (i.e., > > the square root of the number times its conjugate). > > > Note that abs() seems right: > > > sage: abs(1+2*I) > > sqrt(5) > > > Thanks, > > > Jason > > > -- > > To post to this group, send an email to sage-devel@googlegroups.com > > To unsubscribe from this group, send an email to > > sage-devel+unsubscr...@googlegroups.com > > For more options, visit this group at > >http://groups.google.com/group/sage-devel > > URL:http://www.sagemath.org > > -- > To post to this group, send an email to sage-devel@googlegroups.com > To unsubscribe from this group, send an email to > sage-devel+unsubscr...@googlegroups.com > For more options, visit this group athttp://groups.google.com/group/sage-devel > URL:http://www.sagemath.org -- To post to this group, send an email to sage-devel@googlegroups.com To unsubscribe from this group, send an email to sage-devel+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/sage-devel URL: http://www.sagemath.org