IncrementMatrix Interface

public interface IncrementMatrix

Contents


Module Procedures

private recursive subroutine IncrementMatrix_ps(matA, matB, alpha_in, threshold_in)

Matrix B = alpha*Matrix A + Matrix B (AXPY) This will utilize the sparse vector increment routine.

Arguments

Type IntentOptional Attributes Name
type(Matrix_ps), intent(in) :: matA

Matrix A.

type(Matrix_ps), intent(inout) :: matB

Matrix B.

real(kind=NTREAL), intent(in), optional :: alpha_in

Multiplier (default = 1.0).

real(kind=NTREAL), intent(in), optional :: threshold_in

For flushing values to zero (default = 0).