NTPoly
Functions/Subroutines
matrixmarketmodule Module Reference

This module contains helpers for processing matrix market files. More...

Functions/Subroutines

logical function, public parsemmheader (line, sparsity_type, data_type, pattern_type)
 Sparse coordinate file. More...
 

Detailed Description

This module contains helpers for processing matrix market files.

Function/Subroutine Documentation

◆ parsemmheader()

logical function, public matrixmarketmodule::parsemmheader ( character(len=*), intent(in)  line,
integer, intent(out)  sparsity_type,
integer, intent(out)  data_type,
integer, intent(out)  pattern_type 
)

Sparse coordinate file.

Dense array file. Real data being read in. Integer data being read in. Complex numbers being read in. Just a pattern of non zeros. File lacks symmetry. File is symmetric File is skew symmetric. File is hermitian. Parse a matrix market header.

Parameters
[in]line
[out]sparsity_typesets if coordinate or array type.
[out]data_typesets if real, integer, complex, pattern.
[out]pattern_typesets if general, symmetric, skew_symmetric, hermitian.
Returns
returns true if no errors.