![]() |
SPEED
|
Go to the source code of this file.
Functions/Subroutines | |
| subroutine | matmul_sparse (as, nnz, jsp, isp, vet_out, n, vet_in, |
| Matrix-vector multiplication for sparse matrices (RCS format). | |
| subroutine matmul_sparse | ( | real*8, dimension(nnz) | as, |
| integer*4 | nnz, | ||
| integer*4, dimension(nnz) | jsp, | ||
| integer*4, dimension(0:n) | isp, | ||
| real*8, dimension(n) | vet_out, | ||
| integer*4 | n, | ||
| real*8, dimension(m) | vet_in | ||
| ) |
Matrix-vector multiplication for sparse matrices (RCS format).
| [in] | nnz | number of nonzero elements |
| [in] | As | sparse matrix |
| [in] | Jsp | pointer for sparsity pattern |
| [in] | Isp | pointer for sparsity pattern |
| [in] | n | row of the matrix |
| [in] | m | column of the matrix |
| [in] | vet_in | input vector for the multiplication As*vet_in |
| [in] | error | control parameter (dummy) |
| [out] | vet_out | result of the multiplication As*vet_in |
Definition at line 33 of file MATMUL_SPARSE.f90.
Referenced by compute_energy_error().
