csralg_m Module

Module implementing features of the matrix algebra with csr matrices


Uses


Functions

public pure function csrmv(mat, v, i)

Computes the i-th component of the matrix vector product between the given csr matrix mat and the vector v NOTE: This subroutine has been hand optimized

Arguments

Type IntentOptional Attributes Name
type(csrmat_t), intent(in) :: mat
real(kind=GP), intent(in), dimension(:) :: v
integer, intent(in) :: i

Return Value real(kind=gp)