Skip to content
This repository has been archived by the owner on Jan 30, 2023. It is now read-only.

Commit

Permalink
trac #15795 redone with ( ::)
Browse files Browse the repository at this point in the history
  • Loading branch information
Frédéric Chapoton committed Mar 5, 2014
1 parent ccab985 commit fad4e8d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/sage/modules/free_module.py
Original file line number Diff line number Diff line change
Expand Up @@ -2661,7 +2661,7 @@ def span(self, gens, base_ring=None, check=True, already_echelonized=False):
[x/(x^3 - 6*x^2 + 11*x - 6) 2/15*x^2 - 17/75*x - 1/75]
[ 0 x^3 - 11/5*x^2 - 3*x + 4/5]
Note that the ``base_ring`` can make a huge difference. We repeat the previous example over the fraction field of R and get a simpler vector space.::
Note that the ``base_ring`` can make a huge difference. We repeat the previous example over the fraction field of R and get a simpler vector space. ::
sage: L2.span([[(x^2+x)/(x^2-3*x+2),1/5],[(x^2+2*x)/(x^2-4*x+3),x]],base_ring=R.fraction_field())
Vector space of degree 2 and dimension 2 over Fraction Field of Univariate Polynomial Ring in x over Rational Field
Expand Down Expand Up @@ -3657,7 +3657,7 @@ def complement(self):
All these complements are only done with respect to the inner
product in the usual basis. Over finite fields, this means
we can get complements which are only isomorphic to a vector
space decomposition complement.
space decomposition complement. ::
sage: F2 = GF(2,x)
sage: V = F2^6
Expand Down

0 comments on commit fad4e8d

Please sign in to comment.