You are viewing an older version (2.4.3).Go to latest (2.4.4)
{ } Raw JSON

bundles / numpy 2.4.3 /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 instead of ndarrays.

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