Sophie

Sophie

distrib > Fedora > 15 > i386 > by-pkgid > 7ebd25ac536d248d499a3ce2acda963a > files > 4524

Macaulay2-1.3.1-8.fc15.i686.rpm

<?xml version="1.0" encoding="utf-8" ?>  <!-- for emacs: -*- coding: utf-8 -*- -->
<!-- Apache may like this line in the file .htaccess: AddCharset utf-8 .html -->
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1 plus MathML 2.0 plus SVG 1.1//EN"	 "http://www.w3.org/2002/04/xhtml-math-svg/xhtml-math-svg-flat.dtd" >
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
<head><title>ii -- the square root of -1</title>
<link rel="stylesheet" type="text/css" href="../../../../Macaulay2/Style/doc.css"/>
</head>
<body>
<table class="buttons">
  <tr>
    <td><div><a href="_image.html">next</a> | <a href="___Ignore__Example__Errors.html">previous</a> | <a href="_image.html">forward</a> | <a href="___Ignore__Example__Errors.html">backward</a> | up | <a href="index.html">top</a> | <a href="master.html">index</a> | <a href="toc.html">toc</a> | <a href="http://www.math.uiuc.edu/Macaulay2/">Macaulay2 web site</a></div>

    </td>
  </tr>
</table>
<hr/>
<div><h1>ii -- the square root of -1</h1>
<div class="single"><h2>Synopsis</h2>
<ul><li><div class="list"><dl class="element"><dt class="heading">Usage: </dt><dd class="value"><div><tt>ii</tt></div>
</dd></dl>
</div>
</li>
<li><div class="single">Outputs:<ul><li><span><span>a <a href="___C__C.html">complex number</a></span>, the square root of -1, converted to a numeric value of the correct precision, when necessary.</span></li>
</ul>
</div>
</li>
</ul>
</div>
<div class="single"><h2>Description</h2>
<div><table class="examples"><tr><td><pre>i1 : ii

o1 = ii

o1 : Constant</pre>
</td></tr>
<tr><td><pre>i2 : ii+1p100

o2 = 1+ii

o2 : CC (of precision 100)</pre>
</td></tr>
<tr><td><pre>i3 : numeric ii

o3 = ii

o3 : CC (of precision 53)</pre>
</td></tr>
<tr><td><pre>i4 : numeric_100 ii

o4 = ii

o4 : CC (of precision 100)</pre>
</td></tr>
</table>
Here is the simplest way to convert ii to a numeric value:<table class="examples"><tr><td><pre>i5 : +ii

o5 = ii

o5 : CC (of precision 53)</pre>
</td></tr>
</table>
</div>
</div>
<div class="single"><h2>See also</h2>
<ul><li><span><a href="_numeric.html" title="convert to floating point">numeric</a> -- convert to floating point</span></li>
</ul>
</div>
<div class="waystouse"><h2>For the programmer</h2>
<p>The object <a href="_ii.html" title="the square root of -1">ii</a> is <span>an object of class <a href="___Constant.html" title="">Constant</a></span>.</p>
</div>
</div>
</body>
</html>