numpy.core.arrayprint
index
/usr/lib/python2.6/dist-packages/numpy/core/arrayprint.py

Array printing function
 
$Id: arrayprint.py,v 1.9 2005/09/13 13:58:44 teoliphant Exp $

 
Modules
       
numpy.core.numeric
numpy.core.numerictypes
sys

 
Classes
       
object
ComplexFormat
FloatFormat

 
class ComplexFormat(object)
     Methods defined here:
__call__(self, x)
__init__(self, x, precision, suppress_small)

Data descriptors defined here:
__dict__
dictionary for instance variables (if defined)
__weakref__
list of weak references to the object (if defined)

 
class FloatFormat(object)
     Methods defined here:
__call__(self, x, strip_zeros=True)
__init__(self, data, precision, suppress_small, sign=False)
fillFormat(self, data)

Data descriptors defined here:
__dict__
dictionary for instance variables (if defined)
__weakref__
list of weak references to the object (if defined)

 
Functions
       
_array2string(a, max_line_width, precision, suppress_small, separator=' ', prefix='')
_boolFormatter(x)
_clongfloatFormatter(precision)
_convert_arrays(obj)
_digits(x, precision, format)
_extendLine(s, line, word, max_line_len, next_line_prefix)
_formatArray(a, format_function, rank, max_line_len, next_line_prefix, separator, edge_items, summary_insert)
formatArray is designed for two modes of operation:
 
1. Full output
 
2. Summarized output
_formatInteger(x, format)
_leading_trailing(a)
_longfloatFormatter(precision)
format_longfloat(...)
product(x, y)

 
Data
        _MAXINT = 9223372036854775807
_MININT = -9223372036854775808
__all__ = ['array2string', 'set_printoptions', 'get_printoptions']
__docformat__ = 'restructuredtext'
__file__ = '/usr/lib/python2.6/dist-packages/numpy/core/arrayprint.pyc'
__name__ = 'numpy.core.arrayprint'
__package__ = 'numpy.core'
_float_output_precision = 8
_float_output_suppress_small = False
_inf_str = 'Inf'
_line_width = 75
_nan_str = 'NaN'
_summaryEdgeItems = 3
_summaryThreshold = 1000