Sophie

Sophie

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

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>Sequence -- the class of all sequences -- (...)</title>
<link rel="stylesheet" type="text/css" href="../../../../Macaulay2/Style/doc.css"/>
</head>
<body>
<table class="buttons">
  <tr>
    <td><div><a href="___Array.html">next</a> | <a href="___List.html">previous</a> | <a href="___Array.html">forward</a> | <a href="___List.html">backward</a> | <a href="___Visible__List.html">up</a> | <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>
<div><a href="index.html" title="">Macaulay2Doc</a> > <a href="___The_sp__Macaulay2_splanguage.html" title="">The Macaulay2 language</a> > <a href="_lists_spand_spsequences.html" title="">lists and sequences</a> > <a href="___Visible__List.html" title="the class of all visible lists">VisibleList</a> > <a href="___Sequence.html" title="the class of all sequences -- (...)">Sequence</a></div>
<hr/>
<div><h1>Sequence -- the class of all sequences -- (...)</h1>
<div class="single"><h2>Description</h2>
<div><p>For an overview of lists and sequences, see <a href="_lists_spand_spsequences.html" title="">lists and sequences</a>.</p>
A sequence is an ordered collection of things enclosed by parentheses and separated by commas.  Use <a href="__sh.html" title="length, or access to elements">#</a> to get the length of a sequence of to get one of the elements.<table class="examples"><tr><td><pre>i1 : v = (a,b,c)

o1 = (a, b, c)

o1 : Sequence</pre>
</td></tr>
<tr><td><pre>i2 : #v

o2 = 3</pre>
</td></tr>
<tr><td><pre>i3 : v#2

o3 = c

o3 : Symbol</pre>
</td></tr>
</table>
</div>
</div>
<div class="single"><h2>See also</h2>
<ul><li><span><a href="_lists_spand_spsequences.html" title="">lists and sequences</a></span></li>
</ul>
</div>
<div class="waystouse"><h2>Functions and methods returning a sequence :</h2>
<ul><li><span><a href="___Indexed__Variable_sp.._sp__Indexed__Variable.html" title="sequences of consecutive indexed variables">IndexedVariable .. IndexedVariable</a> -- sequences of consecutive indexed variables</span></li>
<li><span><a href="___Indexed__Variable_sp.._lt_sp__Indexed__Variable.html" title="sequences of consecutive indexed variables">IndexedVariable ..&lt; IndexedVariable</a> -- sequences of consecutive indexed variables</span></li>
<li><span><a href="___List_sp.._sp__List.html" title="rectangular sequences of consecutive lists and sequences">List .. List</a> -- rectangular sequences of consecutive lists and sequences</span></li>
<li><span>Sequence .. Sequence, see <span><a href="___List_sp.._sp__List.html" title="rectangular sequences of consecutive lists and sequences">List .. List</a> -- rectangular sequences of consecutive lists and sequences</span></span></li>
<li><span><a href="___List_sp.._lt_sp__List.html" title="rectangular sequences of consecutive lists and sequences">List ..&lt; List</a> -- rectangular sequences of consecutive lists and sequences</span></li>
<li><span>Sequence ..&lt; Sequence, see <span><a href="___List_sp.._lt_sp__List.html" title="rectangular sequences of consecutive lists and sequences">List ..&lt; List</a> -- rectangular sequences of consecutive lists and sequences</span></span></li>
<li><span>Sequence | Sequence, see <span><a href="___List_sp_vb_sp__List.html" title="join lists, sequences or arrays">List | List</a> -- join lists, sequences or arrays</span></span></li>
<li><span>locate(Function), see <span><a href="_locate.html" title="locate source code">locate</a> -- locate source code</span></span></li>
<li><span>locate(Nothing), see <span><a href="_locate.html" title="locate source code">locate</a> -- locate source code</span></span></li>
<li><span>locate(Pseudocode), see <span><a href="_locate.html" title="locate source code">locate</a> -- locate source code</span></span></li>
<li><span>locate(Sequence), see <span><a href="_locate.html" title="locate source code">locate</a> -- locate source code</span></span></li>
<li><span>locate(Symbol), see <span><a href="_locate.html" title="locate source code">locate</a> -- locate source code</span></span></li>
<li><span><a href="___String_sp.._sp__String.html" title="a sequence of consecutive strings">String .. String</a> -- a sequence of consecutive strings</span></li>
<li><span><a href="___String_sp.._lt_sp__String.html" title="a sequence of consecutive strings, not including the endpoint">String ..&lt; String</a> -- a sequence of consecutive strings, not including the endpoint</span></li>
<li><span>toSequence(BasicList), see <span><a href="_to__Sequence.html" title="convert to sequence">toSequence</a> -- convert to sequence</span></span></li>
<li><span><a href="___Z__Z_sp.._sp__Z__Z.html" title="sequences of consecutive integers">ZZ .. ZZ</a> -- sequences of consecutive integers</span></li>
<li><span><a href="___Z__Z_sp.._lt_sp__Z__Z.html" title="sequences of consecutive integers">ZZ ..&lt; ZZ</a> -- sequences of consecutive integers</span></li>
</ul>
<h2>Methods that use a sequence :</h2>
<ul><li><span>Sequence &lt;- Thing, see <span><a href="__lt-.html" title="assignment with left side evaluated">&lt;-</a> -- assignment with left side evaluated</span></span></li>
<li><span>Sequence == Sequence, see <span><a href="__eq_eq.html" title="equality">==</a> -- equality</span></span></li>
<li><span>chainComplex(Sequence), see <span><a href="_chain__Complex_lp__List_rp.html" title="make a chain complex">chainComplex(List)</a> -- make a chain complex</span></span></li>
<li><span>directSum(Sequence), see <span><a href="_direct__Sum.html" title="direct sum of modules or maps">directSum</a> -- direct sum of modules or maps</span></span></li>
<li><span>frames(Sequence), see <span><a href="_frames.html" title="get the frames associated to a closure">frames</a> -- get the frames associated to a closure</span></span></li>
<li><span>gcd(Sequence), see <span><a href="_gcd.html" title="greatest common divisor">gcd</a> -- greatest common divisor</span></span></li>
<li><span>gradedModule(Sequence), see <span><a href="_graded__Module.html" title="make a graded module">gradedModule</a> -- make a graded module</span></span></li>
<li><span>gradedModuleMap(Sequence), see <span><a href="_graded__Module__Map.html" title="make a map of graded modules">gradedModuleMap</a> -- make a map of graded modules</span></span></li>
<li><span>HeaderType Sequence, see <span><a href="___Header__Type.html" title="a class of lists with abbreviated constructors">HeaderType</a> -- a class of lists with abbreviated constructors</span></span></li>
<li><span>help(Sequence), see <span><a href="_help.html" title="help command">help</a> -- help command</span></span></li>
<li><span>hh(Sequence,ProjectiveVariety), see <span><a href="_hh.html" title="Hodge numbers of a smooth projective variety">hh</a> -- Hodge numbers of a smooth projective variety</span></span></li>
<li><span><a href="___H__H_us__Z__Z_sp__Sequence.html" title="">HH_ZZ Sequence</a></span></li>
<li><span>hypertext(Sequence), see <span><a href="_hypertext.html" title="prepare hypertext for display">hypertext</a> -- prepare hypertext for display</span></span></li>
<li><span>ideal(Sequence), see <span><a href="_ideal_lp__List_rp.html" title="make an ideal">ideal(List)</a> -- make an ideal</span></span></li>
<li><span>intersect(Sequence), see <span><a href="_intersect.html" title="compute an intersection">intersect</a> -- compute an intersection</span></span></li>
<li><span>lcm(Sequence), see <span><a href="_lcm.html" title="least common multiple">lcm</a> -- least common multiple</span></span></li>
<li><span>makePackageIndex(Sequence), see <span><a href="_make__Package__Index.html" title="">makePackageIndex</a></span></span></li>
<li><span><a href="___Matrix_sp_us_sp__Sequence.html" title="get entry of matrix">Matrix _ Sequence</a> -- get entry of matrix</span></li>
<li><span>MutableMatrix _ Sequence, see <span><a href="___Matrix_sp_us_sp__Sequence.html" title="get entry of matrix">Matrix _ Sequence</a> -- get entry of matrix</span></span></li>
<li><span>methods(Sequence), see <span><a href="_methods.html" title="list methods">methods</a> -- list methods</span></span></li>
<li><span>Module / Sequence, see <span><a href="___Module_sp_sl_sp__Module.html" title="quotient module">Module / Module</a> -- quotient module</span></span></li>
<li><span>monomialIdeal(Sequence), see <span><a href="_monomial__Ideal_lp__Matrix_rp.html" title="monomial ideal of lead monomials">monomialIdeal(Matrix)</a> -- monomial ideal of lead monomials</span></span></li>
<li><span><a href="___Mutable__Matrix_sp_us_sp__Sequence_sp_eq_sp__Thing.html" title="assignment to an element of a mutable matrix">MutableMatrix _ Sequence = Thing</a> -- assignment to an element of a mutable matrix</span></li>
<li><span>options(Sequence), see <span><a href="_options_lp__Function_rp.html" title="get optional arguments and default values for a function that accepts them">options(Function)</a> -- get optional arguments and default values for a function that accepts them</span></span></li>
<li><span>package(Sequence), see <span><a href="_package.html" title="get containing package">package</a> -- get containing package</span></span></li>
<li><span><a href="_read_lp__Sequence_rp.html" title="read from a file">read(Sequence)</a> -- read from a file</span></li>
<li><span>Ring / Sequence, see <span><a href="___Ring_sp_sl_sp__Ideal.html" title="make a quotient ring">Ring / Ideal</a> -- make a quotient ring</span></span></li>
<li><span><a href="___String_sp^_sp__Sequence.html" title="vertically stacked copies of a string">String ^ Sequence</a> -- vertically stacked copies of a string</span></li>
<li><span><a href="___String_sp_us_sp__Sequence.html" title="substring">String _ Sequence</a> -- substring</span></li>
<li><span>subsets(Sequence,ZZ), see <span><a href="_subsets_lp__List_cm__Z__Z_rp.html" title="produce all the subsets">subsets(List,ZZ)</a> -- produce all the subsets</span></span></li>
<li><span>substring(Sequence,String), see <span><a href="_substring.html" title="extract part of a string">substring</a> -- extract part of a string</span></span></li>
<li><span>unique(Sequence), see <span><a href="_unique.html" title="eliminate duplicates from a list">unique</a> -- eliminate duplicates from a list</span></span></li>
<li><span>vars(Sequence), see <span><a href="_vars_lp__List_rp.html" title="a sequence of variables">vars(List)</a> -- a sequence of variables</span></span></li>
<li><span>WrapperType Sequence, see <span><a href="___Wrapper__Type.html" title="a class of lists with abbreviated constructors">WrapperType</a> -- a class of lists with abbreviated constructors</span></span></li>
</ul>
</div>
<div class="waystouse"><h2>For the programmer</h2>
<p>The object <a href="___Sequence.html" title="the class of all sequences -- (...)">Sequence</a> is <span>a <a href="___Type.html">type</a></span>, with ancestor classes <a href="___Visible__List.html" title="the class of all visible lists">VisibleList</a> &lt; <a href="___Basic__List.html" title="the class of all basic lists">BasicList</a> &lt; <a href="___Thing.html" title="the class of all things">Thing</a>.</p>
</div>
</div>
</body>
</html>