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

This file contains a subroutine for computing the scaled norm of the product A'*r (orthogonality or residual to the image of A) More...

Go to the source code of this file.

Functions/Subroutines

subroutine _qrm_residual_orth2d (qrm_mat, r, nrm)
 This routine computes the scaled norm of the product A'*r for multiple residuals. More...
 
subroutine _qrm_residual_orth1d (qrm_mat, r, nrm)
 This routine computes the scaled norm of the product A'*r. More...
 
subroutine _qrm_residual_and_orth2d (qrm_mat, b, x, nrm)
 This routine computes the scaled norm of the product A'*r. More...
 
subroutine _qrm_residual_and_orth1d (qrm_mat, b, x, nrm)
 This routine computes the scaled norm of the product A'*r. More...
 

Detailed Description

This file contains a subroutine for computing the scaled norm of the product A'*r (orthogonality or residual to the image of A)

Date:
2016-01-29 22:22:30 +0100 (Fri, 29 Jan 2016)
Author:
abuttari
Version:
1.1
Revision:
2075

Definition in file qrm_residual_orth.F90.

Function/Subroutine Documentation

subroutine _qrm_residual_and_orth1d ( type(_qrm_spmat_type)  qrm_mat,
  b,
  x,
  nrm 
)

This routine computes the scaled norm of the product A'*r.

This routine computes the norm of the scaled product A'*r for a single RHS.

Parameters
[in]qrm_mata qrm_spmat_type data which contains the input matrix.
[in,out]bthe RHSs. A 1D array of leading dimension qrm_matm. On output it will contain the residuals
[out]xthe solution
[out]nrmnorm

Definition at line 236 of file qrm_residual_orth.F90.

References _qrm_spmat_mod::_qrm_check_spmat(), qrm_error_mod::qrm_err_act_restore(), qrm_error_mod::qrm_err_act_save(), and qrm_error_mod::qrm_err_check().

Referenced by _qrm_methods_mod::_qrm_residual_and_orth1dw().

subroutine _qrm_residual_and_orth2d ( type(_qrm_spmat_type)  qrm_mat,
  b,
  x,
  nrm 
)

This routine computes the scaled norm of the product A'*r.

This routine computes the norm of the scaled product A'*r for a single RHS.

Parameters
[in]qrm_mata qrm_spmat_type data which contains the input matrix.
[in,out]bthe RHSs. A 1D array of leading dimension qrm_matm. On output it will contain the residuals
[out]xthe solutions
[out]nrmnorms

Definition at line 173 of file qrm_residual_orth.F90.

References _qrm_spmat_mod::_qrm_check_spmat(), qrm_error_mod::qrm_err_act_restore(), qrm_error_mod::qrm_err_act_save(), and qrm_error_mod::qrm_err_check().

Referenced by _qrm_methods_mod::_qrm_residual_and_orth2dw().

subroutine _qrm_residual_orth1d ( type(_qrm_spmat_type)  qrm_mat,
  r,
  nrm 
)

This routine computes the scaled norm of the product A'*r.

This routine computes the norm of the scaled product A'*r for a single RHS.

Parameters
[in]qrm_mata qrm_spmat_type data which contains the input matrix.
[in]rthe residual. A 1D array of leading dimension qrm_matm.
[out]nrmnorm

Definition at line 109 of file qrm_residual_orth.F90.

References _qrm_spmat_mod::_qrm_check_spmat(), qrm_error_mod::qrm_err_act_restore(), qrm_error_mod::qrm_err_act_save(), and qrm_error_mod::qrm_err_check().

Referenced by _qrm_methods_mod::_qrm_residual_orth1dw().

subroutine _qrm_residual_orth2d ( type(_qrm_spmat_type)  qrm_mat,
  r,
  nrm 
)

This routine computes the scaled norm of the product A'*r for multiple residuals.

This routine computes the norm of the scaled product A'*r for a single RHS.

Parameters
[in]qrm_mata qrm_spmat_type data which contains the input matrix.
[in]rthe residuals. A 2D array of leading dimension qrm_matm.
[out]nrmthe output norms norm

Definition at line 48 of file qrm_residual_orth.F90.

References _qrm_spmat_mod::_qrm_check_spmat(), qrm_error_mod::qrm_err_act_restore(), qrm_error_mod::qrm_err_act_save(), and qrm_error_mod::qrm_err_check().

Referenced by _qrm_methods_mod::_qrm_residual_orth2dw().