[EMAIL PROTECTED] wrote:
> A = Matrix([[0,1],[1,0]])
> canonical_coercion(A,1)
>
>
> >
>
>   

What does this function do? I can't find any documentation for it
or for canonical_base_coercion, though both are listed in the reference
manual
http://sage.math.washington.edu/sage/doc/html/ref/node62.html#l2h-572

----------------------------------------------------------------------
| SAGE Version 2.1.4, Release Date: 2007-02-17                       |
| Type notebook() for the GUI, and license() for information.        |
----------------------------------------------------------------------

sage: A = Matrix([[0,1],[1,0]])
sage: canonical_coercion(A,1)

([0 1]
[1 0], [1 0]
[0 1])
sage: ?canonical_coercion
Type:           builtin_function_or_method
Base Class:     <type 'builtin_function_or_method'>
String Form:    <built-in function canonical_coercion>
Namespace:      Interactive

sage: canonical_base_coercion(A,1)
---------------------------------------------------------------------------
<type 'exceptions.NameError'>             Traceback (most recent call last)

/mnt/hd200/sagefiles/sage-2.1.4/<ipython console> in <module>()

<type 'exceptions.NameError'>: name 'canonical_base_coercion' is not defined
sage: ?canonical_base_coercion
Object `canonical_base_coercion` not found.


--~--~---------~--~----~------------~-------~--~----~
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/sage-support
URLs: http://sage.math.washington.edu/sage/ and http://sage.scipy.org/sage/
-~----------~----~----~----~------~----~------~--~---

Reply via email to