csr_samples_m Module

Module specifying sample matrices


Uses


Subroutines

public subroutine csr_random_init(a, ndim, ncol, nnz)

Fills up matrix a with random values

Arguments

Type IntentOptional Attributes Name
type(csrmat_t), intent(out) :: a

CSR matrix

integer, intent(in) :: ndim

number of rows, number of columns, number of nonzero elements

integer, intent(in) :: ncol

number of rows, number of columns, number of nonzero elements

integer, intent(in) :: nnz

number of rows, number of columns, number of nonzero elements