ParseMMHeader Function

public function ParseMMHeader(line, sparsity_type, data_type, pattern_type) result(no_error)

Parse a matrix market header.

Arguments

Type IntentOptional Attributes Name
character(len=*), intent(in) :: line

String to parse.

integer, intent(out) :: sparsity_type

If coordinate or array type.

integer, intent(out) :: data_type

If real, integer, complex, pattern.

integer, intent(out) :: pattern_type

If general, symmetric, skew_symmetric, hermitian.

Return Value logical

True if no errors.


Contents