fortran-lapack
|
QR factorization of a matrix. More...
Public Member Functions | |
pure subroutine | la_s_qr (a, q, r, overwrite_a, storage, err) |
pure subroutine | la_d_qr (a, q, r, overwrite_a, storage, err) |
pure subroutine | la_q_qr (a, q, r, overwrite_a, storage, err) |
pure subroutine | la_c_qr (a, q, r, overwrite_a, storage, err) |
pure subroutine | la_z_qr (a, q, r, overwrite_a, storage, err) |
pure subroutine | la_w_qr (a, q, r, overwrite_a, storage, err) |
QR factorization of a matrix.
pure subroutine la_qr::qr::la_c_qr | ( | complex(sp), dimension(:,:), intent(inout), target | a, |
complex(sp), dimension(:,:), intent(out), target, contiguous | q, | ||
complex(sp), dimension(:,:), intent(out), target, contiguous | r, | ||
logical(lk), intent(in), optional | overwrite_a, | ||
complex(sp), dimension(:), intent(inout), optional, target | storage, | ||
type(la_state), intent(out), optional | err | ||
) |
[in,out] | a | Input matrix a[m,n] |
[out] | q | Orthogonal matrix Q ([m,m], or [m,k] if reduced) |
[out] | r | Upper triangular matrix R ([m,n], or [k,n] if reduced) |
[in] | overwrite_a | [optional] Can A data be overwritten and destroyed? |
[in,out] | storage | [optional] Provide pre-allocated workspace, size to be checked with qr_space |
[out] | err | [optional] state return flag. On error if not requested, the code will stop |
pure subroutine la_qr::qr::la_d_qr | ( | real(dp), dimension(:,:), intent(inout), target | a, |
real(dp), dimension(:,:), intent(out), target, contiguous | q, | ||
real(dp), dimension(:,:), intent(out), target, contiguous | r, | ||
logical(lk), intent(in), optional | overwrite_a, | ||
real(dp), dimension(:), intent(inout), optional, target | storage, | ||
type(la_state), intent(out), optional | err | ||
) |
[in,out] | a | Input matrix a[m,n] |
[out] | q | Orthogonal matrix Q ([m,m], or [m,k] if reduced) |
[out] | r | Upper triangular matrix R ([m,n], or [k,n] if reduced) |
[in] | overwrite_a | [optional] Can A data be overwritten and destroyed? |
[in,out] | storage | [optional] Provide pre-allocated workspace, size to be checked with qr_space |
[out] | err | [optional] state return flag. On error if not requested, the code will stop |
pure subroutine la_qr::qr::la_q_qr | ( | real(qp), dimension(:,:), intent(inout), target | a, |
real(qp), dimension(:,:), intent(out), target, contiguous | q, | ||
real(qp), dimension(:,:), intent(out), target, contiguous | r, | ||
logical(lk), intent(in), optional | overwrite_a, | ||
real(qp), dimension(:), intent(inout), optional, target | storage, | ||
type(la_state), intent(out), optional | err | ||
) |
[in,out] | a | Input matrix a[m,n] |
[out] | q | Orthogonal matrix Q ([m,m], or [m,k] if reduced) |
[out] | r | Upper triangular matrix R ([m,n], or [k,n] if reduced) |
[in] | overwrite_a | [optional] Can A data be overwritten and destroyed? |
[in,out] | storage | [optional] Provide pre-allocated workspace, size to be checked with qr_space |
[out] | err | [optional] state return flag. On error if not requested, the code will stop |
pure subroutine la_qr::qr::la_s_qr | ( | real(sp), dimension(:,:), intent(inout), target | a, |
real(sp), dimension(:,:), intent(out), target, contiguous | q, | ||
real(sp), dimension(:,:), intent(out), target, contiguous | r, | ||
logical(lk), intent(in), optional | overwrite_a, | ||
real(sp), dimension(:), intent(inout), optional, target | storage, | ||
type(la_state), intent(out), optional | err | ||
) |
[in,out] | a | Input matrix a[m,n] |
[out] | q | Orthogonal matrix Q ([m,m], or [m,k] if reduced) |
[out] | r | Upper triangular matrix R ([m,n], or [k,n] if reduced) |
[in] | overwrite_a | [optional] Can A data be overwritten and destroyed? |
[in,out] | storage | [optional] Provide pre-allocated workspace, size to be checked with qr_space |
[out] | err | [optional] state return flag. On error if not requested, the code will stop |
pure subroutine la_qr::qr::la_w_qr | ( | complex(qp), dimension(:,:), intent(inout), target | a, |
complex(qp), dimension(:,:), intent(out), target, contiguous | q, | ||
complex(qp), dimension(:,:), intent(out), target, contiguous | r, | ||
logical(lk), intent(in), optional | overwrite_a, | ||
complex(qp), dimension(:), intent(inout), optional, target | storage, | ||
type(la_state), intent(out), optional | err | ||
) |
[in,out] | a | Input matrix a[m,n] |
[out] | q | Orthogonal matrix Q ([m,m], or [m,k] if reduced) |
[out] | r | Upper triangular matrix R ([m,n], or [k,n] if reduced) |
[in] | overwrite_a | [optional] Can A data be overwritten and destroyed? |
[in,out] | storage | [optional] Provide pre-allocated workspace, size to be checked with qr_space |
[out] | err | [optional] state return flag. On error if not requested, the code will stop |
pure subroutine la_qr::qr::la_z_qr | ( | complex(dp), dimension(:,:), intent(inout), target | a, |
complex(dp), dimension(:,:), intent(out), target, contiguous | q, | ||
complex(dp), dimension(:,:), intent(out), target, contiguous | r, | ||
logical(lk), intent(in), optional | overwrite_a, | ||
complex(dp), dimension(:), intent(inout), optional, target | storage, | ||
type(la_state), intent(out), optional | err | ||
) |
[in,out] | a | Input matrix a[m,n] |
[out] | q | Orthogonal matrix Q ([m,m], or [m,k] if reduced) |
[out] | r | Upper triangular matrix R ([m,n], or [k,n] if reduced) |
[in] | overwrite_a | [optional] Can A data be overwritten and destroyed? |
[in,out] | storage | [optional] Provide pre-allocated workspace, size to be checked with qr_space |
[out] | err | [optional] state return flag. On error if not requested, the code will stop |