False_ = bool_(False)
True_ = bool_(True)
arange = multiarray.arange
array = multiarray.array
broadcast = multiarray.broadcast
can_cast = multiarray.can_cast
concatenate = multiarray.concatenate
dot = multiarray.dot
dtype = multiarray.dtype
empty = multiarray.empty
fastCopyAndTranspose = multiarray._fastCopyAndTranspose
flatiter = multiarray.flatiter
frombuffer = multiarray.frombuffer
fromfile = multiarray.fromfile
fromstring = multiarray.fromstring
getbuffer = multiarray.getbuffer
inner = multiarray.inner
lexsort = multiarray.lexsort
little_endian = sys.byteorder== 'little'
ndarray = multiarray.ndarray
newaxis = None
newbuffer = multiarray.newbuffer
register_dtype = multiarray.register_dtype
set_numeric_ops = multiarray.set_numeric_ops
set_string_function = multiarray.set_string_function
ufunc = type(sin)
where = multiarray.where
zeros = multiarray.zeros
allclose(a,b,rtol=1.e-5,atol=1.e-8) Returns true if all components of a and b are equal subject to given tolerances. The relative error rtol must be positive and << 1.0 The absolute error atol comes into play for those elements of y that are very small or zero; it says how small x must be also.
will pass subclasses through...
returns a as an array. Unlike array(), no copy is performed if a is already an array. Subclasses are converted to base class ndarray.
Return the representation of a number in any given base.
Return the binary representation of the input number as a string.
This is equivalent to using base_repr with base 2, but about 25x faster.
Returns the discrete, linear convolution of 1-D sequences a and v; mode can be 0 (valid), 1 (same), or 2 (full) to specify size of the resulting sequence.
Return the cross product of two (arrays of) vectors.
The cross product is performed over the last axis of a and b by default, and can handle axes with dimensions 2 and 3. For a dimension of 2, the z-component of the equivalent three-dimensional cross product is returned.
Return an empty (uninitialized) array of the shape and typecode of a.
Note that this does NOT initialize the returned array. If you require your array to be initialized, you should use zeros_like().
fromfunction(function, dimensions) returns an array constructed by calling function on a tuple of number grids. The function should accept as many arguments as there are dimensions which is a list of numbers indicating the length of the desired output for each axis.
The function can also accept keyword arguments which will be passed in as well.
identity(n) returns the identity matrix of shape n x n.
indices(dimensions,dtype=int_) returns an array representing a grid of indices with row-only, and column-only variation.
ones(shape, dtype=int_) returns an array of the given dimensions which is initialized to all ones.
outer(a,b) returns the outer product of two vectors. result(i,j) = a(i)*b(j) when a and b are vectors Will accept any arguments that can be made into vectors.
Returns the dot product of 2 vectors (or anything that can be made into a vector). NB: this is not the same as dot, as it takes the conjugate of its first argument if complex and always returns a scalar.
Return an array of zeros of the shape and typecode of a.
If you don't explicitly need the array to be zeroed, you should instead use empty_like(), which is faster as it only allocates memory.