MatrixGrandSum Interface

public interface MatrixGrandSum

Contents


Module Procedures

private subroutine MatrixGrandSum_psr(this, sum)

Sum up the elements in a matrix into a single value.

Arguments

Type IntentOptional AttributesName
type(Matrix_ps), intent(in) :: this

The matrix to compute.

real(kind=NTREAL), intent(out) :: sum

The sum of all elements.

private subroutine MatrixGrandSum_psc(this, sum)

Sum up the elements in a matrix into a single value.

Arguments

Type IntentOptional AttributesName
type(Matrix_ps), intent(in) :: this

The matrix to compute.

complex(kind=NTCOMPLEX), intent(out) :: sum

The sum of all elements.