Sophie

Sophie

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

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>methods -- list methods</title>
<link rel="stylesheet" type="text/css" href="../../../../Macaulay2/Style/doc.css"/>
</head>
<body>
<table class="buttons">
  <tr>
    <td><div><a href="_methods_spfor_spnormal_spforms_spand_spremainder.html">next</a> | <a href="_method__Options_lp__Function_rp.html">previous</a> | <a href="_methods_spfor_spnormal_spforms_spand_spremainder.html">forward</a> | <a href="_method__Options_lp__Function_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>methods -- list methods</h1>
<div class="single"><h2>Description</h2>
<div><div><h2>Synopsis</h2>
<ul><li><div class="list"><dl class="element"><dt class="heading">Usage: </dt><dd class="value"><div><tt>methods x</tt></div>
</dd></dl>
</div>
</li>
<li>Inputs:<ul><li><span><tt>x</tt>, <span>a <a href="___Function.html">function</a></span>, <span>a <a href="___Type.html">type</a></span>, or <span>a <a href="___Keyword.html">keyword</a></span></span></li>
</ul>
</li>
<li>Outputs:<ul><li><span><span>a <a href="___Vertical__List.html">vertical list</a></span> of those methods associated with <tt>x</tt></span></li>
</ul>
</li>
</ul>
<table class="examples"><tr><td><pre>i1 : methods BettiTally

o1 = {(**, BettiTally, BettiTally)       }
     {(*, QQ, BettiTally)                }
     {(*, ZZ, BettiTally)                }
     {(++, BettiTally, BettiTally)       }
     {(==, BettiTally, BettiTally)       }
     {(betti, BettiTally)                }
     {(codim, BettiTally)                }
     {(degree, BettiTally)               }
     {(dual, BettiTally)                 }
     {(hilbertPolynomial, ZZ, BettiTally)}
     {(hilbertSeries, ZZ, BettiTally)    }
     {(lift, BettiTally, ZZ)             }
     {(mathML, BettiTally)               }
     {(net, BettiTally)                  }
     {(pdim, BettiTally)                 }
     {(poincare, BettiTally)             }
     {(regularity, BettiTally)           }
     {(SPACE, BettiTally, Array)         }
     {(SPACE, BettiTally, ZZ)            }
     {(tex, BettiTally)                  }
     {(texMath, BettiTally)              }

o1 : VerticalList</pre>
</td></tr>
<tr><td><pre>i2 : methods resolution

o2 = {(resolution, Ideal)        }
     {(resolution, Matrix)       }
     {(resolution, Module)       }
     {(resolution, MonomialIdeal)}

o2 : VerticalList</pre>
</td></tr>
<tr><td><pre>i3 : methods symbol @@

o3 = {((@@, =), Thing, Thing) }
     {((@@, =), Type, Type)   }
     {(@@, Function, Function)}
     {(@@, Thing, Thing)      }

o3 : VerticalList</pre>
</td></tr>
</table>
</div>
<div><h2>Synopsis</h2>
<ul><li><div class="list"><dl class="element"><dt class="heading">Usage: </dt><dd class="value"><div><tt>methods(s,X)</tt></div>
</dd></dl>
</div>
</li>
<li>Inputs:<ul><li><span><tt>s</tt>, <span>a <a href="___Symbol.html">symbol</a></span></span></li>
<li><span><tt>X</tt>, <span>a <a href="___Type.html">type</a></span></span></li>
</ul>
</li>
<li>Outputs:<ul><li><span><span>a <a href="___Vertical__List.html">vertical list</a></span> of those methods associated with the operator <tt>s</tt> and the type <tt>X</tt></span></li>
</ul>
</li>
</ul>
<table class="examples"><tr><td><pre>i4 : methods( symbol ++, Module)

o4 = {(++, GradedModule, Module)}
     {(++, Module, GradedModule)}
     {(++, Module, Module)      }

o4 : VerticalList</pre>
</td></tr>
</table>
</div>
<div><h2>Synopsis</h2>
<ul><li><div class="list"><dl class="element"><dt class="heading">Usage: </dt><dd class="value"><div><tt>methods(X,Y)</tt></div>
</dd></dl>
</div>
</li>
<li>Inputs:<ul><li><span><tt>X</tt>, <span>a <a href="___Type.html">type</a></span></span></li>
<li><span><tt>Y</tt>, <span>a <a href="___Type.html">type</a></span></span></li>
</ul>
</li>
<li>Outputs:<ul><li><span><span>a <a href="___Vertical__List.html">vertical list</a></span> of those methods associated with </span></li>
</ul>
</li>
</ul>
<table class="examples"><tr><td><pre>i5 : methods( Matrix, Matrix )

o5 = {(%, Matrix, Matrix)                  }
     {(**, Matrix, Matrix)                 }
     {(*, Matrix, Matrix)                  }
     {(++, Matrix, Matrix)                 }
     {(+, Matrix, Matrix)                  }
     {(-, Matrix, Matrix)                  }
     {(//, Matrix, Matrix)                 }
     {(==, Matrix, Matrix)                 }
     {(|, Matrix, Matrix)                  }
     {(||, Matrix, Matrix)                 }
     {(contract', Matrix, Matrix)          }
     {(contract, Matrix, Matrix)           }
     {(diff', Matrix, Matrix)              }
     {(diff, Matrix, Matrix)               }
     {(homology, Matrix, Matrix)           }
     {(markedGB, Matrix, Matrix)           }
     {(modulo, Matrix, Matrix)             }
     {(quotient', Matrix, Matrix)          }
     {(quotient, Matrix, Matrix)           }
     {(quotientRemainder', Matrix, Matrix) }
     {(quotientRemainder, Matrix, Matrix)  }
     {(remainder', Matrix, Matrix)         }
     {(remainder, Matrix, Matrix)          }
     {(solve, Matrix, Matrix)              }
     {(subquotient, Matrix, Matrix)        }
     {(subquotient, Module, Matrix, Matrix)}
     {(substitute, Matrix, Matrix)         }

o5 : VerticalList</pre>
</td></tr>
</table>
</div>
This function operates by examining those types that are values of global symbols for keys that appear to be storing references to methods.  Types that don't appear as values of global variables will not be examined, so perhaps not all methods will be found.</div>
</div>
<div class="waystouse"><h2>Ways to use <tt>methods</tt> :</h2>
<ul><li>methods(Command)</li>
<li>methods(Sequence)</li>
<li>methods(Thing)</li>
<li>methods(Type)</li>
</ul>
</div>
</div>
</body>
</html>