<?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>peek'(ZZ,Thing) -- examine contents of an object</title> <link rel="stylesheet" type="text/css" href="../../../../Macaulay2/Style/doc.css"/> </head> <body> <table class="buttons"> <tr> <td><div><a href="_permanents.html">next</a> | <a href="_peek.html">previous</a> | <a href="_permanents.html">forward</a> | <a href="_peek.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>peek'(ZZ,Thing) -- examine contents of an object</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>peek'(n,s)</tt></div> </dd></dl> </div> </li> <li><span>Function: <a href="_peek_sq_lp__Z__Z_cm__Thing_rp.html" title="examine contents of an object">peek'</a></span></li> <li><div class="single">Inputs:<ul><li><span><tt>n</tt>, <span>an <a href="___Z__Z.html">integer</a></span></span></li> <li><span><tt>s</tt>, <span>a <a href="___Thing.html">thing</a></span></span></li> </ul> </div> </li> <li><div class="single">Outputs:<ul><li><span><span>a <a href="___Net.html">net</a></span>, a net that displays the contents of <tt>s</tt>, bypassing installed formatting and printing methods to depth <tt>n</tt></span></li> </ul> </div> </li> </ul> </div> <div class="single"><h2>Description</h2> <div><table class="examples"><tr><td><pre>i1 : s = factor 112 4 o1 = 2 7 o1 : Expression of class Product</pre> </td></tr> <tr><td><pre>i2 : peek s 4 o2 = Product{2 , 7}</pre> </td></tr> <tr><td><pre>i3 : peek'_2 s o3 = Product{Power{2, 4}, Power{7, 1}}</pre> </td></tr> </table> <p>Some types of things have the notion of depth modified slightly to make the entire structure visible at depth 1, as in the following example, which also shows how to use <a href="_wrap.html" title="">wrap</a> with the output from <a href="_peek.html" title="examine contents of an object">peek</a>.</p> <table class="examples"><tr><td><pre>i4 : wrap_70 peek help resolution --loading the Macaulay2 documentation from /builddir/build/BUILD/Macaulay2-1.3.1-r10737/Macaulay2/packages/Macaulay2Doc/ o4 = DIV{HEADER1{"resolution", " -- ", "projective resolution"}, DIV1{HEADER2{"Synopsis"}, UL{LI{DIV1{TO2{Macaulay2Doc :: using functions with optional inputs, "Optional inputs"}, ":", UL{LI{SPAN{TO2{Macaulay2Doc :: resolution(..., DegreeLimit => ...), "DegreeLimit => ..."}, ", ", LATER{{*Function[/builddir/build/BUILD/Macaulay2-1.3.1-r10737/ Macaulay2/m2/document.m2:925:31-925:59]*}}}}, LI{SPAN{TO2{Macaulay2Doc :: resolution(..., HardDegreeLimit => ...), "HardDegreeLimit => ..."}, ", ", LATER{{*Function[/builddir/build/BUILD/Macaulay2-1.3.1-r10737/ Macaulay2/m2/document.m2:925:31-925:59]*}}}}, LI{SPAN{TO2{Macaulay2Doc :: resolution(..., LengthLimit => ...), "LengthLimit => ..."}, ", ", LATER{{*Function[/builddir/build/BUILD/Macaulay2-1.3.1-r10737/ Macaulay2/m2/document.m2:925:31-925:59]*}}}}, LI{SPAN{TO2{Macaulay2Doc :: resolution(..., PairLimit => ...), "PairLimit => ..."}, ", ", LATER{{*Function[/builddir/build/BUILD/Macaulay2-1.3.1-r10737/ Macaulay2/m2/document.m2:925:31-925:59]*}}}}, LI{SPAN{TO2{Macaulay2Doc :: resolution(..., SortStrategy => ...), "SortStrategy => ..."}, ", ", LATER{{*Function[/builddir/build/BUILD/Macaulay2-1.3.1-r10737/ Macaulay2/m2/document.m2:925:31-925:59]*}}}}, LI{SPAN{TO2{Macaulay2Doc :: resolution(..., StopBeforeComputation => ...), "StopBeforeComputation => ..."}, ", ", LATER{{*Function[/builddir/build/BUILD/Macaulay2-1.3.1-r10737/ Macaulay2/m2/document.m2:925:31-925:59]*}}}}, LI{SPAN{TO2{Macaulay2Doc :: resolution(..., Strategy => ...), "Strategy => ..."}, ", ", LATER{{*Function[/builddir/build/BUILD/Macaulay2-1.3.1-r10737/ Macaulay2/m2/document.m2:925:31-925:59]*}}}}, LI{SPAN{TO2{Macaulay2Doc :: resolution(..., SyzygyLimit => ...), "SyzygyLimit => ..."}, ", ", LATER{{*Function[/builddir/build/BUILD/Macaulay2-1.3.1-r10737/ Macaulay2/m2/document.m2:925:31-925:59]*}}}}}}}}}, DIV{COMMENT{"empty documentation body"}}, DIV{class => waystouse, HEADER2{"Ways to use ", TT{"resolution"}, " :"}, UL{LI{TOH{Macaulay2Doc :: resolution(Ideal)}}, LI{SPAN{"resolution(MonomialIdeal)", ", see ", TOH{Macaulay2Doc :: resolution(Ideal)}}}, LI{TOH{Macaulay2Doc :: resolution(Matrix)}}, LI{TOH{Macaulay2Doc :: resolution(Module)}}}}}</pre> </td></tr> </table> </div> </div> <div class="single"><h2>See also</h2> <ul><li><span><a href="_peek.html" title="examine contents of an object">peek</a> -- examine contents of an object</span></li> </ul> </div> </div> </body> </html>