dbcsr_scale_by_vector Interface

public interface dbcsr_scale_by_vector

Module Procedures

private subroutine dbcsr_scale_by_vector_anytype(matrix_a, alpha, side)

Scales a DBCSR matrix by alpha

Arguments

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

DBCSR matrix

type(dbcsr_data_obj), intent(in), optional :: alpha

the scaling vector

character(len=*), intent(in) :: side

apply the scaling from the side

private subroutine dbcsr_scale_by_vector_s(matrix_a, alpha, side)

Interface for matrix scaling by a vector

Arguments

Type IntentOptional Attributes Name
type(dbcsr_type), intent(inout) :: matrix_a
real(kind=real_4), intent(in), DIMENSION(:), TARGET, CONTIGUOUS :: alpha
character(len=*), intent(in) :: side

private subroutine dbcsr_scale_by_vector_d(matrix_a, alpha, side)

Interface for matrix scaling by a vector

Arguments

Type IntentOptional Attributes Name
type(dbcsr_type), intent(inout) :: matrix_a
real(kind=real_8), intent(in), DIMENSION(:), TARGET, CONTIGUOUS :: alpha
character(len=*), intent(in) :: side

private subroutine dbcsr_scale_by_vector_c(matrix_a, alpha, side)

Interface for matrix scaling by a vector

Arguments

Type IntentOptional Attributes Name
type(dbcsr_type), intent(inout) :: matrix_a
complex(kind=real_4), intent(in), DIMENSION(:), TARGET, CONTIGUOUS :: alpha
character(len=*), intent(in) :: side

private subroutine dbcsr_scale_by_vector_z(matrix_a, alpha, side)

Interface for matrix scaling by a vector

Arguments

Type IntentOptional Attributes Name
type(dbcsr_type), intent(inout) :: matrix_a
complex(kind=real_8), intent(in), DIMENSION(:), TARGET, CONTIGUOUS :: alpha
character(len=*), intent(in) :: side