Returns the inverse of a matrix.
More...
|
| subroutine | invertfullsp (A, B, det, err, error,) |
| | Inverts a full single precision matrix A to give matrix B and returns the determinant of A in det. More...
|
| |
| subroutine | invertfulldp (A, B, det, err, error,) |
| | Inverts a full double precision matrix A to give matrix B and returns the determinant of A in det. More...
|
| |
Returns the inverse of a matrix.
Definition at line 131 of file maths.f90.
| subroutine maths::invert::invertfulldp |
( |
real(dp), dimension(:,:), intent(in) |
A, |
|
|
real(dp), dimension(:,:), intent(out) |
B, |
|
|
real(dp), intent(out) |
det, |
|
|
integer(intg), intent(out) |
err, |
|
|
type(varying_string), intent(out) |
error |
|
) |
| |
|
private |
Inverts a full double precision matrix A to give matrix B and returns the determinant of A in det.
- Parameters
-
| [in] | a | The matrix A to invert |
| [out] | b | On exit, the inverse of A |
| [out] | det | On exit, the determinant of A |
| [out] | err | The error code |
| [out] | error | The error string |
Definition at line 1556 of file maths.f90.
| subroutine maths::invert::invertfullsp |
( |
real(sp), dimension(:,:), intent(in) |
A, |
|
|
real(sp), dimension(:,:), intent(out) |
B, |
|
|
real(sp), intent(out) |
det, |
|
|
integer(intg), intent(out) |
err, |
|
|
type(varying_string), intent(out) |
error |
|
) |
| |
|
private |
Inverts a full single precision matrix A to give matrix B and returns the determinant of A in det.
- Parameters
-
| [in] | a | The A matrix to invert |
| [out] | b | On exit, the inverse of A |
| [out] | det | On exit, the determinant of A |
| [out] | err | The error code |
| [out] | error | The error string |
Definition at line 1483 of file maths.f90.