dbcsr_add_on_diag Interface

public interface dbcsr_add_on_diag

Module Procedures

private subroutine dbcsr_add_on_diag_s(matrix, alpha)

add a constant to the diagonal of a matrix

Arguments

Type IntentOptional Attributes Name
type(dbcsr_type), intent(inout) :: matrix

DBCSR matrix

real(kind=real_4), intent(in) :: alpha

scalar

private subroutine dbcsr_add_on_diag_ds(matrix, alpha)

Arguments

Type IntentOptional Attributes Name
type(dbcsr_type), intent(inout) :: matrix
real(kind=real_8), intent(in) :: alpha

private subroutine dbcsr_add_on_diag_c(matrix, alpha)

add a constant to the diagonal of a matrix

Arguments

Type IntentOptional Attributes Name
type(dbcsr_type), intent(inout) :: matrix

DBCSR matrix

complex(kind=real_4), intent(in) :: alpha

scalar

private subroutine dbcsr_add_on_diag_z(matrix, alpha)

add a constant to the diagonal of a matrix

Arguments

Type IntentOptional Attributes Name
type(dbcsr_type), intent(inout) :: matrix

DBCSR matrix

complex(kind=real_8), intent(in) :: alpha

scalar