On 1/26/12 1:57 PM, Tom Boothby wrote:

It would be nice to be able to specify a type.  Perhaps

R.[1,2,3;2,3,4] ->  Matrix(R,[[1,2,3],[2,3,4]])

or perhaps even

R[1,2,3;2,3,4]

Another option would be:

[QQ: 1,2,3; 4,5,6]

or, as Robert suggests:

[1,2,3; 4,5,6, base_ring=QQ] -- but then it looks like base_ring=QQ is another element.

As a side note, I guess if QQ^2 gives the vector space over QQ, then QQ^(2,3) should give the matrix space over QQ of 2x3 matrices (I don't think it does now, but that would be nice if it did).


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

Reply via email to