linalg 1.8.2
A linear algebra library that provides a user-friendly interface to several BLAS and LAPACK routines.
Loading...
Searching...
No Matches
linalg::det Interface Reference

Computes the determinant of a square matrix. More...

Public Member Functions

 det_dbl
 
 det_cmplx
 

Detailed Description

Computes the determinant of a square matrix.

Syntax
real(real64) function det(real(real64) a(:,:), optional integer(int32) iwork(:), optional class(errors) err)
complex(real64) function det(complex(real64) a(:,:), optional integer(int32) iwork(:), optional class(errors) err)
Parameters
[in,out]aOn input, the N-by-N matrix on which to operate. On output the contents are overwritten by the LU factorization of the original matrix.
[out]iworkAn optional input, that if provided, prevents any local memory allocation. If not provided, the memory required is allocated within. If provided, the length of the array must be at least N-elements.
[in,out]errAn optional errors-based object that if provided can be used to retrieve information relating to any errors encountered during execution. If not provided, a default implementation of the errors class is used internally to provide error handling. Possible errors and warning messages that may be encountered are as follows.
  • LA_ARRAY_SIZE_ERROR: Occurs if any of the input arrays are not sized appropriately.
  • LA_OUT_OF_MEMORY_ERROR: Occurs if local memory must be allocated, and there is insufficient memory available.
Returns
The determinant of a.

Definition at line 659 of file linalg.f90.


The documentation for this interface was generated from the following file: