QR_MUMPS
|
Go to the source code of this file.
Functions/Subroutines | |
subroutine | dqrm_least_squares2d (qrm_mat, b, x) |
This routine computes the least-squares solution of a problem. More... | |
subroutine | dqrm_least_squares1d (qrm_mat, b, x) |
This routine computes the least-squares solution of a problem. More... | |
subroutine dqrm_least_squares1d | ( | type(dqrm_spmat_type) | qrm_mat, |
real(kind(1.d0)), dimension(:) | b, | ||
real(kind(1.d0)), dimension(:) | x | ||
) |
This routine computes the least-squares solution of a problem.
This routine computed the least-squares solution of an overdetermined system Ax=b with a single RHS.
[in] | qrm_mat | a qrm_spmat_type data which contains the input matrix. On output the original data will be unchanged and the result of the analysis and factorization phases will be stored in the adata and fdata fields, respectively. |
[in,out] | b | the RHSs. A 1D array of leading dimension qrm_matm. On output it will contain Q'*b |
[out] | x | the solution, i.e., R'*b |
Definition at line 118 of file dqrm_least_squares.F90.
References dqrm_analyse(), dqrm_apply1d(), dqrm_spmat_mod::dqrm_check_spmat(), dqrm_factorize(), dqrm_solve1d(), qrm_error_mod::qrm_abort_, qrm_error_mod::qrm_err_act_restore(), qrm_error_mod::qrm_err_act_save(), qrm_error_mod::qrm_err_check(), and qrm_error_mod::qrm_err_push().
Referenced by dqrm_methods_mod::dqrm_least_squares1dw().
subroutine dqrm_least_squares2d | ( | type(dqrm_spmat_type) | qrm_mat, |
real(kind(1.d0)), dimension(:,:) | b, | ||
real(kind(1.d0)), dimension(:,:) | x | ||
) |
This routine computes the least-squares solution of a problem.
This routine computed the least-squares solution of an overdetermined system Ax=b with multiple RHSs.
[in] | qrm_mat | a qrm_spmat_type data which contains the input matrix. On output the original data will be unchanged and the result of the analysis and factorization phases will be stored in the adata and fdata fields, respectively. |
[in,out] | b | the RHSs. A 2D array of leading dimension qrm_matm. On output it will contain Q'*b |
[out] | x | the solution, i.e., R'*b |
Definition at line 50 of file dqrm_least_squares.F90.
References dqrm_analyse(), dqrm_apply2d(), dqrm_spmat_mod::dqrm_check_spmat(), dqrm_factorize(), dqrm_solve2d(), qrm_error_mod::qrm_abort_, qrm_error_mod::qrm_err_act_restore(), qrm_error_mod::qrm_err_act_save(), qrm_error_mod::qrm_err_check(), and qrm_error_mod::qrm_err_push().
Referenced by dqrm_methods_mod::dqrm_least_squares2dw().