| |
- arange(...)
- arange(start, stop=None, step=1, typecode=None)
Just like range() except it returns an array whose type can be
specified by the keyword argument typecode.
- array(...)
- array(sequence, typecode=None, copy=1, savespace=0) will return a new array formed from the given (potentially nested) sequence with type given by typecode. If no typecode is given, then the type will be determined as the minimum type required to hold the objects in sequence. If copy is zero and sequence is already an array, a reference will be returned. If savespace is nonzero, the new array will maintain its precision in operations.
- arrayrange = arange(...)
- arange(start, stop=None, step=1, typecode=None)
Just like range() except it returns an array whose type can be
specified by the keyword argument typecode.
- choose(...)
- choose(a, (b1,b2,...))
- cross_correlate(...)
- cross_correlate(a,v, mode=0)
- empty(...)
- empty((d1,...,dn),typecode='l',savespace=0) will return a new array
of shape (d1,...,dn) and given type with all its entries uninitialized. If savespace is
nonzero, the array will be a spacesaver array. This can be faster than zeros.
- fromstring(...)
- fromstring(string, typecode='l', count=-1) returns a new 1d array initialized from the raw binary data in string. If count is positive, the new array will have count elements, otherwise it's size is determined by the size of string.
- maketrans(...)
- maketrans(frm, to) -> string
Return a translation table (a string of 256 bytes long)
suitable for use in string.translate. The strings frm and to
must be of the same length.
- minmax(y)
- minmax(y) - return minimum, maximum of 2D array y
- reshape(...)
- reshape(a, (d1, d2, ..., dn)). Change the shape of a to be an n-dimensional array with dimensions given by d1...dn. Note: the size specified for the new array must be exactly equal to the size of the old one or an error will occur.
- searchsorted = binarysearch(...)
- binarysearch(a,v)
- subplot_i(t, s, id, xlog, ylog)
- subplot_i(t,s,id,xlog,ylog) - create subplot as linear or log scale
where
t - X axis value
s - Y variable
id - specify the 3 digits sequence number(RC#) of the subplot
(at most 9 subplots allowd in a figure)
R specify the subplot row number
C specify the the subplot column number
# specify the sequence number < 10
xlog - specify X axis scale (0 linear scale, 1 logarithm scale)
ylog - specify Y axis scale (0 linear scale, 1 logarithm scale)
- take(...)
- take(a, indices, axis=0). Selects the elements in indices from array a along the given axis.
- zeros(...)
- zeros((d1,...,dn),typecode='l',savespace=0) will return a new array of shape (d1,...,dn) and type typecode with all it's entries initialized to zero. If savespace is nonzero the array will be a spacesaver array.
|