<?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>InexactField -- the class 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__Field__Family.html">next</a> | <a href="_induces__Well__Defined__Map.html">previous</a> | <a href="___Inexact__Field__Family.html">forward</a> | <a href="_induces__Well__Defined__Map.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>InexactField -- the class of inexact fields</h1> <div class="single"><h2>Description</h2> <div><p>An inexact field is one whose elements are real or complex numbers, represented floating point approximations of varying accuracy or precision.</p> <table class="examples"><tr><td><pre>i1 : numeric_100 pi o1 = 3.14159265358979323846264338328 o1 : RR (of precision 100)</pre> </td></tr> <tr><td><pre>i2 : ring oo o2 = RR 100 o2 : RealField</pre> </td></tr> <tr><td><pre>i3 : class oo o3 = RealField o3 : Type</pre> </td></tr> <tr><td><pre>i4 : parent oo o4 = InexactField o4 : Type</pre> </td></tr> </table> </div> </div> <div class="waystouse"><h2>Types of inexact field :</h2> <ul><li><span><a href="___Complex__Field.html" title="the class of all complex fields">ComplexField</a> -- the class of all complex fields</span></li> <li><span><a href="___Real__Field.html" title="the class of all real fields">RealField</a> -- the class of all real fields</span></li> </ul> <h2>Methods that use an inexact field :</h2> <ul><li><span>char(InexactField), see <span><a href="_char.html" title="computes the characteristic of the ring or field">char</a> -- computes the characteristic of the ring or field</span></span></li> <li><span>dim(InexactField), see <span><a href="_dim_lp__Ring_rp.html" title="compute the Krull dimension">dim(Ring)</a> -- compute the Krull dimension</span></span></li> <li><span>norm(InexactField,MutableMatrix), see <span><a href="_norm.html" title="">norm</a></span></span></li> <li><span>precision(InexactField), see <span><a href="_precision.html" title="">precision</a></span></span></li> </ul> </div> <div class="waystouse"><h2>For the programmer</h2> <p>The object <a href="___Inexact__Field.html" title="the class of inexact fields">InexactField</a> is <span>a <a href="___Type.html">type</a></span>, with ancestor classes <a href="___Engine__Ring.html" title="the class of rings handled by the engine">EngineRing</a> < <a href="___Ring.html" title="the class of all rings">Ring</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>