dbcsr_conform_scalar Interface

public interface dbcsr_conform_scalar

Contents


Module Procedures

private function make_conformant_scalar_d(scalar, matrix) result(encapsulated)

Encapsulates a given scalar value and makes it conform with the type of the matrix.

Arguments

TypeIntentOptionalAttributesName
real(kind=real_8), intent(in) :: scalar
type(dbcsr_type), intent(in) :: matrix

Return Value type(dbcsr_scalar_type)

private function make_conformant_scalar_s(scalar, matrix) result(encapsulated)

Encapsulates a given scalar value and makes it conform with the type of the matrix.

Arguments

TypeIntentOptionalAttributesName
real(kind=real_4), intent(in) :: scalar
type(dbcsr_type), intent(in) :: matrix

Return Value type(dbcsr_scalar_type)

private function make_conformant_scalar_c(scalar, matrix) result(encapsulated)

Encapsulates a given scalar value and makes it conform with the type of the matrix.

Arguments

TypeIntentOptionalAttributesName
complex(kind=real_4), intent(in) :: scalar
type(dbcsr_type), intent(in) :: matrix

Return Value type(dbcsr_scalar_type)

private function make_conformant_scalar_z(scalar, matrix) result(encapsulated)

Encapsulates a given scalar value and makes it conform with the type of the matrix.

Arguments

TypeIntentOptionalAttributesName
complex(kind=real_8), intent(in) :: scalar
type(dbcsr_type), intent(in) :: matrix

Return Value type(dbcsr_scalar_type)