This is a pre-release version (latest). Go to latest (2.4.4)
{ } Raw JSON

bundles / numpy latest / docs

Doc

reference:routines.matlib

docs/reference:routines.matlib

Matrix library (numpy.matlib)

This module contains all functions in the numpy namespace, with the following replacement functions that return matrices <matrix> instead of ndarrays <ndarray>.

Functions that are also in the numpy namespace and return matrices

.. autosummary:: 
    matrix
    asmatrix
    bmat

Replacement functions in matlib

.. autosummary:: 
    :toctree:generated/
    empty
    zeros
    ones
    eye
    identity
    repmat
    rand
    randn