This module provides functions and subroutines for inverse and pseudo-inverse calculations.
Calculates the pseudoinverse of a matrix A.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
real(kind=rk), | intent(in), | dimension(:, :), contiguous | :: | A | ||
character(len=*), | intent(in), | optional | :: | method | ||
real(kind=rk), | intent(in), | optional | :: | tol |
Calculates the pseudoinverse of a matrix A.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
real(kind=rk), | intent(in), | dimension(:, :), contiguous | :: | A | ||
character(len=*), | intent(in), | optional | :: | method | ||
real(kind=rk), | intent(in), | optional | :: | tol |
Calculates the pseudoinverse of a matrix A using the SVD.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
real(kind=rk), | intent(in), | dimension(:, :), contiguous | :: | A | ||
character(len=*), | intent(in), | optional | :: | method | ||
real(kind=rk), | intent(in), | optional | :: | tol |
Calculates the pseudoinverse of a matrix A using the LU decomposition.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
real(kind=rk), | intent(in), | dimension(:, :), contiguous | :: | A |
Calculates the inverse of a matrix A using the LU decomposition.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
real(kind=rk), | intent(in), | dimension(:, :), contiguous | :: | A |
Calculates the matrix-matrix product of two matrices A and B.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
real(kind=rk), | intent(in), | dimension(:, :), contiguous | :: | A | ||
real(kind=rk), | intent(in), | dimension(:, :), contiguous | :: | B |