2010-04-27 11:37, Minh Nguyen skrev:
Hi Johan,

2010/4/27 Johan Grönqvist<johan.gronqv...@gmail.com>:

The current documentation of norm() on complex numbers can be accessed
from the Sage website [1]. That documentation leaves much to be
desired, even though it makes the distinction between the complex norm
and the absolute value of a complex number.

That documentation is much better than what I looked at. That certainly satisfies my request for documentation.

Would you upload a patch
to the trac server to improve that documentation? If so, please CC me
on the relevant ticket and I'd be more than happy to review your
patch.


I would like to improve the following case.

----------------------
sage: norm?
Type:           function
Base Class:     <type 'function'>
String Form:    <function norm at 0x1787938>
Namespace:      Interactive
File: /home/johan/Debian/sage-4.4.rc0/local/lib/python2.6/site-packages/sage/misc/functional.py
Definition:     norm(x)
Docstring:
       Returns the norm of x.

       EXAMPLES:

          sage: z = 1+2*I
          sage: norm(z)
          5
          sage: norm(CDF(z))
          5.0
          sage: norm(CC(z))
          5.00000000000000
-------------------

In particular I would like it to remark that the norm of the one element vector is not the same as the norm of the element (for a complex number).

I hope to look at it later this week.

Thanks for your reply


Regards

Johan





[1] 
http://www.sagemath.org/doc/reference/sage/rings/complex_number.html#sage.rings.complex_number.ComplexNumber.norm



--
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

Reply via email to