Legendre.has_samewindow()

Legendre.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.core.records.fromrecords()

numpy.core.records.fromrecords(recList, dtype=None, shape=None, formats=None, names=None, titles=None, aligned=False, byteorder=None) [source] create a recarray from a list of records in text form The data in the same field can be heterogeneous, they will be promoted to the highest data type. This method is intended for creating smaller record arrays. If used to create large array without formats defined r=fromrecords([(2,3.,?abc?)]*100000) it can be slow. If formats is None, then this wil

chararray.translate()

chararray.translate(table, deletechars=None) [source] For each element in self, return a copy of the string where all characters occurring in the optional argument deletechars are removed, and the remaining characters have been mapped through the given translation table. See also char.translate

numpy.equal()

numpy.equal(x1, x2[, out]) = Return (x1 == x2) element-wise. Parameters: x1, x2 : array_like 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 not_equal, greater_equal, less_equal, greater, less Examples >>> np.equal([0, 1, 3], np.arange(3)) array([ True, True, False], dtype=bool) What is compared are values, not types. So an int (1) and an array of length one can evaluate as True:

numpy.packbits()

numpy.packbits(myarray, axis=None) Packs the elements of a binary-valued array into bits in a uint8 array. The result is padded to full bytes by inserting zero bits at the end. Parameters: myarray : array_like An integer type array whose elements should be packed to bits. axis : int, optional The dimension over which bit-packing is done. None implies packing the flattened array. Returns: packed : ndarray Array of type uint8 whose elements represent bits corresponding to the logical

numpy.matlib.rand()

numpy.matlib.rand(*args) [source] Return a matrix of random values with given shape. Create a matrix of the given shape and propagate it with random samples from a uniform distribution over [0, 1). Parameters: *args : Arguments Shape of the output. If given as N integers, each integer specifies the size of one dimension. If given as a tuple, this tuple gives the complete shape. Returns: out : ndarray The matrix of random values with shape given by *args. See also randn, numpy.rando

numpy.core.defchararray.split()

numpy.core.defchararray.split(a, sep=None, maxsplit=None) [source] For each element in a, return a list of the words in the string, using sep as the delimiter string. Calls str.rsplit element-wise. Parameters: a : array_like of str or unicode sep : str or unicode, optional If sep is not specified or None, any whitespace string is a separator. maxsplit : int, optional If maxsplit is given, at most maxsplit splits are done. Returns: out : ndarray Array of list objects See also str.

matrix.sum()

matrix.sum(axis=None, dtype=None, out=None) [source] Returns the sum of the matrix elements, along the given axis. Refer to numpy.sum for full documentation. See also numpy.sum Notes This is the same as ndarray.sum, except that where an ndarray would be returned, a matrix object is returned instead. Examples >>> x = np.matrix([[1, 2], [4, 3]]) >>> x.sum() 10 >>> x.sum(axis=1) matrix([[3], [7]]) >>> x.sum(axis=1, dtype='float') matrix([[ 3.],

Polynomial.has_samewindow()

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

Legendre.mapparms()

Legendre.mapparms() [source] Return the mapping parameters. The returned values define a linear map off + scl*x that is applied to the input arguments before the series is evaluated. The map depends on the domain and window; if the current domain is equal to the window the resulting map is the identity. If the coefficients of the series instance are to be used by themselves outside this class, then the linear function must be substituted for the x in the standard representation of the base