Scilab 6.0.0
      
      
    
      
      Справка Scilab >> Linear Algebra > Matrix Analysis > det
      
      
    
    
    
            
    
    
    
      
  
det
determinant
Syntax
det(X) [e,m]=det(X)
Arguments
- X
- real or complex square matrix, polynomial or rational matrix. 
- m
- real or complex number, the determinant base 10 mantissae 
- e
- integer, the determinant base 10 exponent 
Description
det(X) ( m*10^e is the determinant of the square matrix X.
For polynomial matrix det(X) is equivalent to determ(X).
For rational matrices det(X) is equivalent to detr(X).
|  | The  detanddetrfunctions don't use the same algorithm. 
                For a rational fraction,det(X)is overloaded by%r_det(X)which is based on thedetermfunction.detr()uses the Leverrier method. | 
|  | Sometimes the  detanddetrfunctions may return different values for rational matrices.
                In such cases you should set rational simplification mode off by usingsimp_mode(%f)to get the same result. | 
References
det computations are based on the Lapack routines DGETRF for real matrices and ZGETRF for the complex case.
Concerning sparse matrices, the determinant is obtained from LU factorization of umfpack library.
Comments
Add a comment:
Please login to comment this page.