Top
Back: linalg_lib
Forward: inverse_B
FastBack: matrix_lib
FastForward: Commutative algebra
Up: linalg_lib
Top: Singular Manual
Contents: Table of Contents
Index: Index
About: About this document

D.3.2.1 inverse

Procedure from library linalg.lib (see linalg_lib).

Usage:
inverse(A [,opt]); A a square matrix, opt integer

Return:
 
          a matrix:
          - the inverse matrix of A, if A is invertible;
          - the 1x1 0-matrix if A is not invertible (in the polynomial ring!).
          There are the following options:
          - opt=0 or not given: heuristically best option from below
          - opt=1 : apply std to (transpose(E,A)), ordering (C,dp).
          - opt=2 : apply interred (transpose(E,A)), ordering (C,dp).
          - opt=3 : apply lift(A,E), ordering (C,dp).

Note:
parameters and minpoly are allowed; opt=2 is only correct for matrices with entries in a field

Example:
 
See also: inverse_B; inverse_L.


Top Back: linalg_lib Forward: inverse_B FastBack: matrix_lib FastForward: Commutative algebra Up: linalg_lib Top: Singular Manual Contents: Table of Contents Index: Index About: About this document
            User manual for Singular version 3-1-6, Dec 2012, generated by texi2html.