IncrementMatrix Interface

public interface IncrementMatrix

Contents


Module Procedures

private subroutine IncrementMatrix_lsr(matA, matB, alpha_in, threshold_in)

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

Arguments

Type IntentOptional AttributesName
type(Matrix_lsr), intent(in) :: matA

Matrix A.

type(Matrix_lsr), 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).

private subroutine IncrementMatrix_lsc(matA, matB, alpha_in, threshold_in)

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

Arguments

Type IntentOptional AttributesName
type(Matrix_lsc), intent(in) :: matA

Matrix A.

type(Matrix_lsc), 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).