Hi,

let me dive straight into my problem wit a simple example:

>> a = identity_matrix(ZZ,2,2)
>> a[0,0]
1

vs.

>> a[:,0]
[1]
[0]
>> a[:,0][0]
(1)

So when selecting an element from a matrix by first selecting a row
and selecting the wanted element in that new 'row object', I don't get
an element from ZZ but a FreeModuleElement.
Why is this happening? Is there a way to make my two actions behave
like selecting an element from the original matrix?

Thanks,

Christophe
--~--~---------~--~----~------------~-------~--~----~
To post to this group, send email to sage-support@googlegroups.com
To unsubscribe from this group, send email to 
sage-support-unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/sage-support
URLs: http://www.sagemath.org
-~----------~----~----~----~------~----~------~--~---

Reply via email to