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