Re: [sage-support] Span of Matrices

2014-04-04 Thread William Stein
On Fri, Apr 4, 2014 at 2:50 PM, pong wrote: > I want to form the span of a finite sequence of matrices (in the matrix > space). > > I tried: > M = MatrixSpace(QQ,4) > span([M(range(16)), M(range(2,18))]) > > But sage returns: > > > TypeError: The base_ring (= [ 2 3 4 5] > [ 6 7 8 9] > [

[sage-support] Span of Matrices

2014-04-04 Thread pong
I want to form the span of a finite sequence of matrices (in the matrix space). I tried: M = MatrixSpace(QQ,4) span([M(range(16)), M(range(2,18))]) But sage returns: TypeError: The base_ring (= [ 2 3 4 5] [ 6 7 8 9] [10 11 12 13] [14 15 16 17]) must be a principal ideal domain. What