dbcsr_add Interface

public interface dbcsr_add

Module Procedures

private subroutine dbcsr_add_anytype(matrix_a, matrix_b, alpha_scalar, beta_scalar, flop)

add and scale matrices A = alphaA + betaB or

Arguments

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

DBCSR matrix

type(dbcsr_type), intent(in) :: matrix_b

DBCSR matrix

type(dbcsr_scalar_type), intent(in), optional :: alpha_scalar
type(dbcsr_scalar_type), intent(in), optional :: beta_scalar
integer(kind=int_8), intent(inout), optional :: flop

private subroutine dbcsr_add_s(matrix_a, matrix_b, alpha_scalar, beta_scalar)

Arguments

Type IntentOptional Attributes Name
type(dbcsr_type), intent(inout) :: matrix_a
type(dbcsr_type), intent(in) :: matrix_b
real(kind=real_4), intent(in) :: alpha_scalar
real(kind=real_4), intent(in) :: beta_scalar

private subroutine dbcsr_add_d(matrix_a, matrix_b, alpha_scalar, beta_scalar)

Interface for dbcsr_add

Arguments

Type IntentOptional Attributes Name
type(dbcsr_type), intent(inout) :: matrix_a
type(dbcsr_type), intent(in) :: matrix_b
real(kind=real_8), intent(in) :: alpha_scalar
real(kind=real_8), intent(in) :: beta_scalar

private subroutine dbcsr_add_c(matrix_a, matrix_b, alpha_scalar, beta_scalar)

Arguments

Type IntentOptional Attributes Name
type(dbcsr_type), intent(inout) :: matrix_a
type(dbcsr_type), intent(in) :: matrix_b
complex(kind=real_4), intent(in) :: alpha_scalar
complex(kind=real_4), intent(in) :: beta_scalar

private subroutine dbcsr_add_z(matrix_a, matrix_b, alpha_scalar, beta_scalar)

Arguments

Type IntentOptional Attributes Name
type(dbcsr_type), intent(inout) :: matrix_a
type(dbcsr_type), intent(in) :: matrix_b
complex(kind=real_8), intent(in) :: alpha_scalar
complex(kind=real_8), intent(in) :: beta_scalar