Matrix B = alpha*Matrix A + Matrix B (AXPY). This will utilize the sparse vector addition routine.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
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). |
Matrix B = alpha*Matrix A + Matrix B (AXPY). This will utilize the sparse vector addition routine.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
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). |