Hide keyboard shortcuts

Hot-keys on this page

r m x p   toggle line displays

j k   next/prev highlighted chunk

0   (zero) top of page

1   (one) first highlighted chunk

1

2

3

4

5

6

7

8

9

10

11

12

13

14

15

16

17

18

19

20

21

22

23

24

25

26

27

28

29

30

"""A module that handles matrices. 

 

Includes functions for fast creating matrices like zero, one/eye, random 

matrix, etc. 

""" 

from .matrices import (DeferredVector, ShapeError, NonSquareMatrixError, 

    MatrixBase) 

 

from .dense import ( 

    GramSchmidt, Matrix, casoratian, diag, eye, hessian, jordan_cell, 

    list2numpy, matrix2numpy, matrix_multiply_elementwise, ones, 

    randMatrix, rot_axis1, rot_axis2, rot_axis3, symarray, wronskian, 

    zeros) 

 

MutableDenseMatrix = MutableMatrix = Matrix 

 

from .sparse import MutableSparseMatrix 

 

SparseMatrix = MutableSparseMatrix 

 

from .immutable import ImmutableMatrix, ImmutableSparseMatrix 

 

MutableSparseMatrix = SparseMatrix 

ImmutableDenseMatrix = ImmutableMatrix 

 

from .expressions import (MatrixSlice, BlockDiagMatrix, BlockMatrix, 

        FunctionMatrix, Identity, Inverse, MatAdd, MatMul, MatPow, MatrixExpr, 

        MatrixSymbol, Trace, Transpose, ZeroMatrix, blockcut, block_collapse, 

        matrix_symbols, Adjoint, hadamard_product, HadamardProduct, 

        Determinant, det, DiagonalMatrix, DiagonalOf, trace)