norm Interface

public interface norm

norm computes vector and matrix norms.


Contents


Functions

private module function norm1_dp(x, p)

Arguments

Type IntentOptional AttributesName
real(kind=dp), intent(in), dimension(:):: x
real(kind=dp), intent(in), optional :: p

Return Value real(kind=dp)

private module function norm1_sp(x, p)

Arguments

Type IntentOptional AttributesName
real(kind=sp), intent(in), dimension(:):: x
real(kind=sp), intent(in), optional :: p

Return Value real(kind=sp)

private module function norm2_dp(A, p)

Arguments

Type IntentOptional AttributesName
real(kind=dp), intent(in), dimension(:, :):: A
real(kind=dp), intent(in), optional :: p

Return Value real(kind=dp)

private module function norm2_sp(A, p)

Arguments

Type IntentOptional AttributesName
real(kind=sp), intent(in), dimension(:, :):: A
real(kind=sp), intent(in), optional :: p

Return Value real(kind=sp)