On Feb 23, 11:49 am, William Stein wrote:
> You can remove or include whitespace however you want in doctests.
> This cr=True should not make it any easier or harder.
OK, more precisely.
sage: A = graphs.CompleteGraph(3).am()
sage: A.eigenvectors_right()
[(2, [
(1, 1, 1)
], 1), (-1, [
(1, 0, -1)
On Thu, Feb 23, 2012 at 11:17 AM, Rob Beezer wrote:
> On Feb 22, 10:01 pm, P Purkayastha wrote:
>> Hi,
>> At present the code for printing the eigenvectors of a matrix gives
>> output in different "formats" depending on the field used. For RDF/CDF, the
>> output appears an a single line.
> Yes,
On Feb 22, 10:01 pm, P Purkayastha wrote:
> Hi,
> At present the code for printing the eigenvectors of a matrix gives
> output in different "formats" depending on the field used. For RDF/CDF, the
> output appears an a single line.
Yes, I have always found this formatting quite ugly, mostly becau
P Purkayastha writes:
> I can see why one would want to pass cr=True when one wants to print
> the bases of a free module.
> sage: V = VectorSpace(GF(2), 10)
> sage: V.basis()
> [
> (1, 0, 0, 0, 0, 0, 0, 0, 0, 0),
> (0, 1, 0, 0, 0, 0, 0, 0, 0, 0),
> (0, 0, 1, 0, 0, 0, 0, 0, 0, 0),
> (0, 0, 0, 1, 0
On 02/23/2012 02:48 PM, Keshav Kini wrote:
P Purkayastha writes:
1. [ ] Stop passing the keyword cr=True (i.e. make the other fields output as
in RDF/CDF)
2. [ ] Stop passing the keyword cr=True but only when called from
eigenvectors_right()
3. [ ] Keep the current output format (i.e. don't tou
P Purkayastha writes:
> 1. [ ] Stop passing the keyword cr=True (i.e. make the other fields output as
> in RDF/CDF)
> 2. [ ] Stop passing the keyword cr=True but only when called from
> eigenvectors_right()
> 3. [ ] Keep the current output format (i.e. don't touch any of this code)
> 4. [ ] Keep t