QR_MUMPS
 All Classes Files Functions Variables Enumerations Enumerator Pages
Functions/Subroutines
qrm_min_norm.F90 File Reference

Go to the source code of this file.

Functions/Subroutines

subroutine _qrm_min_norm2d (qrm_mat, b, x)
 This routine computes the min-norm solution of a problem. More...
 
subroutine _qrm_min_norm1d (qrm_mat, b, x)
 This routine computes the min-norm solution of a problem. More...
 

Function/Subroutine Documentation

subroutine _qrm_min_norm1d ( type(_qrm_spmat_type)  qrm_mat,
  b,
  x 
)

This routine computes the min-norm solution of a problem.

This routine computes the min-norm solution of an underdetermined system Ax=b with a single RHS.

Parameters
[in]qrm_mata 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]bthe RHSs. A 1D array of leading dimension qrm_matm. On output it will contain b
[out]xthe solution, i.e., Q*R'

Definition at line 117 of file qrm_min_norm.F90.

References _qrm_analyse(), _qrm_apply1d(), _qrm_spmat_mod::_qrm_check_spmat(), _qrm_factorize(), _qrm_solve1d(), 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 _qrm_methods_mod::_qrm_min_norm1dw().

subroutine _qrm_min_norm2d ( type(_qrm_spmat_type)  qrm_mat,
  b,
  x 
)

This routine computes the min-norm solution of a problem.

This routine computes the min-norm solution of an underdetermined system Ax=b with multiple RHSs.

Parameters
[in]qrm_mata 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]bthe RHSs. A 2D array of leading dimension qrm_matm. On output it will contain b
[out]xthe solution, i.e., Q*R'

Definition at line 49 of file qrm_min_norm.F90.

References _qrm_analyse(), _qrm_apply2d(), _qrm_spmat_mod::_qrm_check_spmat(), _qrm_factorize(), _qrm_solve2d(), 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 _qrm_methods_mod::_qrm_min_norm2dw().