Changes between Initial Version and Version 1 of Ticket #11751


Ignore:
Timestamp:
09/01/11 02:35:29 (10 years ago)
Author:
mderickx
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #11751 – Description

    initial v1  
     1Before this patch the following code would fail horribly
     2
     3sage: R.<x>=QQ[]
     4sage: L=R^1
     5sage: a=L.span([(1/x,)])
     6sage: a
     7Free module of degree 1 and rank 1 over Univariate Polynomial Ring in x over Rational Field
     8Echelon basis matrix:
     9[1/x]
     10sage: b=L.span([(1/x,)])
     11sage: a(b.gens()[0])
     12(1/x)
     13sage: L2 = R^2
     14sage: L2.span([[(x^2+x)/(x^2-3*x+2),1/5],[(x^2+2*x)/(x^2-4*x+3),x]])
     15Free module of degree 2 and rank 2 over Univariate Polynomial Ring in x over Rational Field
     16Echelon basis matrix:
     17[x/(x^3 - 6*x^2 + 11*x - 6)  2/15*x^2 - 17/75*x - 1/75]
     18[                         0 x^3 - 11/5*x^2 - 3*x + 4/5]