From: Keith G. <kwg...@gm...> - 2006-07-17 22:52:30
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.]])
From: Travis O. <oli...@ie...> - 2006-07-17 23:00:48
Keith Goodman wrote:
> How do you display all of the rows of a matrix?
>
help(numpy.set_prinoptions)
Look at the threshold keyword
numpy.set_printoptions(threshold = 2000)
for your example
-Travis
From: Keith G. <kwg...@gm...> - 2006-07-17 23:37:15
On 7/17/06, Travis Oliphant <oli...@ie...> 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)?