|
|
|
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
|
|
|
|
"http://www.w3.org/TR/html4/loose.dtd">
|
|
|
|
<html >
|
|
|
|
<head><title>psb_geinv — Entrywise Inversion</title>
|
|
|
|
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
|
|
|
|
<meta name="generator" content="TeX4ht (http://www.tug.org/tex4ht/)">
|
|
|
|
<meta name="originator" content="TeX4ht (http://www.tug.org/tex4ht/)">
|
|
|
|
<!-- html,3 -->
|
|
|
|
<meta name="src" content="userhtml.tex">
|
|
|
|
<link rel="stylesheet" type="text/css" href="userhtml.css">
|
|
|
|
</head><body
|
|
|
|
>
|
|
|
|
<!--l. 1384--><div class="crosslinks"><p class="noindent">[<a
|
|
|
|
href="userhtmlsu24.html" >prev</a>] [<a
|
|
|
|
href="userhtmlsu24.html#tailuserhtmlsu24.html" >prev-tail</a>] [<a
|
|
|
|
href="userhtmlsu22.html#tailuserhtmlsu25.html">tail</a>] [<a
|
|
|
|
href="userhtmlsu12.html#userhtmlsu27.html" >up</a>] </p></div>
|
|
|
|
<h4 class="subsectionHead"><span class="titlemark">4.16 </span> <a
|
|
|
|
id="x34-710004.16"></a>psb_geinv — Entrywise Inversion</h4>
|
|
|
|
<!--l. 1386--><p class="noindent" >This function computes the entrywise inverse of a vector <span
|
|
|
|
class="cmmi-10">x </span>and puts it into
|
|
|
|
<span
|
|
|
|
class="cmmi-10">y</span>
|
|
|
|
<center class="math-display" >
|
|
|
|
<img
|
|
|
|
src="userhtml24x.png" alt="∕ ← 1∕x(i).
|
|
|
|
" class="math-display" ></center>
|
|
|
|
<!--l. 1388--><p class="nopar" >
|
|
|
|
<!--l. 1390--><p class="indent" > <span class="lstinline"></span><span
|
|
|
|
class="cmtt-10">psb_geinv</span><span
|
|
|
|
class="cmtt-10">(</span><span
|
|
|
|
class="cmtt-10">x</span><span
|
|
|
|
class="cmtt-10">,</span><span
|
|
|
|
class="cmtt-10"> </span><span
|
|
|
|
class="cmtt-10">y</span><span
|
|
|
|
class="cmtt-10">,</span><span
|
|
|
|
class="cmtt-10"> </span><span
|
|
|
|
class="cmtt-10">desc_a</span><span
|
|
|
|
class="cmtt-10">,</span><span
|
|
|
|
class="cmtt-10"> </span><span
|
|
|
|
class="cmtt-10">info</span><span
|
|
|
|
class="cmtt-10">,</span><span
|
|
|
|
class="cmtt-10"> </span><span
|
|
|
|
class="cmtt-10">[</span><span
|
|
|
|
class="cmtt-10">flag</span><span
|
|
|
|
class="cmtt-10">)</span>
|
|
|
|
<div class="table">
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<!--l. 1393--><p class="indent" > <a
|
|
|
|
id="x34-71001r16"></a><hr class="float"><div class="float"
|
|
|
|
>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<div class="center"
|
|
|
|
>
|
|
|
|
<!--l. 1394--><p class="noindent" >
|
|
|
|
<div class="tabular"> <table id="TBL-16" class="tabular"
|
|
|
|
cellspacing="0" cellpadding="0"
|
|
|
|
><colgroup id="TBL-16-1g"><col
|
|
|
|
id="TBL-16-1"><col
|
|
|
|
id="TBL-16-2"></colgroup><tr
|
|
|
|
class="hline"><td><hr></td><td><hr></td></tr><tr
|
|
|
|
style="vertical-align:baseline;" id="TBL-16-1-"><td style="white-space:nowrap; text-align:left;" id="TBL-16-1-1"
|
|
|
|
class="td11"><span
|
|
|
|
class="cmmi-10">∕</span>, <span
|
|
|
|
class="cmmi-10">x</span>, <span
|
|
|
|
class="cmmi-10">y </span></td><td style="white-space:nowrap; text-align:left;" id="TBL-16-1-2"
|
|
|
|
class="td11"><span
|
|
|
|
class="cmbx-10">Function</span></td>
|
|
|
|
</tr><tr
|
|
|
|
class="hline"><td><hr></td><td><hr></td></tr><tr
|
|
|
|
style="vertical-align:baseline;" id="TBL-16-2-"><td style="white-space:nowrap; text-align:left;" id="TBL-16-2-1"
|
|
|
|
class="td11">Short Precision Real </td><td style="white-space:nowrap; text-align:left;" id="TBL-16-2-2"
|
|
|
|
class="td11">psb_geinv</td>
|
|
|
|
</tr><tr
|
|
|
|
style="vertical-align:baseline;" id="TBL-16-3-"><td style="white-space:nowrap; text-align:left;" id="TBL-16-3-1"
|
|
|
|
class="td11">Long Precision Real </td><td style="white-space:nowrap; text-align:left;" id="TBL-16-3-2"
|
|
|
|
class="td11">psb_geinv</td>
|
|
|
|
</tr><tr
|
|
|
|
style="vertical-align:baseline;" id="TBL-16-4-"><td style="white-space:nowrap; text-align:left;" id="TBL-16-4-1"
|
|
|
|
class="td11">Short Precision Complex</td><td style="white-space:nowrap; text-align:left;" id="TBL-16-4-2"
|
|
|
|
class="td11">psb_geinv</td>
|
|
|
|
</tr><tr
|
|
|
|
style="vertical-align:baseline;" id="TBL-16-5-"><td style="white-space:nowrap; text-align:left;" id="TBL-16-5-1"
|
|
|
|
class="td11">Long Precision Complex </td><td style="white-space:nowrap; text-align:left;" id="TBL-16-5-2"
|
|
|
|
class="td11">psb_geinv</td>
|
|
|
|
</tr><tr
|
|
|
|
class="hline"><td><hr></td><td><hr></td></tr><tr
|
|
|
|
style="vertical-align:baseline;" id="TBL-16-6-"><td style="white-space:nowrap; text-align:left;" id="TBL-16-6-1"
|
|
|
|
class="td11"> </td></tr></table></div></div>
|
|
|
|
<br /> <div class="caption"
|
|
|
|
><span class="id">Table 16: </span><span
|
|
|
|
class="content">Data types</span></div><!--tex4ht:label?: x34-71001r16 -->
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</div><hr class="endfloat" />
|
|
|
|
</div>
|
|
|
|
<dl class="description"><dt class="description">
|
|
|
|
<span
|
|
|
|
class="cmbx-10">Type:</span> </dt><dd
|
|
|
|
class="description">Synchronous.
|
|
|
|
</dd><dt class="description">
|
|
|
|
<span
|
|
|
|
class="cmbx-10">On Entry</span> </dt><dd
|
|
|
|
class="description">
|
|
|
|
</dd><dt class="description">
|
|
|
|
<span
|
|
|
|
class="cmbx-10">x</span> </dt><dd
|
|
|
|
class="description">the local portion of global dense vector <span
|
|
|
|
class="cmmi-10">x</span>.<br
|
|
|
|
class="newline" />Scope: <span
|
|
|
|
class="cmbx-10">local </span><br
|
|
|
|
class="newline" />Type: <span
|
|
|
|
class="cmbx-10">required </span><br
|
|
|
|
class="newline" />Intent: <span
|
|
|
|
class="cmbx-10">in</span>.<br
|
|
|
|
class="newline" />Specified as: an object of type <a
|
|
|
|
href="userhtmlsu7.html#vdata"><span
|
|
|
|
class="cmtt-10">psb</span><span
|
|
|
|
class="cmtt-10">_T</span><span
|
|
|
|
class="cmtt-10">_vect</span><span
|
|
|
|
class="cmtt-10">_type</span></a> containing numbers of
|
|
|
|
type specified in Table <a
|
|
|
|
href="userhtmlsu11.html#x20-57001r2">2<!--tex4ht:ref: tab:f90dot --></a>.
|
|
|
|
</dd><dt class="description">
|
|
|
|
<span
|
|
|
|
class="cmbx-10">desc</span><span
|
|
|
|
class="cmbx-10">_a</span> </dt><dd
|
|
|
|
class="description">contains data structures for communications.<br
|
|
|
|
class="newline" />Scope: <span
|
|
|
|
class="cmbx-10">local </span><br
|
|
|
|
class="newline" />Type: <span
|
|
|
|
class="cmbx-10">required</span><br
|
|
|
|
class="newline" />Intent: <span
|
|
|
|
class="cmbx-10">in</span>.<br
|
|
|
|
class="newline" />Specified as: an object of type <a
|
|
|
|
href="userhtmlsu5.html#descdata"><span
|
|
|
|
class="cmtt-10">psb</span><span
|
|
|
|
class="cmtt-10">_desc</span><span
|
|
|
|
class="cmtt-10">_type</span></a>.
|
|
|
|
</dd><dt class="description">
|
|
|
|
<span
|
|
|
|
class="cmbx-10">flag</span> </dt><dd
|
|
|
|
class="description">check if any of the <span
|
|
|
|
class="cmmi-10">x</span>(<span
|
|
|
|
class="cmmi-10">i</span>) = 0, and in case returns error halting the
|
|
|
|
computation.<br
|
|
|
|
class="newline" />Scope: <span
|
|
|
|
class="cmbx-10">local </span><br
|
|
|
|
class="newline" />Type: <span
|
|
|
|
class="cmbx-10">optional </span>Intent: <span
|
|
|
|
class="cmbx-10">in</span>.<br
|
|
|
|
class="newline" />Specified as: the logical value <span class="lstinline"></span><span
|
|
|
|
class="cmtt-10">flag</span><span
|
|
|
|
class="cmtt-10">=.</span><span
|
|
|
|
class="cmtt-10">true</span><span
|
|
|
|
class="cmtt-10">.</span>
|
|
|
|
</dd><dt class="description">
|
|
|
|
<span
|
|
|
|
class="cmbx-10">On Return</span> </dt><dd
|
|
|
|
class="description">
|
|
|
|
</dd><dt class="description">
|
|
|
|
<span
|
|
|
|
class="cmbx-10">y</span> </dt><dd
|
|
|
|
class="description">the local portion of result submatrix <span
|
|
|
|
class="cmmi-10">x</span>.<br
|
|
|
|
class="newline" />Scope: <span
|
|
|
|
class="cmbx-10">local </span><br
|
|
|
|
class="newline" />Type: <span
|
|
|
|
class="cmbx-10">required </span><br
|
|
|
|
class="newline" />Intent: <span
|
|
|
|
class="cmbx-10">out</span>.<br
|
|
|
|
class="newline" />Specified as: an object of type <a
|
|
|
|
href="userhtmlsu7.html#vdata"><span
|
|
|
|
class="cmtt-10">psb</span><span
|
|
|
|
class="cmtt-10">_T</span><span
|
|
|
|
class="cmtt-10">_vect</span><span
|
|
|
|
class="cmtt-10">_type</span></a> containing numbers of
|
|
|
|
the type indicated in Table <a
|
|
|
|
href="#x34-71001r16">16<!--tex4ht:ref: tab:f90inv --></a>.
|
|
|
|
</dd><dt class="description">
|
|
|
|
<span
|
|
|
|
class="cmbx-10">info</span> </dt><dd
|
|
|
|
class="description">Error code.<br
|
|
|
|
class="newline" />Scope: <span
|
|
|
|
class="cmbx-10">local </span><br
|
|
|
|
class="newline" />Type: <span
|
|
|
|
class="cmbx-10">required </span><br
|
|
|
|
class="newline" />Intent: <span
|
|
|
|
class="cmbx-10">out</span>.<br
|
|
|
|
class="newline" />An integer value; 0 means no error has been detected.</dd></dl>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<!--l. 1--><div class="crosslinks"><p class="noindent">[<a
|
|
|
|
href="userhtmlsu24.html" >prev</a>] [<a
|
|
|
|
href="userhtmlsu24.html#tailuserhtmlsu24.html" >prev-tail</a>] [<a
|
|
|
|
href="userhtmlsu25.html" >front</a>] [<a
|
|
|
|
href="userhtmlsu12.html#userhtmlsu27.html" >up</a>] </p></div>
|
|
|
|
<!--l. 1--><p class="indent" > <a
|
|
|
|
id="tailuserhtmlsu25.html"></a>
|
|
|
|
</body></html>
|