HermiteE.degree()

HermiteE.degree() [source] The degree of the series. New in version 1.5.0. Returns: degree : int Degree of the series, one less than the number of coefficients.

numpy.isfortran()

numpy.isfortran(a) [source] Returns True if the array is Fortran contiguous but not C contiguous. This function is obsolete and, because of changes due to relaxed stride checking, its return value for the same array may differ for versions of Numpy >= 1.10 and previous versions. If you only want to check if an array is Fortran contiguous use a.flags.f_contiguous instead. Parameters: a : ndarray Input array. Examples np.array allows to specify whether the array is written in C-contigu

numpy.issubdtype()

numpy.issubdtype(arg1, arg2) [source] Returns True if first argument is a typecode lower/equal in type hierarchy. Parameters: arg1, arg2 : dtype_like dtype or string representing a typecode. Returns: out : bool See also issubsctype, issubclass_ numpy.core.numerictypes Overview of numpy type hierarchy. Examples >>> np.issubdtype('S1', str) True >>> np.issubdtype(np.float64, np.float32) False

ndarray.argsort()

ndarray.argsort(axis=-1, kind='quicksort', order=None) Returns the indices that would sort this array. Refer to numpy.argsort for full documentation. See also numpy.argsort equivalent function

numpy.polynomial.legendre.legroots()

numpy.polynomial.legendre.legroots(c) [source] Compute the roots of a Legendre series. Return the roots (a.k.a. ?zeros?) of the polynomial Parameters: c : 1-D array_like 1-D array of coefficients. Returns: out : ndarray Array of the roots of the series. If all the roots are real, then out is also real, otherwise it is complex. See also polyroots, chebroots, lagroots, hermroots, hermeroots Notes The root estimates are obtained as the eigenvalues of the companion matrix, Roots fa

numpy.core.defchararray.zfill()

numpy.core.defchararray.zfill(a, width) [source] Return the numeric string left-filled with zeros Calls str.zfill element-wise. Parameters: a : array_like, {str, unicode} Input array. width : int Width of string to left-fill elements in a. Returns: out : ndarray, {str, unicode} Output array of str or unicode, depending on input type See also str.zfill

MaskedArray.repeat()

MaskedArray.repeat(repeats, axis=None) [source] Repeat elements of an array. Refer to numpy.repeat for full documentation. See also numpy.repeat equivalent function

ndarray.tofile()

ndarray.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 strin

numpy.copysign()

numpy.copysign(x1, x2[, out]) = Change the sign of x1 to that of x2, element-wise. If both arguments are arrays or sequences, they have to be of the same length. If x2 is a scalar, its sign will be copied to all elements of x1. Parameters: x1 : array_like Values to change the sign of. x2 : array_like The sign of x2 is copied to x1. out : ndarray, optional Array into which the output is placed. Its type is preserved and it must be of the right shape to hold the output. See doc.ufuncs.

MaskedArray.copy()

MaskedArray.copy(order='C') [source] Return a copy of the array. Parameters: order : {?C?, ?F?, ?A?, ?K?}, optional Controls the memory layout of the copy. ?C? means C-order, ?F? means F-order, ?A? means ?F? if a is Fortran contiguous, ?C? otherwise. ?K? means match the layout of a as closely as possible. (Note that this function and :func:numpy.copy are very similar, but have different default values for their order= arguments.) See also numpy.copy, numpy.copyto Examples >>>