<?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>regularSequenceCheck -- how much of a list is regular</title> <link rel="stylesheet" type="text/css" href="../../../../Macaulay2/Style/doc.css"/> </head> <body> <table class="buttons"> <tr> <td><div>next | <a href="_regular__Sequence.html">previous</a> | forward | <a href="_regular__Sequence.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>regularSequenceCheck -- how much of a list is regular</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>regularSequenceCheck(X,A)</tt></div> </dd></dl> </div> </li> <li><div class="single">Inputs:<ul><li><span><tt>X</tt>, a <a href="../../Macaulay2Doc/html/___List.html" title="the class of all lists -- {...}">List</a> or <a href="../../Macaulay2Doc/html/___Matrix.html" title="the class of all matrices">Matrix</a></span></li> <li><span><tt>A</tt>, a <a href="../../Macaulay2Doc/html/___Ring.html" title="the class of all rings">Ring</a> or <a href="../../Macaulay2Doc/html/___Module.html" title="the class of all modules">Module</a></span></li> </ul> </div> </li> <li><div class="single">Outputs:<ul><li><span><span>an <a href="../../Macaulay2Doc/html/___Z__Z.html">integer</a></span></span></li> </ul> </div> </li> </ul> </div> <div class="single"><h2>Description</h2> <div>Given a list <tt>X</tt>, the function <tt>regularSequenceCheck</tt> gives an integer indicating how many initial elements of a <tt>List</tt> form a regular sequence.<table class="examples"><tr><td><pre>i1 : A = ZZ[x_1..x_4]/(x_4^2) o1 = A o1 : QuotientRing</pre> </td></tr> <tr><td><pre>i2 : regularSequenceCheck({x_1..x_4},A) o2 = 3</pre> </td></tr> </table> <p>This symbol is provided by the package <a href="index.html" title="computations involving regular sequences">Depth</a>.</p> </div> </div> <div class="single"><h2>Caveat</h2> <div><tt>regularSequenceCheck</tt> merely checks the injectivity of the maps in question. It does not check to see if <tt>XA = A</tt>.</div> </div> <div class="waystouse"><h2>Ways to use <tt>regularSequenceCheck</tt> :</h2> <ul><li>regularSequenceCheck(List,Module)</li> <li>regularSequenceCheck(List,Ring)</li> <li>regularSequenceCheck(Matrix,Module)</li> <li>regularSequenceCheck(Matrix,Ring)</li> </ul> </div> </div> </body> </html>