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... | |
This file contains a routine that computes the norm of a vector.
Definition in file qrm_vecnrm.F90.
subroutine _qrm_vecnrm1d | ( | dimension(:), intent(in) | vec, |
integer, intent(in) | n, | ||
character | ntype, | ||
nrm | |||
) |
This subroutine computes the norm of a vector.
[in] | vec | the input vector |
[in] | n | the vector size |
[out] | nrm | the output norm |
[in] | ntype | the norm type. It can be one of these 1 : 1-norm 2 : 2-norm i : inf-norm |
Definition at line 118 of file qrm_vecnrm.F90.
References i, 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.
[in] | vec | the input vectors |
[in] | n | the vector size |
[out] | nrm | the output norms |
[in] | ntype | the norm type. It can be one of these 1 : 1-norm 2 : 2-norm i : inf-norm |
Definition at line 50 of file qrm_vecnrm.F90.
References i, 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().