On Tuesday, May 14, 2013 9:39:22 AM UTC-7, Nils Bruin wrote:

> How about just changing this to "(use str(...) to see all entries)", 
> where we rely on the intelligence of the user to interpret "..." to 
> mean 'whatever access you have to the matrix'. 
>
>
In principle a change like that sounds okay, but:

    sage: M = random_matrix(ZZ, 30, 30)
    sage: M
    30 x 30 dense matrix over Integer Ring (type 'print M.str()' to see all 
of the entries)
    sage: str(M)
    "30 x 30 dense matrix over Integer Ring (type 'print M.str()' to see 
all of the entries)"

So you have to call M.str(), not str(M).

-- 
John
 

-- 
You received this message because you are subscribed to the Google Groups 
"sage-devel" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-devel+unsubscr...@googlegroups.com.
To post to this group, send email to sage-devel@googlegroups.com.
Visit this group at http://groups.google.com/group/sage-devel?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to