You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
124 lines
3.2 KiB
HTML
124 lines
3.2 KiB
HTML
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
|
|
|
|
<!--Converted with LaTeX2HTML 2018 (Released Feb 1, 2018) -->
|
|
<HTML>
|
|
<HEAD>
|
|
<TITLE>mm_mat_write -- Write a sparse matrix to a file in the MatrixMarket format</TITLE>
|
|
<META NAME="description" CONTENT="mm_mat_write -- Write a sparse matrix to a file in the MatrixMarket format">
|
|
<META NAME="keywords" CONTENT="userhtml">
|
|
<META NAME="resource-type" CONTENT="document">
|
|
<META NAME="distribution" CONTENT="global">
|
|
|
|
<META NAME="Generator" CONTENT="LaTeX2HTML v2018">
|
|
<META HTTP-EQUIV="Content-Style-Type" CONTENT="text/css">
|
|
|
|
<LINK REL="STYLESHEET" HREF="userhtml.css">
|
|
|
|
<LINK REL="next" HREF="node124.html">
|
|
<LINK REL="previous" HREF="node122.html">
|
|
<LINK REL="up" HREF="node118.html">
|
|
<LINK REL="next" HREF="node124.html">
|
|
</HEAD>
|
|
|
|
<BODY >
|
|
|
|
<DIV CLASS="navigation"><!--Navigation Panel-->
|
|
<A NAME="tex2html1797"
|
|
HREF="node124.html">
|
|
<IMG WIDTH="37" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="next" SRC="next.png"></A>
|
|
<A NAME="tex2html1793"
|
|
HREF="node118.html">
|
|
<IMG WIDTH="26" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="up" SRC="up.png"></A>
|
|
<A NAME="tex2html1787"
|
|
HREF="node122.html">
|
|
<IMG WIDTH="63" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="previous" SRC="prev.png"></A>
|
|
<A NAME="tex2html1795"
|
|
HREF="node1.html">
|
|
<IMG WIDTH="65" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="contents" SRC="contents.png"></A>
|
|
<BR>
|
|
<B> Next:</B> <A NAME="tex2html1798"
|
|
HREF="node124.html">mm_array_write Write</A>
|
|
<B> Up:</B> <A NAME="tex2html1794"
|
|
HREF="node118.html">Utilities</A>
|
|
<B> Previous:</B> <A NAME="tex2html1788"
|
|
HREF="node122.html">mm_array_read Read</A>
|
|
<B> <A NAME="tex2html1796"
|
|
HREF="node1.html">Contents</A></B>
|
|
<BR>
|
|
<BR></DIV>
|
|
<!--End of Navigation Panel-->
|
|
|
|
<H2><A NAME="SECTION000105000000000000000">
|
|
mm_mat_write -- Write a sparse matrix to a
|
|
file in the MatrixMarket format</A>
|
|
</H2>
|
|
|
|
<P>
|
|
<BR>
|
|
<IMG
|
|
WIDTH="480" HEIGHT="16" ALIGN="BOTTOM" BORDER="0"
|
|
SRC="img158.png"
|
|
ALT="\begin{lstlisting}
|
|
call mm_mat_write(a, mtitle, iret, iunit, filename)
|
|
\end{lstlisting}">
|
|
<BR>
|
|
<DL>
|
|
<DT><STRONG>Type:</STRONG></DT>
|
|
<DD>Asynchronous.
|
|
</DD>
|
|
<DT><STRONG><B>On Entry </B></STRONG></DT>
|
|
<DD>
|
|
</DD>
|
|
<DT><STRONG>a</STRONG></DT>
|
|
<DD>the sparse matrix to be written.
|
|
<BR>
|
|
Type:<B>required</B>.
|
|
<BR>
|
|
Specified as: a structured data of type spdata<TT>psb_Tspmat_type</TT>.
|
|
</DD>
|
|
<DT><STRONG>mtitle</STRONG></DT>
|
|
<DD>Matrix title.
|
|
<BR>
|
|
Type: <B>required</B>
|
|
<BR>
|
|
A charachter variable holding a descriptive title for the matrix to be
|
|
written to file.
|
|
</DD>
|
|
<DT><STRONG>filename</STRONG></DT>
|
|
<DD>The name of the file to be written to.
|
|
<BR>
|
|
Type:<B>optional</B>.
|
|
<BR>
|
|
Specified as: a character variable containing a valid file name, or
|
|
<code>-</code>, in which case the default output unit 6 (i.e. standard output
|
|
in Unix jargon) is used. Default: <code>-</code>.
|
|
</DD>
|
|
<DT><STRONG>iunit</STRONG></DT>
|
|
<DD>The Fortran file unit number.
|
|
<BR>
|
|
Type:<B>optional</B>.
|
|
<BR>
|
|
Specified as: an integer value. Only meaningful if filename is not <code>-</code>.
|
|
</DD>
|
|
</DL>
|
|
|
|
<P>
|
|
<DL>
|
|
<DT><STRONG><B>On Return</B></STRONG></DT>
|
|
<DD>
|
|
</DD>
|
|
<DT><STRONG>iret</STRONG></DT>
|
|
<DD>Error code.
|
|
<BR>
|
|
Type: <B>required</B>
|
|
<BR>
|
|
An integer value; 0 means no error has been detected.
|
|
</DD>
|
|
</DL>
|
|
|
|
<P>
|
|
<BR><HR>
|
|
|
|
</BODY>
|
|
</HTML>
|