next up previous contents
Next: mm_mat_write Write Up: Utilities Previous: mm_mat_read Read   Contents

mm_vet_read -- Read a dense vector from a file in the MatrixMarket format

call mm_vet_read(b, iret, iunit, filename)

Type:
Asynchronous.
On Entry
filename
The name of the file to be read.
Type:optional.
Specified as: a character variable containing a valid file name, or -, in which case the default input unit 5 (i.e. standard input in Unix jargon) is used. Default: -.
iunit
The Fortran file unit number.
Type:optional.
Specified as: an integer value. Only meaningful if filename is not -.

On Return
b
Rigth hand side(s).
Type: required
An array of type real or complex, rank 2 and having the ALLOCATABLE attribute; will be allocated and filled in if the input file contains a right hand side, otherwise will be left in the UNALLOCATED state.
iret
Error code.
Type: required
An integer value; 0 means no error has been detected.