numpy.polynomial.laguerre.lagadd()

numpy.polynomial.laguerre.lagadd(c1, c2) [source] Add one Laguerre series to another. Returns the sum of two Laguerre series c1 + c2. The arguments are sequences of coefficients ordered from lowest order term to highest, i.e., [1,2,3] represents the series P_0 + 2*P_1 + 3*P_2. Parameters: c1, c2 : array_like 1-D arrays of Laguerre series coefficients ordered from low to high. Returns: out : ndarray Array representing the Laguerre series of their sum. See also lagsub, lagmul, lagdiv

Legendre.has_samedomain()

Legendre.has_samedomain(other) [source] Check if domains match. New in version 1.6.0. Parameters: other : class instance The other class must have the domain attribute. Returns: bool : boolean True if the domains are the same, False otherwise.

numpy.ma.atleast_1d()

numpy.ma.atleast_1d(*arys) = Convert inputs to arrays with at least one dimension. Scalar inputs are converted to 1-dimensional arrays, whilst higher-dimensional inputs are preserved. Parameters: arys1, arys2, ... : array_like One or more input arrays. Returns: ret : ndarray An array, or sequence of arrays, each with a.ndim >= 1. Copies are made only if necessary. Notes The function is applied to both the _data and the _mask, if any. Examples >>> np.atleast_1d(1.0) arr

numpy.ones_like()

numpy.ones_like(a, dtype=None, order='K', subok=True) [source] Return an array of ones with the same shape and type as a given array. Parameters: a : array_like The shape and data-type of a define these same attributes of the returned array. dtype : data-type, optional Overrides the data type of the result. New in version 1.6.0. order : {?C?, ?F?, ?A?, or ?K?}, optional Overrides the memory layout of the result. ?C? means C-order, ?F? means F-order, ?A? means ?F? if a is Fortran con

numpy.core.defchararray.find()

numpy.core.defchararray.find(a, sub, start=0, end=None) [source] For each element, return the lowest index in the string where substring sub is found. Calls str.find element-wise. For each element, return the lowest index in the string where substring sub is found, such that sub is contained in the range [start, end]. Parameters: a : array_like of str or unicode sub : str or unicode start, end : int, optional Optional arguments start and end are interpreted as in slice notation. Returns

numpy.core.defchararray.less_equal()

numpy.core.defchararray.less_equal(x1, x2) [source] Return (x1 <= x2) element-wise. Unlike numpy.less_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, not_equal, gr

HermiteE.has_sametype()

HermiteE.has_sametype(other) [source] Check if types match. New in version 1.7.0. Parameters: other : object Class instance. Returns: bool : boolean True if other is same class as self

Chebyshev.fromroots()

classmethod Chebyshev.fromroots(roots, domain=[], window=None) [source] Return series instance that has the specified roots. Returns a series representing the product (x - r[0])*(x - r[1])*...*(x - r[n-1]), where r is a list of roots. Parameters: roots : array_like List of roots. domain : {[], None, array_like}, optional Domain for the resulting series. If None the domain is the interval from the smallest root to the largest. If [] the domain is the class domain. The default is []. win

numpy.rint()

numpy.rint(x[, out]) = Round elements of the array to the nearest integer. Parameters: x : array_like Input array. Returns: out : ndarray or scalar Output array is same shape and type as x. See also ceil, floor, trunc Examples >>> a = np.array([-1.7, -1.5, -0.2, 0.2, 1.5, 1.7, 2.0]) >>> np.rint(a) array([-2., -2., -0., 0., 2., 2., 2.])

dtype.subdtype

dtype.subdtype Tuple (item_dtype, shape) if this dtype describes a sub-array, and None otherwise. The shape is the fixed shape of the sub-array described by this data type, and item_dtype the data type of the array. If a field whose dtype object has this attribute is retrieved, then the extra dimensions implied by shape are tacked on to the end of the retrieved array.