mirror of
https://github.com/sfilippone/psblas3.git
synced 2026-10-16 02:49:03 +00:00
Added entrywise inversion and documentation for vec-vec operation
This commit is contained in:
+49
-44
@@ -3,8 +3,8 @@
|
||||
<!--Converted with LaTeX2HTML 2018 (Released Feb 1, 2018) -->
|
||||
<HTML>
|
||||
<HEAD>
|
||||
<TITLE>psb_geasb -- Assembly a dense matrix</TITLE>
|
||||
<META NAME="description" CONTENT="psb_geasb -- Assembly a dense matrix">
|
||||
<TITLE>psb_sprn -- Reinit sparse matrix structure for psblas routines.</TITLE>
|
||||
<META NAME="description" CONTENT="psb_sprn -- Reinit sparse matrix structure for psblas routines.">
|
||||
<META NAME="keywords" CONTENT="userhtml">
|
||||
<META NAME="resource-type" CONTENT="document">
|
||||
<META NAME="distribution" CONTENT="global">
|
||||
@@ -16,45 +16,46 @@
|
||||
|
||||
<LINK REL="next" HREF="node86.html">
|
||||
<LINK REL="previous" HREF="node84.html">
|
||||
<LINK REL="up" HREF="node71.html">
|
||||
<LINK REL="up" HREF="node74.html">
|
||||
<LINK REL="next" HREF="node86.html">
|
||||
</HEAD>
|
||||
|
||||
<BODY >
|
||||
|
||||
<DIV CLASS="navigation"><!--Navigation Panel-->
|
||||
<A NAME="tex2html1322"
|
||||
<A NAME="tex2html1331"
|
||||
HREF="node86.html">
|
||||
<IMG WIDTH="37" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="next" SRC="next.png"></A>
|
||||
<A NAME="tex2html1318"
|
||||
HREF="node71.html">
|
||||
<A NAME="tex2html1327"
|
||||
HREF="node74.html">
|
||||
<IMG WIDTH="26" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="up" SRC="up.png"></A>
|
||||
<A NAME="tex2html1312"
|
||||
<A NAME="tex2html1321"
|
||||
HREF="node84.html">
|
||||
<IMG WIDTH="63" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="previous" SRC="prev.png"></A>
|
||||
<A NAME="tex2html1320"
|
||||
<A NAME="tex2html1329"
|
||||
HREF="node1.html">
|
||||
<IMG WIDTH="65" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="contents" SRC="contents.png"></A>
|
||||
<BR>
|
||||
<B> Next:</B> <A NAME="tex2html1323"
|
||||
HREF="node86.html">psb_gefree Frees</A>
|
||||
<B> Up:</B> <A NAME="tex2html1319"
|
||||
HREF="node71.html">Data management routines</A>
|
||||
<B> Previous:</B> <A NAME="tex2html1313"
|
||||
HREF="node84.html">psb_geins Dense</A>
|
||||
<B> <A NAME="tex2html1321"
|
||||
<B> Next:</B> <A NAME="tex2html1332"
|
||||
HREF="node86.html">psb_geall Allocates</A>
|
||||
<B> Up:</B> <A NAME="tex2html1328"
|
||||
HREF="node74.html">Data management routines</A>
|
||||
<B> Previous:</B> <A NAME="tex2html1322"
|
||||
HREF="node84.html">psb_spfree Frees</A>
|
||||
<B> <A NAME="tex2html1330"
|
||||
HREF="node1.html">Contents</A></B>
|
||||
<BR>
|
||||
<BR></DIV>
|
||||
<!--End of Navigation Panel-->
|
||||
|
||||
<H2><A NAME="SECTION000714000000000000000">
|
||||
psb_geasb -- Assembly a dense matrix</A>
|
||||
<H2><A NAME="SECTION000711000000000000000">
|
||||
psb_sprn -- Reinit sparse matrix structure for psblas
|
||||
routines.</A>
|
||||
</H2>
|
||||
|
||||
<P>
|
||||
<PRE>
|
||||
call psb_geasb(x, desc_a, info, mold)
|
||||
call psb_sprn(a, decsc_a, info, clear)
|
||||
</PRE>
|
||||
|
||||
<P>
|
||||
@@ -65,31 +66,38 @@ call psb_geasb(x, desc_a, info, mold)
|
||||
<DT><STRONG><B>On Entry</B></STRONG></DT>
|
||||
<DD>
|
||||
</DD>
|
||||
<DT><STRONG>a</STRONG></DT>
|
||||
<DD>the matrix to be reinitialized.
|
||||
<BR>
|
||||
Scope:<B>local</B>
|
||||
<BR>
|
||||
Type:<B>required</B>
|
||||
<BR>
|
||||
Intent: <B>inout</B>.
|
||||
<BR>
|
||||
Specified as: a structured data of type spdata<TT>psb_Tspmat_type</TT>.
|
||||
</DD>
|
||||
<DT><STRONG>desc_a</STRONG></DT>
|
||||
<DD>The communication descriptor.
|
||||
<DD>the communication descriptor.
|
||||
<BR>
|
||||
Scope: <B>local</B>
|
||||
Scope:<B>local</B>.
|
||||
<BR>
|
||||
Type: <B>required</B>
|
||||
Type:<B>required</B>.
|
||||
<BR>
|
||||
Intent: <B>in</B>.
|
||||
<BR>
|
||||
Specified as: a variable of type descdata<TT>psb_desc_type</TT>.
|
||||
<BR></DD>
|
||||
<DT><STRONG>mold</STRONG></DT>
|
||||
<DD>The desired dynamic type for the internal vector storage.
|
||||
Specified as: a structured data of type descdata<TT>psb_desc_type</TT>.
|
||||
</DD>
|
||||
<DT><STRONG>clear</STRONG></DT>
|
||||
<DD>Choose whether to zero out matrix coefficients
|
||||
<BR>
|
||||
Scope: <B>local</B>.
|
||||
Scope:<B>local</B>.
|
||||
<BR>
|
||||
Type: <B>optional</B>.
|
||||
Type:<B>optional</B>.
|
||||
<BR>
|
||||
Intent: <B>in</B>.
|
||||
<BR>
|
||||
Specified as: an object of a class derived from vbasedata<TT>psb_T_base_vect_type</TT>; this is
|
||||
only allowed when <SPAN CLASS="MATH"><IMG
|
||||
WIDTH="13" HEIGHT="13" ALIGN="BOTTOM" BORDER="0"
|
||||
SRC="img20.png"
|
||||
ALT="$x$"></SPAN> is of type vdata<TT>psb_T_vect_type</TT>.
|
||||
Default: true.
|
||||
</DD>
|
||||
</DL>
|
||||
|
||||
@@ -98,18 +106,6 @@ only allowed when <SPAN CLASS="MATH"><IMG
|
||||
<DT><STRONG><B>On Return</B></STRONG></DT>
|
||||
<DD>
|
||||
</DD>
|
||||
<DT><STRONG>x</STRONG></DT>
|
||||
<DD>The dense matrix to be assembled.
|
||||
<BR>
|
||||
Scope: <B>local</B>
|
||||
<BR>
|
||||
Type: <B>required</B>
|
||||
<BR>
|
||||
Intent: <B>inout</B>.
|
||||
<BR>
|
||||
Specified as: a rank one or two array with the ALLOCATABLE or an
|
||||
object of type vdata<TT>psb_T_vect_type</TT>, of type real, complex or integer.
|
||||
<BR></DD>
|
||||
<DT><STRONG>info</STRONG></DT>
|
||||
<DD>Error code.
|
||||
<BR>
|
||||
@@ -122,6 +118,15 @@ Intent: <B>out</B>.
|
||||
An integer value; 0 means no error has been detected.
|
||||
</DD>
|
||||
</DL>
|
||||
<BIG CLASS="LARGE"><B>Notes</B></BIG>
|
||||
|
||||
<OL>
|
||||
<LI>On exit from this routine the sparse matrix is in the update
|
||||
state.
|
||||
</LI>
|
||||
</OL>
|
||||
|
||||
<P>
|
||||
<BR><HR>
|
||||
|
||||
</BODY>
|
||||
|
||||
Reference in New Issue
Block a user