ScaleMatrix Interface

public interface ScaleMatrix

Contents


Module Procedures

private subroutine ScaleMatrix_psr(this, constant)

Will scale a distributed sparse matrix by a constant.

Arguments

Type IntentOptional Attributes Name
type(Matrix_ps), intent(inout) :: this

Matrix to scale.

real(kind=NTREAL), intent(in) :: constant

A constant scale factor.

private recursive subroutine ScaleMatrix_psc(this, constant)

Will scale a distributed sparse matrix by a constant.

Arguments

Type IntentOptional Attributes Name
type(Matrix_ps), intent(inout) :: this

Matrix to scale.

complex(kind=NTCOMPLEX), intent(in) :: constant

A constant scale factor.