QR_MUMPS
Functions/Subroutines
qrm_vecnrm.F90 File Reference

This file contains a routine that computes the norm of a vector. More...

Go to the source code of this file.

Functions/Subroutines

subroutine _qrm_vecnrm2d (vec, n, ntype, nrm)
 This subroutine computes the norm of multiple vectors. More...
 
subroutine _qrm_vecnrm1d (vec, n, ntype, nrm)
 This subroutine computes the norm of a vector. More...
 

Detailed Description

This file contains a routine that computes the norm of a vector.

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

Definition in file qrm_vecnrm.F90.

Function/Subroutine Documentation

subroutine _qrm_vecnrm1d ( dimension(:), intent(in)  vec,
integer, intent(in)  n,
character  ntype,
  nrm 
)

This subroutine computes the norm of a vector.

Parameters
[in]vecthe input vector
[in]nthe vector size
[out]nrmthe output norm
[in]ntypethe norm type. It can be one of these 1 : 1-norm 2 : 2-norm i : inf-norm

Definition at line 119 of file qrm_vecnrm.F90.

References 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 _qrm_utils_mod::_qrm_vecnrm1dw().

subroutine _qrm_vecnrm2d ( dimension(:,:), intent(in)  vec,
integer, intent(in)  n,
character  ntype,
  nrm 
)

This subroutine computes the norm of multiple vectors.

Parameters
[in]vecthe input vectors
[in]nthe vector size
[out]nrmthe output norms
[in]ntypethe norm type. It can be one of these 1 : 1-norm 2 : 2-norm i : inf-norm

Definition at line 51 of file qrm_vecnrm.F90.

References 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 _qrm_utils_mod::_qrm_vecnrm2dw().