Polynomial.trim()

Polynomial.trim(tol=0) [source] Remove trailing coefficients Remove trailing coefficients until a coefficient is reached whose absolute value greater than tol or the beginning of the series is reached. If all the coefficients would be removed the series is set to [0]. A new series instance is returned with the new coefficients. The current instance remains unchanged. Parameters: tol : non-negative number. All trailing coefficients less than tol will be removed. Returns: new_series : se

numpy.ma.ravel()

numpy.ma.ravel(self, order='C') = Returns a 1D version of self, as a view. Parameters: order : {?C?, ?F?, ?A?, ?K?}, optional The elements of a are read using this index order. ?C? means to index the elements in C-like order, with the last axis index changing fastest, back to the first axis index changing slowest. ?F? means to index the elements in Fortran-like index order, with the first index changing fastest, and the last index changing slowest. Note that the ?C? and ?F? options take

matrix.tostring()

matrix.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. Paramet

Chebyshev.truncate()

Chebyshev.truncate(size) [source] Truncate series to length size. Reduce the series to length size by discarding the high degree terms. The value of size must be a positive integer. This can be useful in least squares where the coefficients of the high degree terms may be very small. Parameters: size : positive int The series is reduced to length size by discarding the high degree terms. The value of size must be a positive integer. Returns: new_series : series New instance of series

numpy.fft.irfft2()

numpy.fft.irfft2(a, s=None, axes=(-2, -1), norm=None) [source] Compute the 2-dimensional inverse FFT of a real array. Parameters: a : array_like The input array s : sequence of ints, optional Shape of the inverse FFT. axes : sequence of ints, optional The axes over which to compute the inverse fft. Default is the last two axes. norm : {None, ?ortho?}, optional New in version 1.10.0. Normalization mode (see numpy.fft). Default is None. Returns: out : ndarray The result of the i

Hermite.identity()

classmethod Hermite.identity(domain=None, window=None) [source] Identity function. If p is the returned series, then p(x) == x for all values of x. Parameters: domain : {None, array_like}, optional If given, the array must be of the form [beg, end], where beg and end are the endpoints of the domain. If None is given then the class domain is used. The default is None. window : {None, array_like}, optional If given, the resulting array must be if the form [beg, end], where beg and end are

HermiteE.has_samewindow()

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

numpy.less()

numpy.less(x1, x2[, out]) = Return the truth value of (x1 < x2) element-wise. Parameters: x1, x2 : array_like Input arrays. If x1.shape != x2.shape, they must be broadcastable to a common shape (which may be the shape of one or the other). Returns: out : bool or ndarray of bool Array of bools, or a single bool if x1 and x2 are scalars. See also greater, less_equal, greater_equal, equal, not_equal Examples >>> np.less([1, 2], [2, 2]) array([ True, False], dtype=bool)

Hermite.has_samedomain()

Hermite.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.

matrix.tofile()

matrix.tofile(fid, sep="", format="%s") Write array to a file as text or binary (default). Data is always written in ?C? order, independent of the order of a. The data produced by this method can be recovered using the function fromfile(). Parameters: fid : file or str An open file object, or a string containing a filename. sep : str Separator between array items for text output. If ?? (empty), a binary file is written, equivalent to file.write(a.tobytes()). format : str Format string