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:
+28
-28
@@ -23,26 +23,26 @@
|
||||
<BODY >
|
||||
|
||||
<DIV CLASS="navigation"><!--Navigation Panel-->
|
||||
<A NAME="tex2html983"
|
||||
<A NAME="tex2html992"
|
||||
HREF="node60.html">
|
||||
<IMG WIDTH="37" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="next" SRC="next.png"></A>
|
||||
<A NAME="tex2html979"
|
||||
<A NAME="tex2html988"
|
||||
HREF="node52.html">
|
||||
<IMG WIDTH="26" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="up" SRC="up.png"></A>
|
||||
<A NAME="tex2html973"
|
||||
<A NAME="tex2html982"
|
||||
HREF="node58.html">
|
||||
<IMG WIDTH="63" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="previous" SRC="prev.png"></A>
|
||||
<A NAME="tex2html981"
|
||||
<A NAME="tex2html990"
|
||||
HREF="node1.html">
|
||||
<IMG WIDTH="65" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="contents" SRC="contents.png"></A>
|
||||
<BR>
|
||||
<B> Next:</B> <A NAME="tex2html984"
|
||||
<B> Next:</B> <A NAME="tex2html993"
|
||||
HREF="node60.html">psb_norm2 2-Norm</A>
|
||||
<B> Up:</B> <A NAME="tex2html980"
|
||||
<B> Up:</B> <A NAME="tex2html989"
|
||||
HREF="node52.html">Computational routines</A>
|
||||
<B> Previous:</B> <A NAME="tex2html974"
|
||||
<B> Previous:</B> <A NAME="tex2html983"
|
||||
HREF="node58.html">psb_norm1 1-Norm</A>
|
||||
<B> <A NAME="tex2html982"
|
||||
<B> <A NAME="tex2html991"
|
||||
HREF="node1.html">Contents</A></B>
|
||||
<BR>
|
||||
<BR></DIV>
|
||||
@@ -55,7 +55,7 @@ psb_geasums -- Generalized 1-Norm of Vector</A>
|
||||
<P>
|
||||
This subroutine computes a series of 1-norms on the columns of
|
||||
a dense matrix <SPAN CLASS="MATH"><IMG
|
||||
WIDTH="13" HEIGHT="13" ALIGN="BOTTOM" BORDER="0"
|
||||
WIDTH="13" HEIGHT="14" ALIGN="BOTTOM" BORDER="0"
|
||||
SRC="img20.png"
|
||||
ALT="$x$"></SPAN>:
|
||||
<BR><P></P>
|
||||
@@ -67,19 +67,19 @@ res(i) \leftarrow \max_k |x(k,i)|
|
||||
-->
|
||||
|
||||
<IMG
|
||||
WIDTH="147" HEIGHT="36" BORDER="0"
|
||||
WIDTH="148" HEIGHT="36" BORDER="0"
|
||||
SRC="img34.png"
|
||||
ALT="\begin{displaymath}res(i) \leftarrow \max_k \vert x(k,i)\vert \end{displaymath}">
|
||||
</DIV>
|
||||
<BR CLEAR="ALL">
|
||||
<P></P>
|
||||
This function computes the 1-norm of a vector <SPAN CLASS="MATH"><IMG
|
||||
WIDTH="13" HEIGHT="13" ALIGN="BOTTOM" BORDER="0"
|
||||
WIDTH="13" HEIGHT="14" ALIGN="BOTTOM" BORDER="0"
|
||||
SRC="img20.png"
|
||||
ALT="$x$"></SPAN>.
|
||||
<BR>
|
||||
If <SPAN CLASS="MATH"><IMG
|
||||
WIDTH="13" HEIGHT="13" ALIGN="BOTTOM" BORDER="0"
|
||||
WIDTH="13" HEIGHT="14" ALIGN="BOTTOM" BORDER="0"
|
||||
SRC="img20.png"
|
||||
ALT="$x$"></SPAN> is a real vector
|
||||
it computes 1-norm as:
|
||||
@@ -92,14 +92,14 @@ res(i) \leftarrow \|x_i\|
|
||||
-->
|
||||
|
||||
<IMG
|
||||
WIDTH="94" HEIGHT="28" BORDER="0"
|
||||
WIDTH="93" HEIGHT="29" BORDER="0"
|
||||
SRC="img39.png"
|
||||
ALT="\begin{displaymath}res(i) \leftarrow \Vert x_i\Vert\end{displaymath}">
|
||||
</DIV>
|
||||
<BR CLEAR="ALL">
|
||||
<P></P>
|
||||
else if <SPAN CLASS="MATH"><IMG
|
||||
WIDTH="13" HEIGHT="13" ALIGN="BOTTOM" BORDER="0"
|
||||
WIDTH="13" HEIGHT="14" ALIGN="BOTTOM" BORDER="0"
|
||||
SRC="img20.png"
|
||||
ALT="$x$"></SPAN> is a complex vector then it computes 1-norm as:
|
||||
<BR><P></P>
|
||||
@@ -111,7 +111,7 @@ res(i) \leftarrow \|re(x)\|_1 + \|im(x)\|_1
|
||||
-->
|
||||
|
||||
<IMG
|
||||
WIDTH="206" HEIGHT="28" BORDER="0"
|
||||
WIDTH="207" HEIGHT="29" BORDER="0"
|
||||
SRC="img40.png"
|
||||
ALT="\begin{displaymath}res(i) \leftarrow \Vert re(x)\Vert _1 + \Vert im(x)\Vert _1\end{displaymath}">
|
||||
</DIV>
|
||||
@@ -125,7 +125,7 @@ call psb_geasums(res, x, desc_a, info)
|
||||
|
||||
<P>
|
||||
<BR><P></P>
|
||||
<DIV ALIGN="CENTER"><A NAME="2029"></A>
|
||||
<DIV ALIGN="CENTER"><A NAME="2136"></A>
|
||||
<TABLE>
|
||||
<CAPTION><STRONG>Table 7:</STRONG>
|
||||
Data types</CAPTION>
|
||||
@@ -133,11 +133,11 @@ Data types</CAPTION>
|
||||
<DIV ALIGN="CENTER">
|
||||
<TABLE CELLPADDING=3 BORDER="1" ALIGN="CENTER">
|
||||
<TR><TD ALIGN="LEFT"><SPAN CLASS="MATH"><IMG
|
||||
WIDTH="27" HEIGHT="13" ALIGN="BOTTOM" BORDER="0"
|
||||
WIDTH="26" HEIGHT="14" ALIGN="BOTTOM" BORDER="0"
|
||||
SRC="img29.png"
|
||||
ALT="$res$"></SPAN></TD>
|
||||
<TD ALIGN="LEFT"><SPAN CLASS="MATH"><IMG
|
||||
WIDTH="13" HEIGHT="13" ALIGN="BOTTOM" BORDER="0"
|
||||
WIDTH="13" HEIGHT="14" ALIGN="BOTTOM" BORDER="0"
|
||||
SRC="img20.png"
|
||||
ALT="$x$"></SPAN></TD>
|
||||
<TD ALIGN="LEFT"><B>Subroutine</B></TD>
|
||||
@@ -176,7 +176,7 @@ Data types</CAPTION>
|
||||
<DT><STRONG>x</STRONG></DT>
|
||||
<DD>the local portion of global dense matrix
|
||||
<SPAN CLASS="MATH"><IMG
|
||||
WIDTH="13" HEIGHT="13" ALIGN="BOTTOM" BORDER="0"
|
||||
WIDTH="13" HEIGHT="14" ALIGN="BOTTOM" BORDER="0"
|
||||
SRC="img20.png"
|
||||
ALT="$x$"></SPAN>.
|
||||
|
||||
@@ -209,7 +209,7 @@ Specified as: an object of type descdata<TT>psb_desc_type</TT>.
|
||||
</DD>
|
||||
<DT><STRONG>res</STRONG></DT>
|
||||
<DD>contains the 1-norm of (the columns of) <SPAN CLASS="MATH"><IMG
|
||||
WIDTH="13" HEIGHT="13" ALIGN="BOTTOM" BORDER="0"
|
||||
WIDTH="13" HEIGHT="14" ALIGN="BOTTOM" BORDER="0"
|
||||
SRC="img20.png"
|
||||
ALT="$x$"></SPAN>.
|
||||
<BR>
|
||||
@@ -237,26 +237,26 @@ An integer value; 0 means no error has been detected.
|
||||
|
||||
<DIV CLASS="navigation"><HR>
|
||||
<!--Navigation Panel-->
|
||||
<A NAME="tex2html983"
|
||||
<A NAME="tex2html992"
|
||||
HREF="node60.html">
|
||||
<IMG WIDTH="37" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="next" SRC="next.png"></A>
|
||||
<A NAME="tex2html979"
|
||||
<A NAME="tex2html988"
|
||||
HREF="node52.html">
|
||||
<IMG WIDTH="26" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="up" SRC="up.png"></A>
|
||||
<A NAME="tex2html973"
|
||||
<A NAME="tex2html982"
|
||||
HREF="node58.html">
|
||||
<IMG WIDTH="63" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="previous" SRC="prev.png"></A>
|
||||
<A NAME="tex2html981"
|
||||
<A NAME="tex2html990"
|
||||
HREF="node1.html">
|
||||
<IMG WIDTH="65" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="contents" SRC="contents.png"></A>
|
||||
<BR>
|
||||
<B> Next:</B> <A NAME="tex2html984"
|
||||
<B> Next:</B> <A NAME="tex2html993"
|
||||
HREF="node60.html">psb_norm2 2-Norm</A>
|
||||
<B> Up:</B> <A NAME="tex2html980"
|
||||
<B> Up:</B> <A NAME="tex2html989"
|
||||
HREF="node52.html">Computational routines</A>
|
||||
<B> Previous:</B> <A NAME="tex2html974"
|
||||
<B> Previous:</B> <A NAME="tex2html983"
|
||||
HREF="node58.html">psb_norm1 1-Norm</A>
|
||||
<B> <A NAME="tex2html982"
|
||||
<B> <A NAME="tex2html991"
|
||||
HREF="node1.html">Contents</A></B> </DIV>
|
||||
<!--End of Navigation Panel-->
|
||||
|
||||
|
||||
Reference in New Issue
Block a user