Added entrywise inversion and documentation for vec-vec operation

This commit is contained in:
cirdans-home
2019-11-21 13:56:22 +01:00
parent db7b882e9c
commit b3c4971146
340 changed files with 24932 additions and 20314 deletions
+147 -48
View File
@@ -3,8 +3,8 @@
<!--Converted with LaTeX2HTML 2018 (Released Feb 1, 2018) -->
<HTML>
<HEAD>
<TITLE>Utilities</TITLE>
<META NAME="description" CONTENT="Utilities">
<TITLE>psb_snd -- Send data</TITLE>
<META NAME="description" CONTENT="psb_snd -- Send data">
<META NAME="keywords" CONTENT="userhtml">
<META NAME="resource-type" CONTENT="document">
<META NAME="distribution" CONTENT="global">
@@ -14,78 +14,177 @@
<LINK REL="STYLESHEET" HREF="userhtml.css">
<LINK REL="next" HREF="node125.html">
<LINK REL="next" HREF="node119.html">
<LINK REL="previous" HREF="node117.html">
<LINK REL="up" HREF="userhtml.html">
<LINK REL="up" HREF="node102.html">
<LINK REL="next" HREF="node119.html">
</HEAD>
<BODY >
<DIV CLASS="navigation"><!--Navigation Panel-->
<A NAME="tex2html1731"
<A NAME="tex2html1742"
HREF="node119.html">
<IMG WIDTH="37" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="next" SRC="next.png"></A>
<A NAME="tex2html1727"
HREF="userhtml.html">
<A NAME="tex2html1738"
HREF="node102.html">
<IMG WIDTH="26" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="up" SRC="up.png"></A>
<A NAME="tex2html1721"
<A NAME="tex2html1732"
HREF="node117.html">
<IMG WIDTH="63" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="previous" SRC="prev.png"></A>
<A NAME="tex2html1729"
<A NAME="tex2html1740"
HREF="node1.html">
<IMG WIDTH="65" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="contents" SRC="contents.png"></A>
<BR>
<B> Next:</B> <A NAME="tex2html1732"
HREF="node119.html">hb_read Read</A>
<B> Up:</B> <A NAME="tex2html1728"
HREF="userhtml.html">userhtml</A>
<B> Previous:</B> <A NAME="tex2html1722"
HREF="node117.html">Error handling</A>
&nbsp; <B> <A NAME="tex2html1730"
<B> Next:</B> <A NAME="tex2html1743"
HREF="node119.html">psb_rcv Receive</A>
<B> Up:</B> <A NAME="tex2html1739"
HREF="node102.html">Parallel environment routines</A>
<B> Previous:</B> <A NAME="tex2html1733"
HREF="node117.html">psb_nrm2 Global</A>
&nbsp; <B> <A NAME="tex2html1741"
HREF="node1.html">Contents</A></B>
<BR>
<BR></DIV>
<!--End of Navigation Panel-->
<H1><A NAME="SECTION000100000000000000000"></A>
<A NAME="sec:util"></A>
<H2><A NAME="SECTION000816000000000000000">
psb_snd -- Send data</A>
</H2>
<P>
<PRE>
call psb_snd(icontxt, dat, dst, m)
</PRE>
<P>
This subroutine sends a packet of data to a destination.
<DL>
<DT><STRONG>Type:</STRONG></DT>
<DD>Synchronous: see usage notes.
</DD>
<DT><STRONG><B>On Entry </B></STRONG></DT>
<DD>
</DD>
<DT><STRONG>icontxt</STRONG></DT>
<DD>the communication context identifying the virtual
parallel machine.
<BR>
Utilities
</H1>
Scope: <B>global</B>.
<BR>
Type: <B>required</B>.
<BR>
Intent: <B>in</B>.
<BR>
Specified as: an integer variable.
</DD>
<DT><STRONG>dat</STRONG></DT>
<DD>The data to be sent.
<BR>
Scope: <B>local</B>.
<BR>
Type: <B>required</B>.
<BR>
Intent: <B>in</B>.
<BR>
Specified as: an integer, real or complex variable, which may be a
scalar, or a rank 1 or 2 array, or a character or logical scalar. Type, kind and rank must agree on sender and receiver process; if <SPAN CLASS="MATH"><IMG
WIDTH="18" HEIGHT="14" ALIGN="BOTTOM" BORDER="0"
SRC="img151.png"
ALT="$m$"></SPAN> is
not specified, size must agree as well.
</DD>
<DT><STRONG>dst</STRONG></DT>
<DD>Destination process.
<BR>
Scope: <B>global</B>.
<BR>
Type: <B>required</B>.
<BR>
Intent: <B>in</B>.
<BR>
Specified as: an integer value <!-- MATH
$0<= dst <= np-1$
-->
<SPAN CLASS="MATH"><IMG
WIDTH="145" HEIGHT="30" ALIGN="MIDDLE" BORDER="0"
SRC="img152.png"
ALT="$0&lt;= dst &lt;= np-1$"></SPAN>.
<BR></DD>
<DT><STRONG>m</STRONG></DT>
<DD>Number of rows.
<BR>
Scope: <B>global</B>.
<BR>
Type: <B>Optional</B>.
<BR>
Intent: <B>in</B>.
<BR>
Specified as: an integer value <!-- MATH
$0<= m <= size(dat,1)$
-->
<SPAN CLASS="MATH"><IMG
WIDTH="171" HEIGHT="31" ALIGN="MIDDLE" BORDER="0"
SRC="img153.png"
ALT="$0&lt;= m &lt;= size(dat,1)$"></SPAN>.
<BR>
When <SPAN CLASS="MATH"><IMG
WIDTH="26" HEIGHT="15" ALIGN="BOTTOM" BORDER="0"
SRC="img149.png"
ALT="$dat$"></SPAN> is a rank 2 array, specifies the number of rows to be sent
independently of the leading dimension <SPAN CLASS="MATH"><IMG
WIDTH="82" HEIGHT="31" ALIGN="MIDDLE" BORDER="0"
SRC="img154.png"
ALT="$size(dat,1)$"></SPAN>; must have the
same value on sending and receiving processes.
</DD>
</DL>
<P>
We have some utilities available for input and output of
sparse matrices; the interfaces to these routines are available in the
module <code>psb_util_mod</code>.
<DL>
<DT><STRONG><B>On Return</B></STRONG></DT>
<DD>
</DD>
</DL>
<P>
<BR><HR>
<!--Table of Child-Links-->
<A NAME="CHILD_LINKS"><STRONG>Subsections</STRONG></A>
<BIG CLASS="LARGE"><B>Notes</B></BIG>
<UL CLASS="ChildLinks">
<LI><A NAME="tex2html1733"
HREF="node119.html">hb_read -- Read a sparse matrix from a file in the
Harwell-Boeing format</A>
<LI><A NAME="tex2html1734"
HREF="node120.html">hb_write -- Write a sparse matrix to a file
in the Harwell-Boeing format</A>
<LI><A NAME="tex2html1735"
HREF="node121.html">mm_mat_read -- Read a sparse matrix from a
file in the MatrixMarket format</A>
<LI><A NAME="tex2html1736"
HREF="node122.html">mm_array_read -- Read a dense array from a
file in the MatrixMarket format</A>
<LI><A NAME="tex2html1737"
HREF="node123.html">mm_mat_write -- Write a sparse matrix to a
file in the MatrixMarket format</A>
<LI><A NAME="tex2html1738"
HREF="node124.html">mm_array_write -- Write a dense array from a
file in the MatrixMarket format</A>
</UL>
<!--End of Table of Child-Links-->
<BR><HR>
<OL>
<LI>This subroutine implies a synchronization, but only between the
calling process and the destination process <SPAN CLASS="MATH"><IMG
WIDTH="25" HEIGHT="15" ALIGN="BOTTOM" BORDER="0"
SRC="img155.png"
ALT="$dst$"></SPAN>.
</LI>
</OL>
<P>
<DIV CLASS="navigation"><HR>
<!--Navigation Panel-->
<A NAME="tex2html1742"
HREF="node119.html">
<IMG WIDTH="37" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="next" SRC="next.png"></A>
<A NAME="tex2html1738"
HREF="node102.html">
<IMG WIDTH="26" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="up" SRC="up.png"></A>
<A NAME="tex2html1732"
HREF="node117.html">
<IMG WIDTH="63" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="previous" SRC="prev.png"></A>
<A NAME="tex2html1740"
HREF="node1.html">
<IMG WIDTH="65" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="contents" SRC="contents.png"></A>
<BR>
<B> Next:</B> <A NAME="tex2html1743"
HREF="node119.html">psb_rcv Receive</A>
<B> Up:</B> <A NAME="tex2html1739"
HREF="node102.html">Parallel environment routines</A>
<B> Previous:</B> <A NAME="tex2html1733"
HREF="node117.html">psb_nrm2 Global</A>
&nbsp; <B> <A NAME="tex2html1741"
HREF="node1.html">Contents</A></B> </DIV>
<!--End of Navigation Panel-->
</BODY>
</HTML>