July 17, 2006
10:50 p.m.
How do you display all of the rows of a matrix?
x = zeros((334,3)) x
matrix([[ 0., 0., 0.], [ 0., 0., 0.], [ 0., 0., 0.], ..., [ 0., 0., 0.], [ 0., 0., 0.], [ 0., 0., 0.]])
11:37 p.m.
On 7/17/06, Travis Oliphant <oliphant.travis@ieee.org> wrote:
Keith Goodman wrote:
How do you display all of the rows of a matrix?
help(numpy.set_prinoptions)
That is great! Now I can change the precision as well. Eight significant figures is too precise for me. Does anyone out there save the print defaults across sessions? How do you do it? Does numpy look for any startup files (~/.numpyrc)?
7092
Age (days ago)
7092
Last active (days ago)
2 comments
2 participants
participants (2)
-
Keith Goodman -
Travis Oliphant