numpy.nanargmax()

numpy.nanargmax(a, axis=None) [source] Return the indices of the maximum values in the specified axis ignoring NaNs. For all-NaN slices ValueError is raised. Warning: the results cannot be trusted if a slice contains only NaNs and -Infs. Parameters: a : array_like Input data. axis : int, optional Axis along which to operate. By default flattened input is used. Returns: index_array : ndarray An array of indices or a single index value. See also argmax, nanargmin Examples >>

generic.imag

generic.imag imaginary part of scalar

MaskedArray.conj()

MaskedArray.conj() Complex-conjugate all elements. Refer to numpy.conjugate for full documentation. See also numpy.conjugate equivalent function

MaskedArray.__rmul__()

MaskedArray.__rmul__(other) [source] Multiply other by self, and return a new masked array.

Legendre.deriv()

Legendre.deriv(m=1) [source] Differentiate. Return a series instance of that is the derivative of the current series. Parameters: m : non-negative int Find the derivative of order m. Returns: new_series : series A new series representing the derivative. The domain is the same as the domain of the differentiated series.

numpy.lexsort()

numpy.lexsort(keys, axis=-1) Perform an indirect sort using a sequence of keys. Given multiple sorting keys, which can be interpreted as columns in a spreadsheet, lexsort returns an array of integer indices that describes the sort order by multiple columns. The last key in the sequence is used for the primary sort order, the second-to-last key for the secondary sort order, and so on. The keys argument must be a sequence of objects that can be converted to arrays of the same shape. If a 2D a

matrix.round()

matrix.round(decimals=0, out=None) Return a with each element rounded to the given number of decimals. Refer to numpy.around for full documentation. See also numpy.around equivalent function

MaskedArray.real

MaskedArray.real Real part

numpy.polynomial.legendre.poly2leg()

numpy.polynomial.legendre.poly2leg(pol) [source] Convert a polynomial to a Legendre series. Convert an array representing the coefficients of a polynomial (relative to the ?standard? basis) ordered from lowest degree to highest, to an array of the coefficients of the equivalent Legendre series, ordered from lowest to highest degree. Parameters: pol : array_like 1-D array containing the polynomial coefficients Returns: c : ndarray 1-D array containing the coefficients of the equivalent

numpy.polynomial.legendre.leg2poly()

numpy.polynomial.legendre.leg2poly(c) [source] Convert a Legendre series to a polynomial. Convert an array representing the coefficients of a Legendre series, ordered from lowest degree to highest, to an array of the coefficients of the equivalent polynomial (relative to the ?standard? basis) ordered from lowest to highest degree. Parameters: c : array_like 1-D array containing the Legendre series coefficients, ordered from lowest order term to highest. Returns: pol : ndarray 1-D arra