Hermite.cutdeg()

Hermite.cutdeg(deg) [source] Truncate series to the given degree. Reduce the degree of the series to deg by discarding the high order terms. If deg is greater than the current degree a copy of the current series is returned. This can be useful in least squares where the coefficients of the high degree terms may be very small. New in version 1.5.0. Parameters: deg : non-negative int The series is reduced to degree deg by discarding the high order terms. The value of deg must be a non-neg

numpy.ma.size()

numpy.ma.size(obj, axis=None) [source] Return the number of elements along a given axis. Parameters: a : array_like Input data. axis : int, optional Axis along which the elements are counted. By default, give the total number of elements. Returns: element_count : int Number of elements along the specified axis. See also shape dimensions of array ndarray.shape dimensions of array ndarray.size number of elements in array Examples >>> a = np.array([[1,2,3],[4,5,6]])

generic.imag

generic.imag imaginary part of scalar

numpy.append()

numpy.append(arr, values, axis=None) [source] Append values to the end of an array. Parameters: arr : array_like Values are appended to a copy of this array. values : array_like These values are appended to a copy of arr. It must be of the correct shape (the same shape as arr, excluding axis). If axis is not specified, values can be any shape and will be flattened before use. axis : int, optional The axis along which values are appended. If axis is not given, both arr and values are f

recarray.any()

recarray.any(axis=None, out=None, keepdims=False) Returns True if any of the elements of a evaluate to True. Refer to numpy.any for full documentation. See also numpy.any equivalent function

recarray.partition()

recarray.partition(kth, axis=-1, kind='introselect', order=None) Rearranges the elements in the array in such a way that value of the element in kth position is in the position it would be in a sorted array. All elements smaller than the kth element are moved before this element and all equal or greater are moved behind it. The ordering of the elements in the two partitions is undefined. New in version 1.8.0. Parameters: kth : int or sequence of ints Element index to partition by. The k

recarray.tostring()

recarray.tostring(order='C') Construct Python bytes containing the raw data bytes in the array. Constructs Python bytes showing a copy of the raw contents of data memory. The bytes object can be produced in either ?C? or ?Fortran?, or ?Any? order (the default is ?C?-order). ?Any? order means C-order unless the F_CONTIGUOUS flag in the array is set, in which case it means ?Fortran? order. This function is a compatibility alias for tobytes. Despite its name it returns bytes not strings. Param

numpy.frompyfunc()

numpy.frompyfunc(func, nin, nout) Takes an arbitrary Python function and returns a Numpy ufunc. Can be used, for example, to add broadcasting to a built-in Python function (see Examples section). Parameters: func : Python function object An arbitrary Python function. nin : int The number of input arguments. nout : int The number of objects returned by func. Returns: out : ufunc Returns a Numpy universal function (ufunc) object. Notes The returned ufunc always returns PyObject ar

chararray.isupper()

chararray.isupper() [source] Returns true for each element if all cased characters in the string are uppercase and there is at least one character, false otherwise. See also char.isupper

numpy.polymul()

numpy.polymul(a1, a2) [source] Find the product of two polynomials. Finds the polynomial resulting from the multiplication of the two input polynomials. Each input must be either a poly1d object or a 1D sequence of polynomial coefficients, from highest to lowest degree. Parameters: a1, a2 : array_like or poly1d object Input polynomials. Returns: out : ndarray or poly1d object The polynomial resulting from the multiplication of the inputs. If either inputs is a poly1d object, then the