module numpy.format
¶
Source: stdlib/numpy/format.codon
numpy.format
¶Source: stdlib/numpy/format.codon
MAX_FLOAT_PREC
= 4
¶DefaultFormat
¶__call__(self, x)
¶TimeDeltaFormat
¶__call__(self, x)
¶FloatingFormat
¶scientific
@property Method is a class property ¶sign
@property Method is a class property ¶unique
@property Method is a class property ¶trim
@property Method is a class property ¶precision
@property Method is a class property ¶min_digits
@property Method is a class property ¶pad_left
@property Method is a class property ¶pad_right
@property Method is a class property ¶exp_size
@property Method is a class property ¶__init__(self, scientific: bool = False, sign: bool = False, unique: bool = True, trim: str = ".", precision: int = -1, min_digits: int = -1, pad_left: int = -1, pad_right: int = -1, exp_size: int = -1)
¶__init__(self, a: ndarray, sign: bool = False)
¶__call__(self, x)
¶ComplexFormat
¶__init__(self, a: ndarray)
¶__call__(self, x)
¶get_formatter(a: ndarray)
¶ndarray[dtype,ndim]
@extend Class is extended to add given methods ¶__repr__(self)
¶__str__(self)
¶