MatrixGrandSum Interface

public interface MatrixGrandSum

Contents


Module Procedures

private pure subroutine MatrixGrandSum_lsr(this, sum_value)

Sum the elements of a matrix

Arguments

Type IntentOptional Attributes Name
type(Matrix_lsr), intent(in) :: this

The matrix to sum

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

The sum of the matrix elements

private pure subroutine MatrixGrandSum_lsc(this, sum_value)

Sum the elements of a matrix

Arguments

Type IntentOptional Attributes Name
type(Matrix_lsc), intent(in) :: this

The matrix to sum

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

The sum of the matrix elements