[SciPy-user] Print number of significant digits ?

Stef Mientki S.Mientki@ru...
Fri Jun 15 06:35:50 CDT 2007

> You can use set_printoptions
> set_printoptions(precision=None, threshold=None, edgeitems=None,
> linewidth=None, suppress=None)
thanks Nils,

that's almost Perfect !!
the only thing I have left to do, is grouping individual elements as arrays,
but that's just a small action compared to format strings

so instead of (where A,B are simple floats
        print A, B, m[:5]

I've to write
        print array([A, B]), m[:5]

Stef Mientki

Kamer van Koophandel - handelsregister 41055629  / Netherlands Chamber of Commerce - trade register 41055629

More information about the SciPy-user mailing list