numpy.polynomial.chebyshev.chebdomain

numpy.polynomial.chebyshev.chebdomain = array([-1, 1])

numpy.getbufsize()

numpy.getbufsize() [source] Return the size of the buffer used in ufuncs. Returns: getbufsize : int Size of ufunc buffer in bytes.

numpy.polynomial.polynomial.polyadd()

numpy.polynomial.polynomial.polyadd(c1, c2) [source] Add one polynomial to another. Returns the sum of two polynomials c1 + c2. The arguments are sequences of coefficients from lowest order term to highest, i.e., [1,2,3] represents the polynomial 1 + 2*x + 3*x**2. Parameters: c1, c2 : array_like 1-D arrays of polynomial coefficients ordered from low to high. Returns: out : ndarray The coefficient array representing their sum. See also polysub, polymul, polydiv, polypow Examples &g

matrix.min()

matrix.min(axis=None, out=None) [source] Return the minimum value along an axis. Parameters: See `amin` for complete descriptions. See also amin, ndarray.min Notes This is the same as ndarray.min, but returns a matrix object where ndarray.min would return an ndarray. Examples >>> x = -np.matrix(np.arange(12).reshape((3,4))); x matrix([[ 0, -1, -2, -3], [ -4, -5, -6, -7], [ -8, -9, -10, -11]]) >>> x.min() -11 >>> x.min(0) matrix([[ -8, -9

numpy.core.defchararray.not_equal()

numpy.core.defchararray.not_equal(x1, x2) [source] Return (x1 != x2) element-wise. Unlike numpy.not_equal, this comparison is performed by first stripping whitespace characters from the end of the string. This behavior is provided for backward-compatibility with numarray. Parameters: x1, x2 : array_like of str or unicode Input arrays of the same shape. Returns: out : ndarray or bool Output array of bools, or a single bool if x1 and x2 are scalars. See also equal, greater_equal, les

Hermite.__call__()

Hermite.__call__(arg) [source]

Datetime Support Functions

Business Day Functions busdaycalendar A business day calendar object that efficiently stores information defining valid days for the busday family of functions. is_busday(dates[, weekmask, holidays, ...]) Calculates which of the given dates are valid days, and which are not. busday_offset(dates, offsets[, roll, ...]) First adjusts the date to fall on a valid day according to the roll rule, then applies offsets to the given dates counted in valid days. busday_count(begindates, enddates[, ..

Arrayterator.flat

Arrayterator.flat A 1-D flat iterator for Arrayterator objects. This iterator returns elements of the array to be iterated over in Arrayterator one by one. It is similar to flatiter. See also Arrayterator, flatiter Examples >>> a = np.arange(3 * 4 * 5 * 6).reshape(3, 4, 5, 6) >>> a_itor = np.lib.Arrayterator(a, 2) >>> for subarr in a_itor.flat: ... if not subarr: ... print(subarr, type(subarr)) ... 0 <type 'numpy.int32'>

RandomState.rand()

RandomState.rand(d0, d1, ..., dn) Random values in a given shape. Create an array of the given shape and populate it with random samples from a uniform distribution over [0, 1). Parameters: d0, d1, ..., dn : int, optional The dimensions of the returned array, should all be positive. If no argument is given a single Python float is returned. Returns: out : ndarray, shape (d0, d1, ..., dn) Random values. See also random Notes This is a convenience function. If you want an interface

numpy.rot90()

numpy.rot90(m, k=1) [source] Rotate an array by 90 degrees in the counter-clockwise direction. The first two dimensions are rotated; therefore, the array must be at least 2-D. Parameters: m : array_like Array of two or more dimensions. k : integer Number of times the array is rotated by 90 degrees. Returns: y : ndarray Rotated array. See also fliplr Flip an array horizontally. flipud Flip an array vertically. Examples >>> m = np.array([[1,2],[3,4]], int) >>&