<?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>InexactFieldFamily -- the class of all families of inexact fields</title> <link rel="stylesheet" type="text/css" href="../../../../Macaulay2/Style/doc.css"/> </head> <body> <table class="buttons"> <tr> <td><div><a href="___Inexact__Number.html">next</a> | <a href="___Inexact__Field.html">previous</a> | <a href="___Inexact__Number.html">forward</a> | <a href="___Inexact__Field.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>InexactFieldFamily -- the class of all families of inexact fields</h1> <div class="single"><h2>Description</h2> <div><p>All real numbers have the same class, <a href="___R__R.html" title="the class of all real numbers">RR</a>, but the rings they belong to depends on the number of binary digits of precision used to represent them. Similarly for complex numbers, which all belong to the class <a href="___C__C.html" title="the class of all complex numbers">CC</a>. Thus <a href="___R__R.html" title="the class of all real numbers">RR</a> and <a href="___C__C.html" title="the class of all complex numbers">CC</a> are regarded not as inexact fields, but as families of inexact fields.</p> <table class="examples"><tr><td><pre>i1 : x = 1/3. o1 = .333333333333333 o1 : RR (of precision 53)</pre> </td></tr> <tr><td><pre>i2 : class x o2 = RR o2 : InexactFieldFamily</pre> </td></tr> <tr><td><pre>i3 : ring x o3 = RR 53 o3 : RealField</pre> </td></tr> <tr><td><pre>i4 : x = 1/3.p200 o4 = .333333333333333333333333333333333333333333333333333333333333 o4 : RR (of precision 200)</pre> </td></tr> <tr><td><pre>i5 : class x o5 = RR o5 : InexactFieldFamily</pre> </td></tr> <tr><td><pre>i6 : ring x o6 = RR 200 o6 : RealField</pre> </td></tr> </table> </div> </div> <div class="single"><h2>See also</h2> <ul><li><span><a href="___Inexact__Field.html" title="the class of inexact fields">InexactField</a> -- the class of inexact fields</span></li> </ul> </div> <div class="waystouse"><h2>Methods that use an inexact field family :</h2> <ul><li><span>InexactFieldFamily ^ ZZ, see <span><a href="_^.html" title="a binary operator, usually used for powers">^</a> -- a binary operator, usually used for powers</span></span></li> <li><span>default(InexactFieldFamily), see <span><a href="_default.html" title="default member of a family">default</a> -- default member of a family</span></span></li> <li><span>InexactFieldFamily Array, see <span><a href="___Ring_sp__Array.html" title="the standard way to make a polynomial ring">Ring Array</a> -- the standard way to make a polynomial ring</span></span></li> </ul> <h2>Fixed objects of class InexactFieldFamily :</h2> <ul><li><span><a href="___C__C.html" title="the class of all complex numbers">CC</a> -- the class of all complex numbers</span></li> <li><span><a href="___R__R.html" title="the class of all real numbers">RR</a> -- the class of all real numbers</span></li> </ul> </div> <div class="waystouse"><h2>For the programmer</h2> <p>The object <a href="___Inexact__Field__Family.html" title="the class of all families of inexact fields">InexactFieldFamily</a> is <span>a <a href="___Type.html">type</a></span>, with ancestor classes <a href="___Ring__Family.html" title="">RingFamily</a> < <a href="___Type.html" title="the class of all types">Type</a> < <a href="___Mutable__Hash__Table.html" title="the class of all mutable hash tables">MutableHashTable</a> < <a href="___Hash__Table.html" title="the class of all hash tables">HashTable</a> < <a href="___Thing.html" title="the class of all things">Thing</a>.</p> </div> </div> </body> </html>