This is the core of the function apply on a serial matrix to compute when A is memorized in a sparse storage. In this case the routine converts it to a dense storage and then calls the array version of itself. That is the one implementing the different functions. It is the function to modify if ones want to interface a new function that was not previously available or a new algorithm (variant) for an already existing function.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(psfun_d_serial), | intent(inout) | :: | fun | Function information |
||
| type(psb_dspmat_type), | intent(inout) | :: | a | Matrix |
||
| real(kind=psb_dpk_), | intent(out) | :: | y(:) | Output vector |
||
| real(kind=psb_dpk_), | intent(in) | :: | x(:) | Input vector |
||
| integer(kind=psb_ipk_), | intent(out) | :: | info | Information on the output |