Octopus
lalg_adv_oct_m::lalg_matrix_norm2 Interface Reference

Detailed Description

Definition at line 224 of file lalg_adv.F90.

Private Member Functions

subroutine dmatrix_norm2 (m, n, a, norm_l2, preserve_mat)
 Norm of a 2D matrix. More...
 
subroutine zmatrix_norm2 (m, n, a, norm_l2, preserve_mat)
 Norm of a 2D matrix. More...
 

Member Function/Subroutine Documentation

◆ dmatrix_norm2()

subroutine lalg_adv_oct_m::lalg_matrix_norm2::dmatrix_norm2 ( integer, intent(in)  m,
integer, intent(in)  n,
real(real64), dimension(:, :), intent(inout), contiguous  a,
real(real64), intent(out)  norm_l2,
logical, intent(in), optional  preserve_mat 
)
private

Norm of a 2D matrix.

The spectral norm of a matrix \(A\) is the largest singular value of \(A\). i.e., the largest eigenvalue of the matrix \(\sqrt{\dagger{A}A}\).

Parameters
[in]m,nDimensions of A
[in]a2D matrix
[out]norm2L2 norm of A

Definition at line 2918 of file lalg_adv.F90.

◆ zmatrix_norm2()

subroutine lalg_adv_oct_m::lalg_matrix_norm2::zmatrix_norm2 ( integer, intent(in)  m,
integer, intent(in)  n,
complex(real64), dimension(:, :), intent(inout), contiguous  a,
real(real64), intent(out)  norm_l2,
logical, intent(in), optional  preserve_mat 
)
private

Norm of a 2D matrix.

The spectral norm of a matrix \(A\) is the largest singular value of \(A\). i.e., the largest eigenvalue of the matrix \(\sqrt{\dagger{A}A}\).

Parameters
[in]m,nDimensions of A
[in]a2D matrix
[out]norm2L2 norm of A

Definition at line 1483 of file lalg_adv.F90.


The documentation for this interface was generated from the following file: