dbcsr_tas_reshape Subroutine

public recursive subroutine dbcsr_tas_reshape(matrix_in, matrix_out, summation, transposed, move_data)

copy data (involves reshape)

Arguments

Type IntentOptional Attributes Name
type(dbcsr_tas_type), intent(inout) :: matrix_in
type(dbcsr_tas_type), intent(inout) :: matrix_out
logical, intent(in), optional :: summation

whether matrix_out = matrix_out + matrix_in

logical, intent(in), optional :: transposed
logical, intent(in), optional :: move_data

memory optimization: move data to matrix_out such that matrix_in is empty on return