<?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>dim(ProjectiveVariety) -- dimension of the projective variety</title> <link rel="stylesheet" type="text/css" href="../../../../Macaulay2/Style/doc.css"/> </head> <body> <table class="buttons"> <tr> <td><div><a href="_dim_lp__Ring_rp.html">next</a> | <a href="_dim_lp__Projective__Hilbert__Polynomial_rp.html">previous</a> | <a href="_dim_lp__Ring_rp.html">forward</a> | <a href="_dim_lp__Projective__Hilbert__Polynomial_rp.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>dim(ProjectiveVariety) -- dimension of the projective variety</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>dim V</tt></div> </dd></dl> </div> </li> <li><span>Function: <a href="_dim.html" title="compute the Krull dimension">dim</a></span></li> <li><div class="single">Inputs:<ul><li><span><tt>V</tt>, <span>a <a href="___Projective__Variety.html">projective variety</a></span></span></li> </ul> </div> </li> <li><div class="single">Outputs:<ul><li><span><span>an <a href="___Z__Z.html">integer</a></span></span></li> </ul> </div> </li> </ul> </div> <div class="single"><h2>Description</h2> <div>Computes the dimension of the projective algebraic set from the Krull dimension of its homogeneous coordinate ring.<table class="examples"><tr><td><pre>i1 : R = ZZ/101[x_0..x_4];</pre> </td></tr> <tr><td><pre>i2 : M = matrix{{x_0,x_1,x_2,x_3},{x_1,x_2,x_3,x_4}} o2 = | x_0 x_1 x_2 x_3 | | x_1 x_2 x_3 x_4 | 2 4 o2 : Matrix R <--- R</pre> </td></tr> <tr><td><pre>i3 : V = Proj(R/minors(2,M));</pre> </td></tr> <tr><td><pre>i4 : degree V o4 = 4</pre> </td></tr> <tr><td><pre>i5 : dim V o5 = 1</pre> </td></tr> <tr><td><pre>i6 : dim minors(2,M) o6 = 2</pre> </td></tr> </table> </div> </div> <div class="single"><h2>See also</h2> <ul><li><span><a href="___Proj_lp__Ring_rp.html" title="make a projective variety">Proj</a> -- make a projective variety</span></li> <li><span><a href="_dim_lp__Affine__Variety_rp.html" title="dimension of the affine variety">dim(AffineVariety)</a> -- dimension of the affine variety</span></li> </ul> </div> </div> </body> </html>