WriteMMLine Interface

public interface WriteMMLine

Contents


Module Procedures

public subroutine WriteMMLine_ii(outstring, row, column, add_newline_in)

Write a single line that would correspond to a matrix market entry.

Arguments

Type IntentOptional AttributesName
character(len=MAX_LINE_LENGTH), intent(inout) :: outstring

The final string is written to this variable.

integer, intent(in) :: row

The first coordinate value

integer, intent(in) :: column

The second coordinate value

logical, intent(in), optional :: add_newline_in

Whether to append a new line to the output (default=F)

public subroutine WriteMMLine_iif(outstring, row, column, val, add_newline_in)

Write a single line that would correspond to a matrix market entry.

Arguments

Type IntentOptional AttributesName
character(len=MAX_LINE_LENGTH), intent(inout) :: outstring

The final string is written to this variable.

integer, intent(in) :: row

The first coordinate value

integer, intent(in) :: column

The second coordinate value

real(kind=NTREAL), intent(in) :: val

The value at that coordinate

logical, intent(in), optional :: add_newline_in

Whether to append a new line to the output (default=F)

public subroutine WriteMMLine_iiff(outstring, row, column, val1, val2, add_newline_in)

Write a single line that would correspond to a matrix market entry.

Arguments

Type IntentOptional AttributesName
character(len=MAX_LINE_LENGTH), intent(inout) :: outstring

The final string is written to this variable.

integer, intent(in) :: row

The first coordinate value

integer, intent(in) :: column

The second coordinate value

real(kind=NTREAL), intent(in) :: val1

The value at that coordinate

real(kind=NTREAL), intent(in) :: val2

The second value at the coordinate

logical, intent(in), optional :: add_newline_in

Whether to append a new line to the output (default=F)

public subroutine WriteMMLine_f(outstring, val, add_newline_in)

Write a single line that would correspond to a matrix market entry.

Arguments

Type IntentOptional AttributesName
character(len=MAX_LINE_LENGTH), intent(inout) :: outstring

The final string is written to this variable.

real(kind=NTREAL), intent(in) :: val

The value at that coordinate

logical, intent(in), optional :: add_newline_in

Whether to append a new line to the output (default=F)

public subroutine WriteMMLine_ff(outstring, val1, val2, add_newline_in)

Write a single line that would correspond to a matrix market entry.

Arguments

Type IntentOptional AttributesName
character(len=MAX_LINE_LENGTH), intent(inout) :: outstring

The final string is written to this variable.

real(kind=NTREAL), intent(in) :: val1

The value at that coordinate

real(kind=NTREAL), intent(in) :: val2

The second value at that coordinate

logical, intent(in), optional :: add_newline_in

Whether to append a new line to the output (default=F)