Added documenntation to the docs folder and edited the mac bash script in response to tests
This commit is contained in:
16
numpy-1.6.2/numpy/oldnumeric/array_printer.py
Normal file
16
numpy-1.6.2/numpy/oldnumeric/array_printer.py
Normal file
@@ -0,0 +1,16 @@
|
||||
|
||||
__all__ = ['array2string']
|
||||
|
||||
from numpy import array2string as _array2string
|
||||
|
||||
def array2string(a, max_line_width=None, precision=None,
|
||||
suppress_small=None, separator=' ',
|
||||
array_output=0):
|
||||
if array_output:
|
||||
prefix="array("
|
||||
style=repr
|
||||
else:
|
||||
prefix = ""
|
||||
style=str
|
||||
return _array2string(a, max_line_width, precision,
|
||||
suppress_small, separator, prefix, style)
|
||||
Reference in New Issue
Block a user